PIC24FJ128GC006 Cascade Input Capture (32- bit Mode) Not Working (Sushant Purav)
I m facing problem in PIC24FJ128GC006 Controller in Input Capture module. I try to use in Cascade 32 bit mode input capture but its only increment in IC1TMR Timer value if the IC1TMR is wrap around(...
View ArticleUart bootloader For pic24fj256gb110 (sarathtv2)
Hai,I have been trying to get the serial bootloader AN1157 working for my PIC 24fj256gb110 MCU.From the bootloader demo program provided by microchip i modified the config.h for UART pin remapping and...
View ArticleInput capture at 32bit mode (seyyah)
I'm trying to use Input Capture, in cascaded normal capture mode with pic24ep series. IC2BUF is upper byte IC1BUF is lower byte. I first only configured IC1 module and only set 32bit bit in IC2 module...
View ArticleOscillator frequency on the oscilloscope/logic analyzer (SunnyCircle)
Hi guys, This might be a silly question but I'm new to this and some things don't add up no matter how hard I try. I've made a few really small and simple projects on a PIC24H micro controller and now...
View ArticleHow easy is it to use a few bytes of the PIC's Flash memory for static data...
Hello, I have two designs that work well, one with a PIC24EP64GPxxx and the other with a PIC24FJxxx. Both designs make use of an external SPI-bus NVRAM chip, but this chip is under used, the board...
View ArticlePeripheral operation during Flash erase/write (crosland)
Do peripherals continue to operate when the processor stalls whilst writing/erasing internal Flash? I can't find an explicit statement on this in the docs.I am particularly interested in the ECAN...
View ArticleEnabling i2c - PIC24FJ128GB202 (mrclolveira)
Hi guys, I am using Pic24fj128gb202 on i2c aplication, but I can not make it work! Nothing happens in the SDA/SCL pins.Compiler is XC16, on MPLABX v3.00 I am using the following code for initvoid...
View ArticleI2C - Urgent ;) (Susana Ribeiro)
Hey guys, I really need your help. I have 2 pics (PIC24FJ64GA004), one is a master and the other one is a Slave. SLAVE CODE: #include #include #include #include "comm.h"#include "monitor.h"<..
View ArticleMDD File System what polarity for SD_CD SD_WE ? (Chris K)
Hello, using the MDD File System library what polarity does it expect for the physical pin inputs SD Card Detect and SD Card Write Protect? Would someone be so kind as to confirm this. In the MDDFS...
View ArticleWorking HardwareProfile.h for PIC24HJ SD MDDFS (Chris K)
The MDDFS example files and HardwareProfile.h don't include PIC24HJ support, so I wanted to share my working HardwareProfile.h file setup. CPU is clocked at 40MIPS. Hopefully this should help others....
View ArticleBasic I2C Comm with PIC24F and Digital Compass (Jayson Rickel)
Hi, I'm trying to communicate with a HMC5883L Digital Compass from Parallax using my PIC24FJ64GA002. This is probably me making a dumb mistake, and I should mention I'm new to I2C, so everything I've...
View ArticleAddress Error Generated after wakup from Sleep by RTCC (omairkha)
Hi everyone, I am using a PIC24FJ256GB106. I have it successfully setup to use the RTCC alarm function to trigger an interrupt. The code works perfectly fine up to here. It returns from the ISR fine to...
View ArticlePIC24 PMP master mode read time data setup time spec in data sheet (rgy74)
In regards to the PIC24512GU810 PMP master read time spec in the part data sheet:In Table 32-66 Parallel Port Read Timing Requirements, Parameter PM6 --the PMRD active to Data in vailid spec is listed...
View ArticleRTCC Alarm Setup and Interrupt Not firing, no examples that i can find....
I've attempted to setup an alarm (repeating, to look for conditions for wake from sleep). I'm using the microchip pic24fj128gb108 mcu. Here's the setup of the alarm, which is simply a few lines...
View ArticleAlarm for PIC24F not working (cquinn1)
Hi, I just want to implement a simple alarm using the secondary oscillator to wake the system from sleep but it won't seem to work for me. I am using a PIC24FJ256GB106, MP LAB X and XC 16. So the...
View Articleissue regarding wakeup from sleep using RTCC alarm (piyush1990)
I have written code for waking up my PIC24f from sleep using rtcc alarm and also toggling led in the RTCC interrupt .When the alarm comes the PIC24f wakes up from the sleep but my rtcc interrupt does...
View ArticleSD Card speed (xxultz)
Hello! I'm starting a project which needs Mass Storage. I'm playing with the PIC24FJ64GB004, made a circuit that acts like the Explorer 16 PIM and just downloaded the code from MLA (version...
View ArticleI2C error with MM7150 Motion Module on Explorer 16 board (jstanle1_home)
Hi --I'm trying to use the sample code for the MM7150 PICtail motion module on an Explorer 16 dev board. The initial welcome screen doesn't come up on the LCD -- instead it shows an I2C error 0x23...
View ArticleDMA0STBL Register refuses to set correctly. Using DMA with UART on...
Hi All, I've been having a rather annoying problem and I'm ready for someone to shame me for what I'm sure is a silly mistake that I'm overlooking :) I'm using UART1 RX with DMA0, and I'm trying to use...
View Article[SOLVED]PIC24FJ128GA010 as I2C slave: Every second write fails (O. Lenert)
I'm trying to establish a I2C connection between a Raspberry Pi as Master and PIC24FJ128GA010 as slave. On the Pi side, I use "i2cget 1 deviceaddress memoryaddress" to test the implementation. The code...
View Article