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

Deep Sleep wakeup for PIC24F32KA301 (Ben Huang)

Could I wake up the PIC24F device from Deep Sleep by Change Notification feature enabled on INT0 PIN (CN23)?Or if not, how could I configure the IO to receive such kind of changes (positive or negative...

View Article


PIC24FJ256GA106 Bootloader - AN1157 (DDmytro)

Hello, I am currently working on getting a bootloader to work with my PIC24FJ256GA106, using the AN1157 bootloader information provided by Microchip. I am running into a problem where I cannot even...

View Article


Fail to write port B RB7 (aurelien)

Hello,I use a PIC24FH64GB002. I manage to write all other bits of port B except RB7. I configured TRISB as digital output (TRISB=0 and AD1PCFG = &1FFF). This pin is shared with INT0 but I don't use...

View Article

Need help to stabliaze ISO-14443A communication with AS3953 and...

Hallo,I am an Student and new here in this Forum.I am continuing an data transmission with ISO-14443A.I use Ubuntu Linux and have already installed MPLAB X.I am able to Debug the project. and receve...

View Article

PICKit 3 needs aligned rows for programming? (Tros)

I'm writing a boot-loader and application, in two different projects, with linker scripts to make the two compatible. For reference, these modifications were applied to copies of...

View Article


Brown Out Reset not activating at low voltage before code runs wild on...

On several PIC24FJ256GB106 parts we are finding that as 3.3 volts drops during power down, the code is running wild before the Brown Out Reset (BOR) becomes active at 2.1 volts and stops code...

View Article

uart receive PIC24F (PinGNU)

HiI can not get Uart receive working on a PIC24FV32KA302 I can get transmit to work also when I put it into loopback receive works. I am using xc16 compiler as it will not build on any other compiler I...

View Article

I2C Troubles (DRobertson)

Hello all, I am bashing my head against a wall here trying to determine what I might be doing wrong while attempting to get I2C communications up and running. I have put more hours into trying to...

View Article


PIC24FV32KA302 and C30 compiler (PinGNU)

Hi Am I right in assuming the C30 compiler dose not support 24FV32KA302 I get the following errorpic30-elf-cc1.exe: error: Invalid -mcpu option. CPU 24FV32KA302 not recognized. When looking at the spec...

View Article


Storing and Using Variable Data (DRobertson)

Hey guys, I am afraid I may have put the cart before the horse in putting together my first "real" project. I have built a few simple "blinky" type projects, and a couple other similarly simple builds,...

View Article

PIC24FJ64GB002 and VREF+ (aurelien)

Hello,I would use VREF with AD converter , I know it's shared with RA0/AN0 to pin 2. I use AN1 as analog input. I wired a 2.5V voltage reference with a 47 kohm pull up resistor to +3.3V. But when I...

View Article

Erasing directories w. Microchip's "eraseDir()" on SD card - plus couple more...

I'm nearing the end of a pretty involved project using a custom 24F together with an SD card read/write datalog and a USB mass storage capability. I want to thank people here for their help in getting...

View Article

PIC24FJ64GB002 USB CONFIG Question (thor)

Hello I am trying to teach myself USB using the PIC24FJ64GB002. I found this tutorial on codewrite for the 16F1455 which seems to be really helpful for getting started since most of the other tutorials...

View Article


Can't get pin RB4 or RA4 working on a 24F32ka301 (ntmid8r)

Hi everyone- I can't get pins RA4 or RB4 to work as outputs on a 24F32KA301. I can get RA3 to work. Any ideas would be appreciated! Thanks! Here is my code! #include "p24f32ka301.h"...

View Article

PIC24FJ64GA002 negative status flag inverted in byte mode (SPKSmithy)

Hi, I'm trying to compare 2 numbers to see if one of them is greater than the other but when I use CP.B the N flag isn't acting how I expected MOV #200, W0MOV W0, fileRegMOV #5, W0CP fileReg ;fileReg -...

View Article


Better Bootloader re-entry method? (Christopher Bootloader X)

Hello everyone,I am looking for a better and more stable and reliable way of re-entering the Bootload Mode for my pic24FJ256GA110/106.Right now this is what I use to re-enter Bootload Mode:T1CON = 0;...

View Article

how to run demo code on MPLAB X? (Rulin Song)

hi guys, recently, I have been told to develop a program on board with PIC24FJ128GC010 microprocessor. I am new to the PIC world, so I intend to start from the demo code first, so that I can see...

View Article


pic24hj64gp502 CN interrupt not working! (Nima Eskandari)

Here is how i setup the Interrupt:TRISB = 0xFFFF; INTCON1bits.NSTDIS = 0; CNEN1bits.CN4IE = 1; CNEN1bits.CN5IE = 1; CNEN1bits.CN6IE = 1; CNEN1bits.CN7IE = 1; CNPU1bits.CN4PUE = 1; CNPU1bits.CN5PUE = 1;...

View Article

can we use SDO & SCK pins to receive the external data by I2C protocol?...

hi guys, my current task is to use the external sensor (HAMAMATSU Digital color sensor S11059-02DT, I2C interface-compatible color sensor) connected with pin SDO, SCK, VSS and VDD to send the...

View Article

PIC24FV16KM204 Erase function does not work (njoshi)

Hi all, I am a new member of the microchip community forum. I am trying to get the bootloader working for the PIC24FV16KM204 and I used the AN1157 as a reference. The trouble I am facing is with 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>