Debug VS Production mode - different behaviour (Maldus)
Hello everyone,I'm working on a project using a PIC24FJ256GA704. The device I'm programming has a couple of GPIO and, most importantly, an SPI-controlled display. I have a simple graphic library to...
View ArticleI2C Master on PIC24FJ64 Series (jliu83)
Hi all, seems like a lot of people have problems with the I2C module on the PIC24FJ64 series of chips. The COLLISION BIT seems to go high when ever a start condition is asserted. I just got off the...
View ArticleInput Capture and Output Compare clocking from wrong source (Whozaa)
I am trying to use the Input Capture module in a pic24f16ka304 to measure the frequency of a series of pulses. I am also trying to use the Output Compare modules as "extra" timers. I plan to ignore the...
View ArticleFlash Write Fails after Clock Switch (SinCitiesSin)
I have a truly odd issue. I have the function system_initialize() which sets up my system clock to use an external oscillator.// CPDIV 1:1; RCDIV FRC/1; DOZE 1:8; DOZEN disabled; ROI disabled; CLKDIV =...
View ArticlePIC24H change notification interrupt not working (gwa_SanDiego)
part number is PIC24HJ128GP502 plugged into the MicrostickII I've done as much RTFM as I think I need from the I/O Ports App Notes. Even though the App Note tells you to read the pin, the code examples...
View ArticlePIC24 - Bootloader AN1157 Issue (User program not executing on Reset)...
Dear All,I am trying to develope bootloader for PIC24FJ256GB110 microcontoller. I am using AN1157 app note and code for prototyping.I am able to load bootloader code in device successfully.Then after i...
View ArticlePIC24FJ256GA406 RTCC battery backup not working (maarten a)
Dear, I'm trying to use the RTCC with an external battery, unfortunately the RTCC resets when the power is removed. I measured the backup battery on the VBAT pin, it holds a strong 3.1V. I use an...
View ArticleFatfs on dspic33 causing stack/address error trap (Reykor)
I've ported FatFs' pic24 example to use with dspic33ep256mu806.I'm trying to implement a data logger, that writes CAN bus messages to an SD card. I can open and write files, but I'm getting either...
View ArticleCLKI and RA2 conflict??? (David Cowan)
Hi, Just a quick one.I'm using the PIC24FJ256 in the 28 pin SO package.The datasheet shows pin 9 has functions CLKI, OSCI, C1IND and RA2. I had therefore assumed that I could use the pin as a GPOI pin...
View ArticlePIC24 Interrupt Vectors (SinCitiesSin)
Hello All, I keep reading that the Reset, IVT and AIVT are not remappable. Yet when I look at linker scripts for Microchips bootloaders I see that they are remapping the IVT and AIVT. Is this possible...
View ArticlePIC24FJ128GB204 Family MLA FileIO (Flying Al)
The out of the box fileio demo project in the MLA library does not work with the PIC24FJ128GB204 family (and I guess the 24f GA2 family). It seems that the latest MLA library SPI drivers do not support...
View ArticleWhich PIC24 device for USB experimentation? (Magneto)
Hello everyone, I'm new to USB, and starting a long-term PIC project that involves designing both USB hosts and USB devices. I have plenty of time and budget to get deep into the weeds. Since there are...
View ArticleUSB SD MSD device with FSIO properties could be possible? (daniel1234)
Hi,i'm interfacing a SD to USB with 'Device - Mass Storage - SD Card reader' example from MLA. PC recognize SD as a MSD device and it work correctly ( 18F46J50 and PIC24FJ128GB106). I share SD...
View ArticleNo Response from PIC24F16KA102. Need help just blinking an LED! (Gobc)
Hi Guys, I'm having a terrible time trying to get a PIC24F16KA102 to work. I have it wired up, and I'm able to program it successfully. However I'm unable to blink an LED (even just turn it on). I've...
View ArticlePMP Pin PMA13 missing from Pin Diagram for dsPIC33EP512GM710 (ahoodlum)
I'm working on a project using the dsPIC33EP512GM710. On page 7 of the datasheet is a pinout of the chip. I can find all the PMA pins except for PMA13. I THINK it may be on pin 34 but it is not...
View ArticlePIC24FJ256GA705 FAMILY documentation (FerrariLuigi)
Dear allI downloaded from microchip web site the technical documentation of PIC24FJ256GA705 FAMILY http://ww1.microchip.com/downloads/en/DeviceDoc/PIC24FJ256GA705-Family-Data-Sheet-DS30010118C.pdf...
View ArticlePIC24FJ64GA202 cannot work in release mode (Serafino Convertini)
Hi all,I'm trying to use the PIC24FJ64GA202 with the ICD3. It works well in debug mode but when I attempt to program the PIC in release mode it doesn't work.If I try to erase the memory with the IPE,...
View ArticleHas anyone successfully used PIC24 hardware crc for MODBUS crc16? (forrestgk)
I have no problem creating coded crc16 functions which work fine, but have worked for hours to get the hardware crc working on the PIC24F32KA30x with no success. I don't need necessarily to know the...
View ArticlePIC24FJ.. Memory organization (RamNadler)
I am getting confused with the program memory addresses of the 16 bit microcontrollers.For example, for a 64KByte memory I expect to find 65,536 bytes of 8 bits.Since the micro is 16 bit, I expect that...
View ArticlePIC24F Checksum Computation (matthewnevels)
I could use some help figuring out what I'm missing. Calculating the checksum of the PIC24F looks to be straightforward, but I'm not getting anywhere. Here is section 6.1 from DS39919C -...
View Article