Clock Switching in C: PIC24F04KA201 (Gabriel Voirol)
Hi everyone We try to use the PIC24F04KA201 for implementing a simple digital clock.That's why we want to switch from the secondary oscillator (32 kHz) to an intern oscillator (500 kHz) and back...
View Articlepic24fj128gb106, SOSC and XC16 = No 32khz oscillator (future56k)
Hi,I just lost 4 hours trying to get the oscillator going. Tried new pic, caps and the crystal. The crystal works fine in another pic18 board. I see from the datasheet that this setup would be very...
View ArticleExternal Interrupt (INT0) (Atkins)
I am using a PIC24HJ64GP502 with a MMA8452Q accelerometer (which uses I2C) to detect motion. I am using the Bully Bootloader in conjunction with MPLAB IDE v8.7. I cannot get the PIC INT0 (pin# 16) to...
View ArticleHow to set ADCS bits in ADCCON3 (tomash)
I don't understand how to set the ADCS bits in in ADCON3. The data sheet says that TAD should be min 600 nsbut DS39739A says min 75 ns. Which is correct? I use the FRC with PLL, no division which gives...
View ArticleCode's Example of USB device with pic24 emulate a sound device (Guilherme...
Hi guys, I' m a student and I was looking for examples of "how do a emulated sound device with USB, (MIC), using PIC24" Can you help me ? Best regards and sorry for my english poor Guilherme Marques..
View ArticleADC never sets DONE bit (tomash)
This is the init code :AD1CON1 = 0b00000100000000; 12 bitAD1CON2 = 0b0000100000000000;AD1CON3 = 0b1000000000000000; RC-clock (Tried using system clock)AD1CON1bits.ADON = 1; This is the read code :...
View ArticleProduction build does not start (poeschel)
Hello! I have a custom built board with a pic24fj256ga106. I set up and wrote and debugged my program and everything is fine, as long as I start my program with 'Debug->Debug Project' in MPLAB X....
View ArticleChange Notice Interrupt Not Firing, C30 (MOR_zgreen)
Hey Gang,I'm trying to set up a change notice interrupt on a PIC24F04KL100 using the c30 compiler in MPLABX. I'm trying to use CN2 on RA0. I have not been able to get the change notice ISR to fire,...
View ArticlePIC24FJ128GB110 : Power Up Issue (GeekxCoder)
Hello, I'm having power up issue with PIC24FJ128GB110 . Even though 3.3v is feeding to all vdd pins of mcu; but it takes more than 1 minute to be on and start its operation. Can someone help me...
View ArticleHow to configure PIC24FJ64GC006 ports? (Ranger48)
Hi all, I'm using the PIC24FJ64GC006 for the first time and I find it somewhat more complicated than the PIC24F3KA302 with which I am familiar.I usually have at least one LED on my designs so that I...
View ArticlePIC24FJ64GB002 and MMA8542Q - I2C Issue (Jeff001)
I am using a PIC24F64GB002(device revision 2 as reported by my ICSP programmer) DIP package interfaced with a MMA8542Q breakout board through I2C2 hardware. Wired up on a breadboard. Had some trouble...
View ArticleInclude file, EEPROM_READ and _WRITE (tomash)
I would like to use these functions but I don't know which .h file to include. Where do I find this information? I'm using XC16 and the processor is PIC24FV32KA301. /Tomas..
View ArticleIf condition in asm (cts_casemod)
Hi all, I am trying to use this code to check if a variable is larger than a given number, but the output is always false.The CPU is a DSPIC24 and the variable is 16 bit longPerhaps I am not using the...
View Articlebtss instruction - If true do more than one action (cts_casemod)
Hi all, I have some questions regarding the btss instruction. Basically I need to check an input port, and do two actions if the instruction returns true. But looking at the instruction manual I am not...
View ArticlePIC24FJ256 Output Compare: single pulse mode using timer (KfPedersen)
Hi all. Hope you are able to help me with this problem. I'm trying to configure the output compare module to generate a single 40ms pulse using the "dual compare match mode" in a PIC24FJ256G10. I want...
View ArticleSleep Or Idle draws more current sometimes (pilot_babur)
Hi. My device is PIC24FJ256DA210. I work almost 3 years with this part. And completed 5 projects. I just added the Sleep feature to my project and Sleep draws ~1mA and its reasonable for me. But...
View ArticlePIC24 DA integrated graphics RGB mode mystery (ILI9341) (Lucis)
I am using the PIC24FJ256DA210 development board (DM240312). This board directly interfaces to the "Graphics Display Truly 3.2in. 320x240 Board" (AC164127-4). This display uses a SSD1289 driver. I need...
View ArticleBitmap Blurred on touchscreen (zakmetmoes)
hello,I'm experimenting with the pic24 development board and i am trying to image custom bitmaps on the screen.The problem is that the bitmaps (even the standard images that come with mla legacy) do...
View ArticleAbout serial 256K*16bit SRAM (jay7575)
Hi, I am designing a high-speed (250KHz sampling rate) & low-power system based on PIC24F16KA102 MCU. Here a 256K*16bit serial (SPI) SRAM is needed to store the sampled data (16bit) in real-time. I...
View ArticleRegarding reading data from FLASH (winikul)
Hello I am using PIC 24FJ256DA210, I have stored some data in Internal FLASH of a Controller .The data is in form of an array.I want to pass these elements of array as a function parameters .So need to...
View Article