UART... difference between PIC24F? (proaudio)
Hi everyone, I am trying to retransmit data from the UART1 RX to the UART1 or UART2 TX... With the PIC24FJ256GB106 it works fine with this code: #include #include #include #include #include ..
View ArticleSize of struct and its members? (BobAGI)
I am coding for PIC24FJ256GB206 using C30 v 3.31.Now I need to save a configuration struct to SDCard and I want to know how the struct is actually organized (I am saving it to file as a binary...
View Articleconvert integer to Hex and divide that into no of Bytes (freaky_geek)
Hi,We are working on PIC24FJ, in the program we have taken a variableasint Distance;Now this Distance for ex is 65536 has to be converted to Hex (0xFFFF) then I want to transmit it byte by byte to...
View ArticlePIC24F Family Reference Manual (lcj)
Is this document available as a single download? It's really tedious having to search out and download each chapter individually, but I haven't been able to locate a single pdf of the whole document....
View ArticlePIC24F ADC Automatic Sampling problem (GeoTox)
Hi guys!I have a problem configuring the ADC on the PIC24FJ256GB410. I have tried configuring registers of the ADC module, but had no luck. Then I've just copy-pasted the sample code from the...
View ArticlePIC24FV16KM... EEPROM (rianovich96)
Hello, I need to write fast in EE several bytes (~200) but a single word takes about 2.5mS (measured).This means 500mS for my data which is quite long. I am using this algorithmuint16_t...
View Articlexc16 pin status reading (hasanyildiz)
I have already use port pins to read status of the pins but today i face this problem pins which are used as outputs no longer port bits work. not just for portb all are the same. this code is not...
View ArticleWindows Interface for EZBL (kelt)
Hi everybody, I plan to use EZBL for doing remote updates on 24FJ64GA10x based products.More precisely, my users would download a BLOB file from a website and make themselves their update on their...
View ArticleTimeout problem with 32 bit timer in PIC24f (Maurya)
Hi, I am using PIC24fj128ga310. I am trying to use 32 bit timer(timer2&3) to have large delay/count.Following is my configuration code for 32 bit timer#include "p24fj128ga310.h"#include...
View ArticleInterrupt / port bit conflicts? (Willem65)
Dear all,Perhaps you can advise regarding PIC24FJ64GA102.The device has 2 LED's connected to PORTA.0 and PORTA.1.PORTA.0 is driven from main routine (in a while(true) loop), PORTA.1 is driven by an...
View ArticlePIC24 parts with simultaneous sampling ADC (kurth)
I would like to know which of the PIC24 parts have multiple sample & holds for simultaneous ADC sampling. I can't find this info in any of the parametric charts or selector guides. I would rather...
View Articlewhat is the status of SPI1BUF after SS pin is high? (swatvv)
I using pic24fj256gb106 and in spi slave mode what is the status of SPI1BUF after high the SlaveSelect pin.. Master ll high the slave select pin at the next clock cycle of last data(0 th bit). is there...
View ArticleVbat mode PIC24FJ128GB204 deep sleep registers failing (Nightcat)
Hi, I have a 2.7V supply attached to Vbat on a PIC24FJ128GB204. In my code, on power up, if the DSGPR0 register does not contain a certain pattern, I perform some initialization then set DSGPR0 to that...
View ArticleUSB Mouse on PIC24FJ (liebart)
Hello, I am working on PIC24FJ256GB110 with the explorer16 demoboard With this post there are 2 project:1- the demo mouse in the square provided by microchip2- a test of mine, which does not work I was...
View ArticlePORTB always reads zero (OpAmp Rules)
Hello, I'm using PIC24F16KL402 and I'm stuck with a very simple thing: PIC always reads digital zero on port RB4, no matter if there is 0 or VDD on the external pin (I checked it with a oscilloscope)....
View Articlesleep mode question (ssagerian)
I am using a PIC24JF128GC006 and I have a code loop that goes to sleep. My T3 timer runs on the LPRC clock and interrupts at a specific rate but the interrupt never restarts the code loop. I thought...
View ArticlePIC24 USB clock setup with self tuning PLL (ProudlyCanuck)
Hi All, I have been trying for days to get the USB enumeration to work with my PIC24FJ128GB204. It uses the self tuning PLL to get an accurate enough clock speed for the USB communications. I must be...
View Articlenested interrupt in pic24fj128ga310 (Maurya)
I am using pic24fj128ga310. I have two problems in my program logic: 1. My application includes 2 transmission: TX1 and TX2 at 45 sec interval. In an infinit loop TX1 has to keep transmiting every 45...
View ArticlePIC24FJ128GC006 AN12/B12 as input to PADC (ssagerian)
I am trying to configure pin B12 as an input for the PADC1. using MCC I configure it as an input, made it an analog port.using MCC I built the PADC1 to use a single list consisting of AN12 which is...
View ArticlePSV Problem on PIC24 (tuxx)
I have a function calledwifi_TCPPut((const uint8_t*)"HALLO", 5) ---> see 1.jpg If i use the ICD3 Debugger to stop inside this function i can see that it has the right address.src points to 0x8B6F....
View Article