I'm trying to activate the interrupts on ports RB0, RB1 and RB2, but I was only able to activate ports RB0 and RB2, interrupt RB1 is not working, which is the interrupt that activates the "heater", could someone help me? Follow my code below: #define _XTAL_FREQ 8000000<br />#include "configbits.h"<b..
I wrote a program to wake up from sleep with UART, but I can't read the data correctly.The device used is PIC16F15313.
The code is---------------------------------------------------------------------while (1)
// Add your application code
BAUD1CONbits.WUE = 1; //Wake-up Enable
Hi Guys, I've just noticed in the PIC32MZEFH Manual that the IO Ports bus speed runs from PBCLK4 which maximum speed is 200Mhz. It also states that the Peripheral bus can use PBCLK7 which max speed is 252Mhz. With the project I'm working on the extra 52Mhz would be sensational.How do I assign the Pe..
I previously was using an RN2903 Module on custom hardware with MPLAB X as my IDE and toolchain, with Harmony 3.Quirky, but worked really well to set up FreeRTOS and all the peripherals.I'm about 80% done w/ the project. Then I learned that the WLR089U0 is probably the way to go, instead of the RN29..
Hi. I want to interface PIC18F4550/2550 based circuit with some windows 10 serial software like maybe, hyperterminal or realterm using it's USB connection. Any idea and links on how to begin with. I have to use XC8 compiler.
Second option is to use USB to serial converter again it should be compa..
Hi I hope someone can help with my query. I'm trying to find the original cost of a PIC16C84 back in 1993 when they were first introduced. It was marketed as low cost but I was hoping to get an idea of what low cost meant. Any help would be appreciated...
Hi guys, I have a pickit 3 and I work with PIC 8-bit MCU's like PIC16F877A,PIC18F4520,PIC18F45K80 and also some lower range IC's like PIC16F676 etc....IDE : MPLABXCompiler: XC8 I read that PICKIT 3 can be used for debugging purpose, but how am I suppose to do it? I cannot find any documentation to h..
Are there any code examples or tutorials for an LED setup where you can change between modes via external button presses and also program the flash speed?For example;hold button A and tap button B to enter programming, while in programming, each press of button A would slow the led flash speed. Each..
How to read current ( Sin ) Cycle by Cycle with MCU (PIC18F4520) ADC of variable Inductive load ?
Voltage lead/lag from Current. --
I have a PIC32 application running on custom PIC32MX695F512L based hardware using the CDC protocol as a device that is not being recognized by an Android host running either by a custom app or an USB terminal app, I have tried two different Android devices, a tablet running Android 8.1 and a phone r..
please if I got a 10 000 crystal oscillator how do I set my pic18f4550 configurations...
Is this the only way to do it?...Assuming TMR0 increments on T0CKI: With another pin connected to T0CKI, change the pin to output, and toggle the pin until TMR0 increments. Count how many toggles (N) it took. Prescale value is 256-N. I'm using 16F1829...
Good day guys,Im working on a stop watch code on the UBW32 (pic32mx795 breakout board). I had gotten the code to work successfully with a little guidance from some of the members on here.The stop watch code works fine except for one thing, the last message thats suppose to say "XX.XXs elapsed" wont ..
I think excess voltage on an analog input is causing my pic32mx130F to reset but I don't this behaviour documented anywhere. This has come about bc I'm testing an H-bridge motor driver which will eventually be 12V battery powered. I was testing using a bench PS set at 12V in case a software bug coul..
Hello,Am working on project, and I have to do FFT of an signal coming from sensor.please I have this questions:1/ Which Dspic do I chose for doing this at 8Mhz2/Which library do I need to do it? can I use Matlab ? 3/other thing that you want to suggest.? Thank You..
Hi I find parametric search on Microchip or Microchip Direct a bad joke, really. I need :-MCU that has less or around of 500nA in full sleep mode at power supply in range of 2.0-3.6V, that holds RAM content, not that deep sleep marketing bla, bla that is almost useless-using a 32768Hz quartz with on..
Hello, everyone!I want to read an analog voltage, but it needs to do be done only when a PWM signal is low. The chip is a PIC16F1824.The only way I image it would be possible is to connect a spare input to the PWM pin, and use a interrupt on change to trigger the ADC everytime signal goes from high ..