PIC24F16KA101 (markzi61)
Can someone explain to me how to place all three bytes of data in program memory at certain location.I used this:int Patt1_Address[] __attribute__((space(prog),address(0x0B00))) =...
View ArticlePIC24FV32KA304 Interrupt based slave operation (KTrenholm)
Hi all,I'm working on getting an interrupt based I2C slave routine working on the PIC24FV32KA304.I am using MPLAB X 2.10 and the xc16 toolchain v1.21 (the I2C functions themselves are from C30, but I...
View Articleactivating INT0 pin on PIC24HJ64GP502 (Atkins)
I am interested in detecting body motion of a sleeping subject who is wearing on his/her wrist my PIC24H microcontroller connected to an accelerometer. I am only interested in detecting if body motion...
View ArticlePIC24FV16KM204 Assembly (Athosity)
Hi, I am considering writing my firmware using assembly language. I'm still using MPLAB IDE v8.89 and will be using PIC24FV16KM204 uCs. I looked at my MPLAB ASM30 folders and do not find an inc/gld...
View ArticlePIC24 Hardware CRC (NKurzman)
I am trying to get the CRC Generator for PIC24HJ128GP202 runningI am not having much Luck.A have a Table driven on, But I may need two polynomilas s why not the HWLooking at the Past Posts, I did not...
View ArticleUnable to get timer in Time Accumulation Mode working PIC24FJ128GC006 (jetloum)
I’m trying to measure pulse width with a Pic24Fj128GC006 by using Gated Time Accumulation Mode of a timer. But with no success. I never succeed to get an interruption on the falling edge of the pulse.I...
View ArticleProgrammable pin (Anupam)
I am new to pic, and i want use programmable pin (PGEC1 and PGED1 ) of PIC24FJ256GB106 as digital input output how can we do it?..
View ArticlePIC24HJ128GP506 not executing Commands beyond 6A00 (sympuls)
I've the problem mentioned in the title of the post: When the program counter reaches the address 6A00 no further command is executed. I can see this behaviour in debugger mode using ICD3. To observe...
View ArticleIOPUWR Illegal opcode or Uninitialized W access Reset Flag bit (semir_ver)
I developed my software using PIC24FJ32GA002 without issues.After that, I passed to bigger PIC24FJ64GA004 without any changesexcept port bits assignment.Now I have problem.With new PIC I got unwanted...
View ArticlePipeline ADC is not working in PIC24FJ128GC006 (semir_ver)
I am testing 12 bits AD inputs in PIC24FJ128GC006 using IDC3.I coppied example noted in ap. note 30686A (page 65-30)I use also 2 inputs and only difference is that I use FRC. My code ispresented below....
View ArticlePIC24 xc16 intractable problems with simple assembly programs (Cypress)
This program illustrates some of the seemingly intractable problems I've been having with assembly and this microcontroller (PIC24EP512GP202). C programming with this device has been relatively problem...
View ArticlePIC SPI (Anupam)
I am trying a basic PIC to PIC SPI using polling I am not using interrupt. I am trying to read from master and write from slave. I am getting a two cycle delay. I am using PIC 24F...
View Articlepic 18F67k22 sleep mode (sgenikuc)
Hi, How can I enter sleep mode ?Is there any example? Thanks,..
View ArticleVery strange: PIC24F32KA301 CTMU reading changes with ICD3 being...
Hi! I am using the following code to detect a touch sensor on a PIC24F32KA301: AD1CON1bits.ADON = 1; CTMUCON1bits.CTMUEN = 1;... AD1CHS = an; CTMUCON1bits.IDISSEN = 1; US; US; US; US; US; US; US; US;...
View ArticlePIC microcontroller with large amount of current source/sinking per pin?...
Looking to make a circuit with a latching relay and cut out unnecessary parts. So I'd like to activate the coil in the relay using microcontroller pins directly. The only other solution I thought of...
View ArticlePIC24FJ128GB202 Wrong part selection (zijo)
Microchip Advanced Part Selector For pic PIC24FJ128GB202 it saysSelf-Write Flash = No However in the documents it says; Self-Reprogrammable under Software Control, For pic PIC24FJ64GB002 it...
View Articlei need help for pic24 (aboodi abo abdulrahman)
what tools i need in order to program PIC24HJ128GP202also what development board do i need for student..
View ArticlePic24F Gated timer problem (jetloum)
Does anyone already use Gated timer with PIC24F ? I set the Gated pin as inputI set the Gated input as digitalI set the timer as describe in the document: 39704a.pdf I generate a signal to measure with...
View ArticleInternal Oscillator selection problem (Raady)
PIC24FJ64GA006MPLAB 8.88 Hi, I have encountered two problems one with oscillator selection and timer calculation For testing I am throwing timer clock data on lcd.I am able to use only FNOSC_FRCDIV...
View ArticleChip halts on CALL (SPKSmithy)
Hi, I'm using a PIC24FJ64GA002. Normally the CALL command works fine but I have a fairly large program and CALLing to 0x2AFE and above causes the PIC to halt. I've managed to replicate the problem with...
View Article