Quantcast
Channel: PIC24 Topics
Browsing all 3494 articles
Browse latest View live

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 Article


Size 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 Article


convert 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 Article

PIC24F 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 Article

PIC24F 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 Article


PIC24FV16KM... 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 Article

xc16 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 Article

Windows 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 Article


Timeout 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 Article


Interrupt / 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 Article

PIC24 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 Article

what 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 Article

Vbat 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 Article


USB 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 Article

PORTB 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 Article


sleep 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 Article

PIC24 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 Article


nested 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 Article

PIC24FJ128GC006 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 Article

PSV 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
Browsing all 3494 articles
Browse latest View live


Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>