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

UART Receiver (redplayer)

Hi, I have to write a program able to do serial communication. I used MCC to generate my code. I am able to send data without problem but I cannot receive them. There is no baudrate, clock or...

View Article


MPLAB IPE - Help finding the device for PIC24FJ1024GA606 (mobrien)

Having trouble locating the device in MPLAB IPE for PIC24FJ1024FA606 under the 16-bit MCU PIC24 family. I'm searching for a way to program this part with a ICD3. I've recently downloaded a clean copy...

View Article


PIC24FJ256GA702 Resets When i Turn On the Motor (Baskar Veerappan)

Hello Dear Friends , I am using an PIC24FJ256GA702 for Controlling two 3HP Water Pumps when ever i Trun On any one of the Motor the PIC is getting Reset some times i Just Counted for 10 time Turned ON...

View Article

PIC24FJ128GC006 SPI (ahmet)

void SPI2_wr( uint8_t *pTransmitData, uint8_t *pReceiveData ){ while( SPI2STATbits.SPITBF == true ) { } SPI2BUF = *((uint8_t*)pTransmitData); while ( SPI2STATbits.SRXMPT == true); *(..

View Article

XC16 1.70 Address Trap on PIC24FJ128GC006 (GLPL)

I've experienced strange behavior when migrating from XC16 1.31 to 1.70 on PIC24FJ128GC006. The code, which runs perfectly well on 1.31 version, gets Address Trap when compiled with 1.70 version. I was...

View Article


ADC not working: PIC24FJ256GB410 (Wangxin)

int ADCValue;TRISB=0xFFFF;ANSB = 0x1000; // all PORTB = Digital; RB12 = analogAD1CON1 = 0x00E0; // SSRC<2:0> = 111 implies internal counter ends sampling// and starts converting.AD1CHS = 0x000C;...

View Article

Unable to control pin RF2 from PIC24FJGA306 (acalzada)

Hello, The short and quick question: How can I set this specific port (pin 34 labelled as RF2) to be digital and write values to it to turn on/off an LED?. The situation:I'm new with these...

View Article

PIC24FJ128GA306: some pins seem to be configured elsewhere. (acalzada)

Hello, I've managed to write to several pins but there are some pins that seem to have been configured elsewhere. For example I set PORTB as digital output as follows:TRISB &= 0x0000; ANSB &=...

View Article


Same register twice in "register indirect" (mskala)

Is there a firm definition of what happens when the same register is used twice for "register indirect' addressing, with at least one instance calling for the register to be modified? For example, in...

View Article


PIC24FJ128GA204 ADC with DMA in PIA (darren)

Hi, I am trying to make burst alternative measurements from two different ADC channels and save the data in RAM using the DMA. The reason for doing so is to apply oversampling to increase the ADC...

View Article

PIC24FJ128GA202-I/MM component shortage issue (den_prog)

Are other fellow designers having issues with the supply chain of Pic microcontrollers, PIC24FJ128GA202-I/MM has a suggested delivery date of July 2022. Why has this come about? is it due to Covid or...

View Article

const float structure actually writing garbage values when it is...

Hi all, how are you?. I'm working with a PIC24F256GA106 to create a PIPD motor control for a BLDC motor, right know I'm in the part of the code where I'm making the adjustments to the function that...

View Article

PIC24FJ256GB206 EPMP example (tankist)

Could anybody provide some examples how to configure EPMP port for working with LCD? I didn't find any working examples in the web...

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

PIC24FJ128GA310 bigger Flash/RAM 1:1 replacement (s.tyborczyk@vector.net)

Hi, my device based on PIC24FJ128GA310 recently started to suffer from lack of free Flash memory - it's a mature, constantly developed product, already deeply optimized for space.I'm wondering on...

View Article


Storing Data in NVM on PIC24F (jschaenzle)

I am working on my first PIC project and using a PIC24FJ64GA002 and the MPLAB C30 compiler. I have a need to store a small amount of data (<50 bytes) in Non-Volatile memory. I would like to use the...

View Article

I can't find the PIC24F16KA301 (andresteff)

Hello,I can't find the PIC24F16KA301 on the product tree! This Pic has 20 Pins. On the product tree for PIC14F types, the minimal Pin count is 28.The website from the PIC24F16KA301...

View Article


Issue in interfacing with ATWILC3000- MR110UA (yasha)

Hi , I am using ATWILC3000- MR110UA module and trying to interface it with a processor . I have installed the driver files and when I am trying to probe it I am receiving errors which I have mentioned...

View Article

Multiple DMA channels for 24-bit I2S (mrerdem)

Hi everyone, I am trying to read 1024 samples of 24-bit I2S data stored in SPI1BUFL and SPI1BUFH registers into memory using DMA. As you know, for each sample, both buffers has to be read sequentially...

View Article

PIC24F16KA101 UART PROBLEM (Kinimod)

Hello everyone, I am still new to PIC but I have done some work on it already. I'm programing a PIC24F16KA101 microcontroller from a breadboard and I've managed to write a code which at least does what...

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>