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

UART Transmit_Callback & Receive_Callback (scott_mcd)

I'm attempting to communicate via RS232 to a PIC24FV16KM202. I used the MCC to generate header files but their descriptions are not clear to me. Can anyone explain (to a mechanical engineer) what these...

View Article


Control Neopixels with PIC24 and CLC (mhal)

Hi! I want to control a series of WS2812 based LEDS (Neopixels) with a PIC24FJ512GB606 using the CLC feature like described in this Microchip Tutorial: https://www.youtube.com/watch?v=hHLMnJs87VE The...

View Article


A new bootloader with an old issue ((944) data conflict at address 0h)...

Hello everybody,I am trying the new bootloader using MCC following this links: www.microchip.com...rary/16-bit-bootloader www.youtube.com/watch?v=2LhW11LbNhY and everithings works great! now I'm trying...

View Article

DS18B20 strange waveform (elberto)

Hi to all users, I'm reading DS18B20 temperature sensor using PIC24. Power supply is 3,3V while pull-up resistor 2,7kOhm. I put pin in output (TRISB13=0) with open drain active (ODB13=1). I can...

View Article

PIC24FJ256GA406 weird NVM flash issue (Aurelio Mannara)

Hello. I am working on a bootloader for the PIC24FJ256GA406 configured to use the dual partition mode. The first partition contains a safe firmware that never gets updated, while the second half of the...

View Article


Zu Dumm für I2C / Too Stupid for I2C (patrick_cpp)

Hallo Leute,ich versuche einige Zeit per I2C2 EEPROM schreiben und lesen.Leider bekomme ich falschen Wert. Ich sende auf der Register 0x00 den Wert 10, aber wenn ich wieder auslese auf der selben...

View Article

Nonblocking Library (michael.mccormack@hefring.com)

Is there a library for the PIC24 family that is nonblocking? Looking at the SPI library, for example, I seewhile ( SPI1STATbits.SPITBF != true ){}and the like scattered through out the code. This is...

View Article

PIC24FJ64GA004 ADC Auto Sampling - Unplausible Signal Channel 10 -12...

Hello, in my current project, I want to sense 11 thermocouples and a battery voltage connected to a PIC24FJ64GA004 on all available A/D analog inputs AN0 - AN12. I want to scan all analog inputs with a...

View Article


Erase block size of PIC24FJ256GA705 family (PaulPi)

Hello, TABLE 4-1 of datasheet DS30010118C reports 88064 instruction words and 172 erase blocks (PIC24FJ256GA70X). This means an erase block size of 88064/172= 512 instruction words. But then in the...

View Article


PIC24FJ1024GA610, 5% fail programming, reception on endpoint 129, err= -10121...

Hi All,I have thousands of boards with PIC24FJ1024 and about 5% of them fail programming, as follows:Connecting to MPLAB ICD 4... Currently loaded versions:Application version............01.07.74Boot...

View Article

PIC24 TSSOP-14 replacement (elberto)

Goodmorning, I'm looking for a PIC24 TSSOP-14 replacement (PIC24F08KL200-I/ST). Using filters I can't find PIC24F family, only GL, GB, GU families, with minimum pin count grater than 14. Are TSSOP-14...

View Article

Problem with printf() - use in PIC24EP512GP204 (XC16) causes reset... (ice_man)

Hi, I have problem with use printf() with PIC24EP512GP204 (XC16).Mcu will reset after use printf(). Watchdog is off. Device works with 60MIPS. Thanks for all help. // PIC24EP512GP204 Configuration Bit...

View Article

MCC I2C Code (Danny Vigo)

I am following this tutorial for communicating with an MPU6050 gyroscope and accelerometer chip. I managed to set up the board correctly and I setup the chip using MCC, Now my problem is translating...

View Article


ENC288J60 on Explorer16 (PIC24FJ128GA010) (maqu67)

Hello, is there a demo c-software to start connection ? Where I can read IP address? Thanks a lot Massimiliano..

View Article

PIC24FJ256GA410 returning from function to 16-bit memory address...

Hello, I try to port quite a big project from PIC24FJ128GA310 (C30 v3.31b, MPLAB IDE 8.92) to PIC24FJ256GA410 (XC16, MPLAB X IDE v.5.50).After calling a function in main() the program should return to...

View Article


SCCP6 not running (scrungy)

Basically, from within SCCP4 interrupt, I need to trigger SCCP6 to run, just before the end of the interrupt.PIC24FJ1024GA610 compiler 1.70 IDE 5.50 The last instructions in the SCCP4 interrupt before...

View Article

PIC24FJ1024GA610 - Preserving a flash memory area without using programming...

Hi, I am updataing the firmware of my PIC24FJ1024GA610 from a raspberry Pi4 by sending a .hex file using Pickle (version 5.01 - https://wiki.kewl.org/dokuwiki/projects:pickle). What I would like to do...

View Article


Bootloader adaptation from an old project (aliaskappa)

hello everybody,few years ago I developed a custom bootloader for some projects andI developped that using a PIC24fj128GC010.To do this i recovered from mla libraries the hid_boot_p24FJ128GC010.gld...

View Article

How can I read data from sensor which gives 10 bit data in PIC24F? (Uttam Basu)

I am using a temperature sensor that generates 10 bits of digital data. The sensor data is only for temperature. How can I read and display the data? I am using PIC24FJ512GU410 microcontroller. The...

View Article

how to get the checksum stored in flash (blackwarrior)

Hi All, I'm new to the forum and i am looking for some advice on creating a checksum and displaying this on a LCD. i am using the following MPLAB X v3.65 XC16 v1.31 Processor is PIC24FJ256GA110 In the...

View Article
Browsing all 3494 articles
Browse latest View live


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