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

Initialization problem after wake-up from sleep (Berait00)

Hi,actual I face a problem with my controller PIC24FJ64GU205. When the controller wakes up from sleepby IOC interrupt (pressing a button) it somehow is not proper initializing the interrupt priority...

View Article


Anomalous current from I2C port 24FJ64GB106 (marksullivan)

I've built four prototypes of a board with the PIC24FJ64GB106, 64 pin TQFP. It's running on the internal oscillator FRCPLL. I am seeing a little over a milliamp of current sourced from pin 31...

View Article


Using a common firmware image for both PIC24FJ256GA106 and PIC24FJ192GA106...

Hello, Due to part availability issues, we've been forced to use both of these parts in our designs. However, based on our current understanding, a common firmware image cannot be loaded onto both...

View Article

PIC24 - USB CDC debugging (João)

Hello there, I'm running an example code for CDC provided by MCC. I can open a terminal and see anything I type, but when I am in debug mode and I have a breakpoint, after rerun I cannot see anything I...

View Article

UART causes program hang. (jnnewton)

The following code is called from various locations within the rest of the application. It works well during debugging. However, when I build and bootload the program (we use the USB host bootloader...

View Article


PIC24FJ128GA204 I2C Module Not Working (asmeng)

Hello all, I'm trying to send data to my PIC24F in I2C slave mode but it's not working. PIC24F is not generating ACK bit or an interrupt. I triple checked my connection to the PIC. I'm using the second...

View Article

Watchdog Not able to trigger while bootloader is enable. (Hey Man!)

Hi, I am using PIC24FJ256GL406 device with custom board and I have application with unified boot loader. I found the issue that device not able to trigger the watchdog. I Have configure the watchdog...

View Article

How I was able to get interrupts in my bootloader and keep Hexmate happy....

This is an update to the thread I started here ->Add new MCU to EZ Bootloader resources?. Not seeing that as a viable option I decided to look into the problem a bit deeper. I'm new to PIC devices,...

View Article


Help converting Assembler to C (SRM)

I have a program which I was given that uses Assembler, but I find it hard to develop it and am looking to get it converted to CWould anyone be able to do this for me. This is a commercial product so...

View Article


[MSD+CDC] USB Composite device on PIC24FJ64GU205 (jeevantsah)

Hello,I am trying to build a MSD+CDC combination composite device. I used the example "composite_hid_msd" present in latest MLA. I generated a CDC basic code of echo back using MCC and integrated MSD...

View Article

Problem storing negative long in a PIC24FJ64GA004 - ADDRERR trap (AndersG)

So this is code to read two load cells and display the value. I use the HX711 chip for the cells in free running mode and collect the data in an ISR into circular buffers, then read out and average. It...

View Article

pic24 and TFT display (petrus_2004)

Hallo. I have some problems with TFT display that works with HX8312A driver/ The problem is - I don't know what to begin with. Where to find this driver and how to make my display work???..

View Article

3-wire SPI Connection (Azlum)

Hello All, I'm using PIC24FV16KA301 controller for my project. I need to interface my 3-wire SPI device with PIC24FV16KA301. So please let me know that, 3-wire SPI input/output line (of slave) need to...

View Article


sprintf returning incorrect value (paulw7)

Using PIC24FJ128GC010, XC16 compiler.... With the following declared globally:char send_event;const char STATUS_FULL[] = "<#A,{Status:\"%04X\"}>";unsigned int general_status = 0; When I...

View Article

PIC24FJ64GU202 - use output of MCCP1 (timer) to gate (stop) MCCP2 timer?...

I'm trying to use the timer-match on MCCP1 to halt the timer on MCCP2.Only been using simulator so far (hardware not available) Win 11, MPLAB X v5.50, XC16 (v1.70)MCCP1 will be clocked externally, but...

View Article


Simple Questions From newbie on Chip I have in a Design using PIC24FJ128GA204...

Simple questions from newbieChip I plan to use: PIC24FJ128GA204 First I am confused with Vbat .Can I connect a 1.2V battery to Vbat all the Time? So when VDD comes back to 3V3, Vbat is disabled and the...

View Article

Help adding SPI support for EZBL (kparrent)

Good afternoon, Has anyone successfully ported EZBL to support SPI? The UART modes are great, but my current hardware design requires a PIC24 to have a SPI bootloader. I've been working on this for a...

View Article


A/D conversion triggered by Timer 3 on a PIC24FV32KA (Zelig63)

I'm trying to trigger an A/D conversion using the event trigger provided by timer3. For this, I set AD1CON1 SSRC to 0b0010 and ASAM to 1.A first interrupt triggered by the end of the A/D conversion is...

View Article

Using a 32-bit capture on PIC24FJ to measure RPM (AndersG)

In this case slow RPMs from 0 to approx 2000 rpm or 33Hz. I have used the capture for this in the past, but there are still some things that I do not understand fully, so I thought I's ask here. If I...

View Article

XPlorer 16/32 Board SPI stopped working on SPI for TFT Display on Power...

Hi I found this old thread about XPlorer16 Dev Board and an issue with SPI. Although, this thread is about the conflict between USB & SPI, I think this is the only thread I found to post my...

View Article
Browsing all 3494 articles
Browse latest View live


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