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

PIC24FJ256GA704 LATx and PORTx registers not cooperating (krzysssztof)

Hello guys,I have got a little problem with driving pins in my PIC24 uC. The reference manual says:"A write to the LATx register has the same effect as a write to the PORTx register." But when I'm...

View Article


incrementing value in interrupt (LeeZimme)

I have a counter sys_time which is a one milli second counter. Could sys_time be read incorrectly? Someone told me volatile would make it ok.volatile uint32_t sys_time; A snippet of the interruptvoid...

View Article


Need "Hello world" to RS232 Hyperterminal (K9Jeep)

Hi all! I am running an Explorer16 board with a PIC24FJ128GA010 compiling with XC16 in MPLABX. The lab here is trying to datalog some experimental data. We would love to get the information out to the...

View Article

PIC24FJ128GC006 and PICKit 3 - GC Device not recognised. (DaveG8PUO)

With a minimal required configuration our PICKit 3 will not recognise a PIC24FJ128GC006. Changed the PIC to a PIC24FJ64GC006 andther same. If the PIC24 is changed for another, such as a GB series, then...

View Article

Simple Output to RA0 = Works Good In Simulator, Not On Chip (Abraxas)

I've moved over to MPLab X with a new PicKit 3 Clone. Doing the statutory "Hello World", metaphorically speaking, to set RA0 high, to test these new tools. Builds fine, ran in Simulator with a Watch on...

View Article


ADC using Code Configurator PIC24 (niteshverma.ind)

Hello & a very Happy New Year to all present in the Forum, I am using PIC24FJ128GA310 controller for my ADC operation. I am using 8 MHz as primary & 32 KHz secondary oscillator. I am using...

View Article

PIC24 Using SPI on XIDE 3.30 and Code Configurator: Where To Begin ?? (Sean972)

Hi, I'm relatively new to Microchip's PIC24FJ128GA202 (28-pin DIP) family and will use 2 SPI (both master mode) & 4 UARTs for my current project. On SPI arrangement, SPI1 will be used as output...

View Article

Generating Multiple Synchronized Square Waves with PIC24 (fsonnichsen)

I have an signal timing problem here and thought maybe someone could point me in the right direction to solve it. (Hope I am not overextending the purpose of this forum). I have to generate 3...

View Article


PIC24 Using SPI on XIDE 3.30 and Code Configurator: Where To Begin ?? (Sean972)

Can someone help explain or point to the right direction on the following macro that was generated for SPI1.c when I used MCC ? I was unable to locate it from XC16 C Compiler user's guide.inline...

View Article


My first CANOpen project (CinziaG)

(duplicate from ) Going to approach my first CANOpen device! What would you advice as a bootloader?I can see thishttp://ww1.microchip.com/downloads/en/AppNotes/00247a.pdfbut we need a PIC24 one. I can...

View Article

USB MCC USBUSARTIsTxTrfReady false after one putrsUSBUSART() (DaveQ)

I am using a PIC24FJ64GB002 and made use of MCC to generate the USB device code. In my Main() while loop, I can send a string to my PC (a terminal program) over and over with no problems. If I try to...

View Article

I2C3 Module in PIC24FJ not working (richi_d)

Hello, has anyone a solution? I enable the I2C3 module from a PIC24FJ256GA108 by setting the EN bit, but it doesn´t turn on... I2C3CONbits.I2CEN = 1;I2C3BRG = 37; //400kHz..

View Article

Setting up a PIC24FJ128GA010 for external oscillator (oldguy)

Hi I am using a PIC24FJ128GA010 MPLABX IDE 3.35, a Real ICE and mostly write in assembly language. During development of the current project, I used the internal oscillator of the chip using the...

View Article


Control PORTB on PIC24 (and debug!) (Dunedevil)

I'm struggling to control PORTB, bit 13 - and align debug with PORTB status while debugging. I'm using mplabx 3.45, XC16 1.26, MCC for setup, PICKIT3 and PIC24FV32KA302 QFN. while (1) { PORTB = 0xFFFF;...

View Article

ADC issue (TexasTony)

I've programmed the ADC in 8-bit microchip controllers before, but I've spent 2 days trying to get the ADC on my PIC24FJ64GA702 to work. I start the conversion but it never finishes, staying hung. I am...

View Article


PIC24FJ256GB406 Bootloader example (acarpenter628)

Is there an example somewhere of a project for the PIC24FJ256GB406 (or another member of that family) as a bootloader with the alternate interrupt vector table working? Even just the AIVT would be a...

View Article

PIC24F - Bootloader multi-protocol (DPerez)

Hello there,first of all, I do not know if there is the right place in the forum to put this topic, so forgive me if that is true. Anyway, comming back to the topic, we are working on a bootloader...

View Article


PIC24FJ128GA202 SPI for Read (SCK, SDI, SS) only (Sean972)

Hi, I'm using PIC24FJ128GA202 to read a Paralllel-In-Serial Out chip 74LS165 via SPI that is se up as the master. I've configured to this interface with 3-wire: SDI, SCK & SS.My problem encountered...

View Article

PIC24FJ256GB110 - USB HID mouse (thinkquest)

Hi, I'm trying to run the USB HID mouse host demo code using the explorer 16 board. Basically I am trying to simulate a mouse but the explorer 16 says "attach mouse". From the mla help pdf it says that...

View Article

pic24fj256gb110 and CSI-1 Serial Converter (Kiyoshi7)

Hey, I have a project where I want a pic to send images from a camera through an xbee (or other transceiver) to another pic connected to my computer(via usb) where I want to see the video feed. 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>