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

PIC24 PLL module is always out of lock (siddharth3141)

I have been working on a PIC24FJ128GA310 development board for for some time now and recently got a PCB made. If I try to move my code into the new board all timing related math and functions are...

View Article


Interrupt vector (assembly) (oldguy)

HiI am new to the pic range and I am using a PIC24FJ128GA010, mplabs asm30 tool suite (v3.30) I have designed and built the board and I have code working but need to modify the interrupt vectors.(...

View Article


PIC24FV16KM202: How to reset a MCCP via a CLC? (letigrebleu)

Dear All, I want to reset MCCP1 (via SYNC using CLC1) whenever MCCP1 or MCCP2 toggles. Both MCCP1 and MCCP2 are in 32 bit, single edge, toggle mode. The microcontroller clock is external and at 32 MHz,...

View Article

Write data to FLASH (novb)

Hello.I have pic24fj32mc101. I want to save some constatnts in FLASH while my program working to use them in the next time. I know about standard functions: unsigned int __attribute__ ((space(prog),...

View Article

MSD Host Bootloader (MCHP_Solutions_v2013-06-15) using MPLABX v2.26 (McAlien)

The last time I used the MSD Host Bootloader was about a year ago, using MPLABX v1.70. I am currently running MPLABX v2.26 and XC16 (fully optimised) and revisited the MSD Host Bootloader...

View Article


Gated Timer Doesn't Cause Interrupt When Conditions Perfect (jlbistc)

Hello, Obviously everything is not perfect with this design or else it would work, however I honestly have searched the forums and tried many adjustments and tests and can't understand why the gated...

View Article

PIC24 RTCC with 60 Hz external line input - which pin? (marshaul)

So, I've been poring over the various datasheets, but I can't find a clear answer to this question. If I want to use 60 Hz mains frequency (properly conditioned, of course) to drive the RTCC, which pin...

View Article

Development Board Help... What to Chose? (aliamir)

Hello Everyone,I'm looking to purchase the RN4020 bluetooth PICtail daughter card, but I need a development board to plug it into. The main micro I would like to use to communicate to the RN4020 is the...

View Article


MCLR/RA5 (tomash)

How do I set pin 1 on PIC24FV32KA301 to be an input (RA5) instead of MCLR? If I set bit 7 in FPOR to 0 programming of the chip does not work using a PicKit3. /Tomas..

View Article


PWM sound generation/PWM1L vs PWM1H (Cypress)

Greetings PIC community! I've been experimenting with using a PIC24EP512MC202 to generate sound with pulse width modulation. So far I have just been using RB15 pin with an interrupt to manually toggle...

View Article

mPORTASetBits macros on P24EP (alintz)

I am migrating an existing project from a P24FJ to P24EP using XC16 and MPLAB X. The project uses a lot of mPORTxxx macros to configure, set and read ports and pins. These macros are defined in...

View Article

SPI for OLED and PWMfor Motor conflicts... (chjchoi@nor.co.kr)

I'm newbie to PIC series and I'm doing simple test project to control Motor and present via OLED.OLED is for SSD1306 chip In my source code the SPI job for SSD1306 and PWM Motor may be in the condition...

View Article

PIC24F08KL200 CLKO active by default?! (Szidor)

Hi! I made a PCB with a PIC24F08KL200 in a TSSOP package. When powering it up for the first time (never programmed the chip), I see that CLKO is indeed an output outputting the clock. (It was pure luck...

View Article


Problem in data reception through RS485. (Raady)

PIC24F512GP806 MPLAB 8.8 Hi, I have an application, where user will have GUI, in which he can send data in any of 24 text columns provided, and that 24 texts are transmitted through RS485 to the...

View Article

PIC24EP512GU810 DEBUG WITH PK3 fail to prog (Les)

Previously no problems with ICSP and PIC24F family, now moved to PIC24EP512GU810 and getting ‘failed to program’ only with Debug mode but programs OK in production load ?PIC24EP512GU810 ; Pickit 3 ;...

View Article


PIC24 RTCC low-temp issues? (bluemountain)

Having issues using a PIC24 w/ built-in RTCC. Using an external 32.768KHz 12.5pF crystal and 22pf C1/C2 capacitors. Works fine over most temp ranges but stops working when temps get below freezing (all...

View Article

Are there any low level resources? (Barry Dick)

Good Morning, I am looking for low level programming examples where I can populate an array to print a single line to the device. What src files can I use with avoiding GFX library to accomplish this...

View Article


I2C on PIC24FJ256GB106 (pgibbons)

I'm encountering a strange behavior while operating the PIC24 as a slave to transmit to the master.The first packet always works. It goes like this:1a: The master (a TI tms470) addresses the slave...

View Article

Can't Get Program to Run on Power-Up (jlbistc)

Hello, I'm somewhat new to PIC programming. I am using a PIC24FJ128GB202 mircocontroller to write words to an LCD screen. The PIC24 only uses a few PORT A pins and PORT B pins to accomplish this. I can...

View Article

SPI with SCK >= 15MHz ?? (Gregorius)

Hello all, Are there actually any 16-bit MCU's that supports an SPI clockrate of 15MHz in mastermode & full-duplex? Kind Regards...

View Article
Browsing all 3494 articles
Browse latest View live


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