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

How to use all 96k memory on the PIC24FJ256JB210 ? (Vovan)

Hello. I want to make a small data base in the PIC memory. But I can not to allocate more memory than the 27K. I get a message (Not enough memory for stack) However on the memory indicator I see that I...

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


Porting file sytem MDD or FATFS (preferably) on to on board flash of PIC24F...

Has anyone tried to port FATFS into an on-board flash for pic24 series ? i have come across various examples of fatfs with SD card. what all changes are supposed to be made in order to do it for on...

View Article

I2C Clock speed (Mipo01)

Hello, I have PIC24HJ256GP210A. 12MHz PSOC oscillator andCLKDIV = 0x3001PLLFDB = 0x0026which gives me 80MHz on Fosc and after DOZE Fcy is 5MHz.I tried to calculate I2C2BRG based on this formula I2C2BRG...

View Article

PIC24FJ128GB204 I²C Bus Collision Every Time on Start Condition I2C (ChilliED)

Hi I am using a PIC24FJ128GB204 and am utterly frustrated with not being able to get the I²C working. The SDA / SCL lines do nothing at all. I configure the module but as soon as I set the SEN bit...

View Article


PIC24F04KA201 project help! (mng)

Hi, I'm new to micro-contollers and I have been looking around for any information to build a development system for PIC24F04KA201 but I could not find any thing. so here is what I'm trying to do:...

View Article

Problem with 8h revision (B0) (smon)

Hello,I am using PIC24F16A101 as a timer. The RTCC timer sets the deep sleep time.When the timer expires, an interrupt is initiated and RESET command is performed.This process works fine in the old CPU...

View Article

PIC24FJ64 - Link Error: Could not allocate data memory (matt_amp)

I've got a program written up that is using a large percentage of the processor's data memory (75%), and I need to add a couple of new variables. When I try to add even one int variable, I get the...

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


Test Pattern with 24FJ256DA210 (keets)

I am doing my first project using 24fj256da210.I am using MPLABIDE28.9 with ICD3.After initializing the chip for 4.3" tft with resolution 480x272, I set _DPTEST=2 for generating test pattern. I get the...

View Article

Regarding writting a string. (winikul)

__psv__ unsigned int M0A1[]__attribute__((space(psv)))={240,228,320,37}; // Back Ground co-ordinates Array. __psv__ unsigned int M0A2[]__attribute__((space(psv)))={243,72,317,48, //x1,y1,x2,y2 for Key1...

View Article

btss instruction - If true do more than one action (cts_casemod)

Hi all, I have some questions regarding the btss instruction. Basically I need to check an input port, and do two actions if the instruction returns true. But looking at the instruction manual I am not...

View Article

CRC Questions... (Skaptor)

Hello, I'm trying to implement the CRC hardware module for checking a received file over MiWi. I have no clue why the result isn't the same from an online calculator. For instance, 4 data bytes (0x33)...

View Article


dsPIC33E auxiliary flash bootloader, trap conflict reset on application...

I have developed a bootloader for the dsPIC33EP512MC806. The bootloader resides entirely in auxiliary flash. I have the RSTPRI configuration bit set so that the reset instruction comes from auxiliary...

View Article

gddx and 8bpp (zakmetmoes)

hello,I'm working on a project where I want the pic24fj256da210 to run a display on its own.GDDX2.20 only supports 16bpp so I installed legacy mla with gddx 1.10.. The problem with this version is that...

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

USB Bootloader for PIC24F (adwaitnd)

Hi, I am designing a custom board for a PIC24F64GB004. One of the good things about it is the USB peripheral. It would be good if the chip could be flashed directly via USB. I realize such a bootloader...

View Article


PIC24FJ128GB202 - is RA4 input-only? (hoche)

I've been fiddling with PIC24FJ128GB202's, and I ran across a problem I haven't been able to figure out. I can't get digital output going on RA4, even though it's supposed to be bidirectional according...

View Article

12-bit pipelined ADC with DMA on PIC24FJ128GC010 (David Meyer)

I'm working with the PIC24FJ128GC010 and using the 12-bit pipelined ADC to sample data at a rate of 4Ms/s. Right now, I have it set up so a sample list of 4 samples is triggered each microsecond. These...

View Article

PIC24f Sigma Delta ADC help (Benjamin Hon)

Hi according to the data sheet 66.3.8 Input Channel SelectionThe input analog channel can be selected using the SDCH<2:0> bits in the SDxCON3 register. The SD A/D Converter comprises both...

View Article
Browsing all 3494 articles
Browse latest View live


Latest Images

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