Using I2C1 pins as Interrupt of Change when Alternate I2C is enabled (azstevep)
I'm using the PIC24FV32KA302 controller with Alternate I2C selected (FPOR-->I2C1SEL_SEC). I'm also using pin17 (SCL1/RB8/CN22) to receive interrupts from an accelerometer (MMA7660). The I2C1 works...
View Articlenfc pn532 interfacing with pic24f (freedomhouse)
Hi, it is my first project with pn532 nfc interface. i want do a simple firmware that read tag ID of 14434a card nfc. i read the application note AN133910 page 37 reade 1443-4 typeb 1 target i send...
View ArticleInterrupt/ISR induced read-modify-write problem? (mhwang)
Hello everyone,I seem to be having an issue similar to this one:http://www.microchip.com/forums/m446097.aspx I've been using the Timer3 interrupt on a PIC24FJ64GB106 to generate pulses (aproximately...
View ArticleRA3 as digital output on a PIC24F32KA302 (whalphen)
I'm not able to get the RA3 pin to work as a digital output on a PIC24F32KA302. The pin is specified as OSCO/AN14/CLKO/CN29/RA3. I can get other pins on Port A to work, but not this one. I've tried...
View ArticlePIC24FV32KA302 with TM1637 (BdT141)
Hi, I want to use my PIC24FV32KA302 to interface with a TM1637 absed 4 digit 7segment module. I tried modifying the Arduino Library to work on the PIC, but I am not having success. Literally all I...
View ArticleSame code is working on one explorer16 demoboard and not working on the other...
Hello everyone,First of all I'm very new on pic microcontrollers and also microchip forums, thanks in advance for any guidance. :)I have 2 Explorer16 demoboard with PIC24FJ128GA010 microcontroller on...
View ArticlePIC24FJ128GB204 I²C Bus Collision Every Time on Start Condition I2C (ChilliED)
Hi I am using a PIC24FJ128GB204 and am utterly frustrated with not being able to get the I²C working. The SDA / SCL lines do nothing at all. I configure the module but as soon as I set the SEN bit...
View ArticleCompiler for PIC24FJ256GB406 (mavropoulosg)
Hi there, I was using for many years the PIC24FJ64GA104 with the C30 Compiler and I was content. Ive recently need to upgrade to PIC24FJ256GB406 and I was wondering if I can program it using the C30...
View ArticleIEEE 754(32bit hex) to Decimal Conversion (niteshverma.ind)
Hello all, I need to know the method for converting IEEE 754(32bit hex) to a decimal float for pic24. For example If i am having the below hex data to be converted as float char arr[] = "0x4203fc36"...
View ArticleDEE Emulation with PIC24E crashes (snarfer)
Hi All, I am porting an application from PIC24H to PIC24E, and find that the DEE Emulation tool causes the MCU to hang. The application worked fine with the PIC24H and I am now using the most recent...
View ArticleInformation about general exception handler (jnnewton)
I am trying to update some software on a PIC24FV08KM202, and somewhere something I've done now drops me into this: void _general_exception_handler(void){#ifdef __DEBUG__ while(1);#endif asm ("RESET");}...
View ArticlePMP tutorial (friesen)
After some sweat and (almost) tears figuring out the pmp, I though I would leave some of what I learned, and leave this open for comments and corrections. 1. The PMP is a module similar to the UART in...
View ArticleDMA performance depends on IO ports? (Stri_)
Hello. I'm using DMA to copy variables from RAM table into DAC, to generate some complex signal. The problem is, output frequency depends from status of some IO ports, like this: if(ENABLE_INPUT)...
View ArticlePIC 24F Drawing too much current - latchup or regulator instability???...
I received my PCBs a few days ago.Today I started to populate them incrementally.I am using a PIC24F32KA302.The circuit really doesn't have much more fitted than the regulator circuit (AMS1117 3.3V)...
View ArticleNL Resistor PIC24 Crystal Circuit (niteshverma.ind)
Hello, I am using PIC24 Explorer board 16. I just wanted to know about one circuit which is in the board. The circuit is of 8 MHz crystal oscillator & i found it in the schematic section of the...
View ArticlePIC24FJ64GA102 does not wake up from Deep Sleep with DSWDT (trema007)
I've been trying to last weeks to wake up the PIC24FJ64GA102 from deep sleep, so far no success. I'm able to put the device into sleep and wake it up with the WDT. I'm using the PICKIT3 but also tried...
View ArticlePIC24 battery power; SD (data logging) (Atkins)
I have developed an application that runs on a Microchip PIC microcontroller (PIC24HJ64GP502). This is actually a PIC24 that I originally bought from Spark Fun and that no longer is commercially...
View ArticleDS1307 and PIC24FJ64GB002 (NIMIT VACHHANI)
Greetings People,Few months back i had successfully interfaced DS1307 with PIC24. Right now i have lost that code due to hard disk crash, so i am writing the code from scratch. It's been long time now...
View ArticlePIC24 RTCC Alarm Interrupt (geotox)
Hey, guys! I'm trying to write an app that will put PIC24 to sleep (DeepSleep/Sleep mode) and wake it up after N seconds.Now I'm working with RTCC Alarm interrupt.=void Rtcc_Init(){ RTCCUnlock();...
View ArticlePWM Generation Issue (mandm)
Hello, I am trying to use a PIC24EP512GU810 to generate a 38Khz, 33% duty cyle. I am very new to the PIC and this forum. I apologize if this is not the correct place for this question. I have read some...
View Article