How to activate interrupt when ADC signal is below threshold (SidLeg)
Hi, rather than activate an external interrupt from a rising or falling edge, I need to activate it when an external ADC signal input is below a certain threshold, say 1.5V. I'm using a...
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 ArticleParallel Port Read spec on PIC24EP512GU810 (rgy74)
In regards to the PIC24EP512GU810 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...
View ArticlePIC 16(L)F and bootloader (snvijayaraghavan91)
14-Bit Core (instructions, reset, WDT, specificati: http://www.microchip.com/forums/fb.ashx?m=877921..
View ArticleUsing Generic library with PIC24EP (Kebims)
Hello everybody, I trying to use my generic libraries 16 bits but I don't work. My libraries have "generic-16bit" option because it's not specific for one microcontroller. I use these libraries with...
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 ArticleCrypto Engine create Session Key (pete@drinc.care)
Hi, all. I am using a PIC24FJ128GB204 and my head hurts. I think I finally understand the basics here, but I am having trouble figuring out how to create a Session Key. I am using AES 256 bit...
View ArticlePIC24FV32KA302 RTCC not running (using LPRC) (gmorfeus)
Hi, I am trying to use RTCC on mentioned PIC but I just can't get it running. I am using this code:#include #include _FBS(BWRP_OFF & BSS_OFF); // Boot Segment Write Protect_FGS(GWRP_OFF &...
View ArticleUSB enumeration Fails when the PIC24E clock frequency is configured for 16Mhz...
I am using PIC24E USB Starter Kit with the “CDC_BASIC" Firmware.Firmware was modified to Configure the device PLL to obtain 8 MIPS operation(Fosc = 16MHz).I need to operate at this frequency as this is...
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 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 Article5V Tolerance PIC24HJ64GP510 to PIC24HJ64GP510A Migration (mwill195)
Hi all, Apologies if this has been covered before - a few searches didn't turn up any results. I am looking to migrate a design from PIC24HJ64GP510 to PIC24HJ64GP510A. One of the main issues is that on...
View ArticlePIC24FJ128GA310 CONNECT TO GP2Y0E03 SENSOR (niteshverma.ind)
Hello to all PIC user, I am interfacing the distance measuring IR sensor from SHARP i.e. GP2Y0E03. I am using explorer board 16 with PIC24FJ128GA310 plug in module. I want to connect the sensor &...
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 ArticleAN1157 Bootloader Issues - Cant even connect (mattm)
Edit: more or less communicating now with a stripped down version and my own uart configuration, working on the other issues. I've been at this for a while now, ive tried every combination of...
View ArticleConversion Sequence with ADC PIC24F (maxime33370)
Hello,I have a PIC24FJ64GA004, and I would like to use a specific conversion sequence with the ADC. I need to scan 2 inputs : AN2 and AN4, I use 16-word buffer and an interrupt every 16 sequences...
View ArticlePIC24FJ128GA306: spurious reset and ghost BOR flag (=AK=)
Hi All, I develop a battery powered data logger based on PIC24FJ128GA306. Four tests units are assembled and run continuously for several weeks. Within about a month 2 out of 4 units were self-reset...
View Article24F SPI BIT BANGING (Tuurbo46)
Hi all, Can I ask your opinion. I have just been put onto a project and they want to read 10 SPI devices using bit bang. They have designed hardware with same CS and CLK, but the 10 MOSI and 10 MISO...
View ArticlePIC24FJ128GC006 PLL & Sleep (EMiT)
Hi, I put my PIC24FJ128GC006 in deep sleep mode with RAM retention and RTCC Alarme wake up: It's work...... But ...at this time the consumption is 400uA in sleep mode ! I have checked all pins and all...
View ArticleA/D channel AN9 problem (johnoakley)
Hiiam using a PIC24HJ128GP502 and am trying to do an A/D conversion on 3 channels, AN0, AN1 and AN9. The simplified code for checking it works is showing the 3 channels selected for sampling by setting...
View Article