PIC24EP: Need information on internal protection diodes (sushant_shidore)
I've gone through datasheet and reference manuals meant for PIC24EP128GP206, and came across a statement -"Certain pins have internal protection diodes to VDD and VSS". I'm looking for getting more...
View Article24FJ128GB204 mcu RA2 and RA8 output do not work (fkg2003)
Hi,I am trying to get output at RA2, RA3, RA8 and RA9. RA3 and RA9 work. But there is no output at RA2 and RA8. I couldn't find any solution. Do you have any suggestion?Main code:#include #include...
View ArticlePIC24 program area actual size (perencia_wc)
Can someone confirm that the program memory sizes reported for the PIC24FJ family in the datasheet (DS30010089E-page 2) are actually orientative? I.e, for the PIC24FJ256GB406 the program area is...
View ArticleError with CTMU on the PIC24FJ128GC006 (ocean_front_view)
Hello: I am using the CTMU on the PIC24FJ128GC006 and my calculations seem to be off by almost 10x. I have found an error in the data sheet on the source current range. In the DC Characteristics they...
View ArticleUnexpected MCLR reset during debugging (manuelsibo)
Hi everyone!This is my first post on this forum so if I make some kind of mistake please understand me...My configuration is:- PIC24FJ256GB606- MPLABX v4.05- XC16 v1.33- PICKIT3This is my problem:when...
View ArticleUsing the CCP to measure pulse width? (AndersG)
I have a requirement to decode a pulse train. The train starts with a sync burst of 8 pulses 20us high, 20us low. Then follows pulses that are 100us hign and 28us low. I thought I could use the CCP for...
View ArticlePIC2FJ64GB106- I2C interface with TSYS02 (shekhashoukath)
hai,i have to read data from a temperature sensor via I2C , i am using pic24fj64gb106. scl and sda lines are pulled up to 3.3v through 10k resistors. first i send slave addr 0x80, then 0xFE, then...
View ArticlePIC24EP256GP206 Package Question (TQFP64) (Katsu)
Hello. I referred to the PIC24EP256GP206 datasheet. Page 19 shows the TQFP64 Pin Diagram. No. 3 in the note describes the heat radiation pad. The outline is described on page 505. There is no pad in...
View ArticleAbsolute Rotary Encoder 12 Wire ... How To Tutorials ? (Abraxas)
Just picked up a couple of 5 wire Stepper Motors with attached Absolute Rotary Encoders. i can handle writing C code for the steppers, been there, done that, but I'm new to these encoders. For...
View ArticleInterrupt latency problems with PIC24F USB Host (AndersG)
Hi! Asking here in case anyone has any good ideas. I am emulating a legacy keyboard. The protocol is essentially 2-wire. One is clock, one is data. The host initiates polling by pulling the dataline...
View ArticleW5500 Lib on dsPIC33, CORCONbits (newmelon)
Hey all, So I am currently working with the W5500 Module from Wizchip on a dsPIC33E with the XC16 on MPLAB X. I am using the Wizchip Library. (github.com/Wiznet/ioLibrary_Driver) Problem :In the file...
View Articlei2c ACKSTAT bit doesn`t seem correct (hindenbu)
I'm in the initial phases of setting up I2C master support on my PIC24FJ256GB110. In my 3.3V hardware design, SCL2 and SDA2 are being pulled up with 2.2K resistors. On initialization, I'm setting the...
View Articlepic-pc communication protocol via usb (boula)
Hello, I would like to have documentation on the communication protocol between a pc (host) and a peak (device) via USB. Can someone send me a documentation? thank you..
View ArticlePIC24FJ64GA002 UART Undeclared Issue With MPLAB IDE 5.30, XC16 1.41 (s78eow3h)
Hi everyone, First time with PICs and first post on this forum (wasn’t sure if it should be in the PIC24, XC16 section or the IDE section). I am trying to take some old code written by someone else for...
View ArticlePIC24 OC Module (MilanSr)
Dear all,I was trying to setup OC module on PIC24FJ128GB204 to generate single 50us pulse for(i=0;i<10000;i++) { OC1TMR = 0; OC1CON1 = 0; OC1R = 10; OC1RS = 810; OC1TMR = 0; OC1CON1 = 0x1C04..
View ArticlePIC24FJ128GB204 ADC conversion does not start (or finish) (dietervansteenwegen)
This is my second project using a PIC and second time using C, so I might be missing something obvious. My problem is with the ADC module of my PIC24FJ128GB204. I am using AN11 (PORTC1) as input, which...
View Articlefirmware that handles communication for the USB device class (boula)
Good morning,To send data between a PC(master) and a pic(slave) (pic24fj1024gb610), I use the Mplab x software and its graphical environment (MCC).Thanks to the MCC, I have generated the program that...
View ArticleFILEIO Functions (Hotfoot)
PIC24HJ256GP610A XC-16 Compiler Pro MPLAB X 5.30 MLA FILEIO vs MAL I wanted to ask for clarification, as I getting ready to start a project with the new (new to me) MLA as I'm migrating over from the...
View ArticleU2BRG seemingly ignored. Wrong UART transmit baud rate. (StevePye)
I'm trying to debug a specific piece of code so I'm implementing some blocking polled UART transmit functionality that ensures that a debug string has completely transmitted before the next line of...
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 Article