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

Pre-initializing values in DEE Emulation Library (like __eedata directive)...

I can't find a way for pre-loading values in DEE library, something likeBYTE __attribute__ ((space(eedata))) eeData = { 0, 251, // house, addressin C30 / PIC24F. I tried setting up an array at fixed...

View Article


PIC24 External Interrupt help!!! (Nam12lehoan)

Hello, I am new to PIC24. I want to ask you a question.I am using PIC24FJ256GB206 and want ti configure INT1 at RB29. Which code should i use?Thanks in advance...

View Article


Using the LCD driver on the PIC24FJ128GC010 (titan2020)

Hello, I'm trying to understand the LCD driver setup in the sample code that comes with the MPLAB Starter Kit for PIC24F intelligent analog Part number DM240015. In the data sheet for the PIC it...

View Article

Reading 24FJ128GB606 port RC13 & RC14 (Dutch2)

I'm trying to read pin RC13 and RC14 on a 24FJ128GB606 but they always read 0. The data sheet DS30010074E-page 35 shows they are standard IO but then on page 150 it does not show C13/14 in the input...

View Article

RN4020 BLE data packet CRC (jhmicrochip)

Using an Explorer 16/32 with an RN4020 communicating to an android device (PIC24FJ XLP Bluetooth LEIOT Demo) - with a packet sniffer I see a CRC appended to data the RN4020 is sending. Is it...

View Article


Do you have any information for the connectivity of PIC24FJ64GB002 with...

Hi everyone, I'm trying to connect PIC24FJ64GB002 as a Host with the Rockchip's RK3188 as a Device through USB. The homepage of Rockchip's RK3188 is as follows : http://www.rockchip.nl/rk3188/. I'm...

View Article

pic24 freezes after about 530us (coredump)

I have a very simple program (pasted below), running on a PIC24FJ256GA705. It pulses a pin and shows the clock running as expected for about 530us, but then the PIC seems to freeze. What I see is that...

View Article

Can I put the band-gap channel in a Threshold Detect scan? (sjb741)

PIC24FV32KA302It was suggested elsewhere on this forum that one can set VREF+ = Vdd, then the measured band-gap value will "seem high" if Vdd is "low" and vice-versa. This is a way to monitor Vdd...

View Article


PIC24FJ256GA705 UART interruptions don't work (ainhi)

Hi everyone! We are programming a PIC24FJ256GA705 processor using PIC24FJ128GA310 code (which works fine in this last PIC). We have studied two different problems:1. The pic just prints some strings...

View Article


ADCS=5 disables DONE bit ? (sjb741)

PIC24FV32KA302Empirically, a manual 'SAMP=0' does not ever give DONE==1 if ADCS=5, but it is OK if ADCS=2. TCK=1MHz. I can 'break' the code by placing a breakpoint inside "AdcChkRefSetup()", then...

View Article

PIC24F32KA304 Bootloader Quick Programmer Problems (sada1400)

Hello, I have some issues with the AN1157 bootloader together with the PIC24F32KA304. The overview says, the controller is compatible with the bootloader, but I can't find a linker script. Also the...

View Article

PIC24F16K08 -> 9600 bauds proprietary protocol (mansgueg)

Hi all, For radio application I must use 9600 bauds communication without Start and Stop bit.I want to use official communication module to know communication tolerances. Bellow my status: With UART...

View Article

Size of long type (Serafino Convertini)

Hi to all,since I need to handle 32bit integer and I'm using a 16bit microcontroller (PIC24FJ32GA002), I'm trying to initialize the variables as long type as follow:long DYN_ALIGN_X_CENTER;But, when I...

View Article


How to Write to Flash Memory Using __builtin_tblwtl/__builtin_tblwth (olochua)

Hey guys, I am using a PIC24FJ1024GA610, and I am trying to write a value (0x002222) to flash memory address 0x0048FE. Before writing to the address, I read the value stored within the location and got...

View Article

Using Enhanced CRC for calculating 1-wire CRC (flotischu)

Hi,I am trying to use the Enhanced CRC of my PIC24FJ256GA705 to calculate the 1-wire CRC from a MAX31820.That's my code:uint8_t i;uint16_t result;uint8_t data_buffer;data_buffer = 0x28; // family...

View Article


PIC24FJ128GA406 Flash Memory Erasing Problem (Liem Dung Phan)

Hi,I have a problem with my project. I based on the example 4-1: Page Erase Example (in C) of dsPIC33/PIC24 Family Reference Manual and PIC24FJ256GA412/GB412 Family Flash Programming Specification to...

View Article

output pins voltage (CinziaG)

This sounds kind of... funny, but:I want to drive 32 leds using a dsPIC24E (old style VU-meter); the PIC is rated for 200mA current all-together and some 15mA per pin maximum; my leds will use say...

View Article


PIC24 UART Tx enable (rje106)

Hi All. I'm struggling to get the UART transmitters on the PIC24EP512GU814 device to operate. I'm using some code that's been ported form a previous project that ran on a PIC 18 so know that the code...

View Article

Why migrated code has bloated (jojo_nexo)

Hi everyone, we recently migrated some code we were running in an PIC16F1705 to a PIC24FJ128GA202.The small PIC has 8k Flash and it was almost full (about 85 percent). Now we've upgraded to a bigger...

View Article

Slow USB data logger (wilkie)

USB MSD Mass Storage HOSTPIC 24FJ256GB106 MPLAB 8.92 MLA _v2013-06-15Using 16GB Verbatim, formatted to 4096 Allocation Unit Size. The FSconfig is set for #define MEDIA_SECTOR_SIZE 512. After...

View Article
Browsing all 3494 articles
Browse latest View live


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