Author |
Message |
Topic: PIC16LF1823 TIMER1 and Sleep |
mharris27
Replies: 6
Views: 16841
|
Forum: General CCS C Discussion Posted: Mon May 23, 2011 6:20 am Subject: PIC16LF1823 TIMER1 and Sleep |
Thanks for the help PCM. Its much appreciated. |
Topic: PIC16LF1823 TIMER1 and Sleep |
mharris27
Replies: 6
Views: 16841
|
Forum: General CCS C Discussion Posted: Fri May 20, 2011 7:50 am Subject: PIC16LF1823 TIMER1 and Sleep |
Anyone? |
Topic: PIC16LF1823 TIMER1 and Sleep |
mharris27
Replies: 6
Views: 16841
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 2:39 pm Subject: PIC16LF1823 TIMER1 and Sleep |
okay... I have reworked the code a bit but I still cant get it to work right. Can anyone tell me where I have went astray?
MPLAB Ver 8.63
CCS Compiler Ver 4.121
The theory behind the code...
... |
Topic: Power consumption in SLEEP mode |
mharris27
Replies: 12
Views: 19713
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 1:49 pm Subject: Power consumption in SLEEP mode |
Just throwing it out there because it happened to me....you do have your programmer disconnected right? |
Topic: PIC16LF1823 TIMER1 and Sleep |
mharris27
Replies: 6
Views: 16841
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 9:36 am Subject: PIC16LF1823 TIMER1 and Sleep |
Thanks for the quick reply Ttelmah!
I have updated the code and its working better but there still seems to be a timing issue.
#include <16lf1823.H>
#device ICD=TRUE
#fuses INTRC_IO ... |
Topic: PIC16LF1823 TIMER1 and Sleep |
mharris27
Replies: 6
Views: 16841
|
Forum: General CCS C Discussion Posted: Wed May 18, 2011 7:56 am Subject: PIC16LF1823 TIMER1 and Sleep |
Hello all,
I am trying to setup timer1 to wake up the pic from sleep using a 32khz xtal on the OSC1 and OSC2 pins. I can see the oscillator running while the pic is sleeping so I believe I am succe ... |
Topic: Interfacing two PIC24's together |
mharris27
Replies: 4
Views: 3612
|
Forum: General CCS C Discussion Posted: Thu Dec 04, 2008 12:53 pm Subject: Interfacing two PIC24's together |
Thanks for the response...I have looked at the .c file that you recommended...the problem is this. The PIC24H256GP210 does not recognize the #INT_SSP or any of the enable_interrupts commands. I have l ... |
Topic: Interfacing two PIC24's together |
mharris27
Replies: 4
Views: 3612
|
Forum: General CCS C Discussion Posted: Thu Dec 04, 2008 12:14 pm Subject: Interfacing two PIC24's together |
Has anyone successfully been able to interface two PIC24 micro's togther using I2C?
I am trying but I have little experience with the I2C protocol. I can find lots of info on interfacing a pic24 wi ... |
Topic: 24HJ256GP210 and progammable port pull-ups |
mharris27
Replies: 6
Views: 15822
|
Forum: General CCS C Discussion Posted: Mon Mar 24, 2008 7:56 am Subject: 24HJ256GP210 and progammable port pull-ups |
If it a device supporting 'per pin' pull-ups, then the syntax is:
port_d_pullups(0xFF);
To turn them all on. 'True', or '1' will only turn on the one on the lowest pin.
However it is most lik ... |
Topic: 24HJ256GP210 and progammable port pull-ups |
mharris27
Replies: 6
Views: 15822
|
Forum: General CCS C Discussion Posted: Mon Mar 24, 2008 7:03 am Subject: 24HJ256GP210 and progammable port pull-ups |
Hey all,
I have yet another problem with either the PIC24 uP or CCS. I don't know which. I am trying to pull-up the port D pins with software but it's not happening. I get .2v max on the port pins ... |
Topic: 24HJ256GP206 problems with I2C slave |
mharris27
Replies: 2
Views: 3931
|
Forum: General CCS C Discussion Posted: Mon Mar 24, 2008 6:39 am Subject: 24HJ256GP206 problems with I2C slave |
I am using the 24HJ256GP206 micro. I upgraded the CCS compiler to the lastest version and that seems to have solved my problem.
Thanks,
Mike |
Topic: 24HJ256GP206 problems with I2C slave |
mharris27
Replies: 2
Views: 3931
|
Forum: General CCS C Discussion Posted: Fri Mar 21, 2008 10:41 am Subject: 24HJ256GP206 problems with I2C slave |
Hello all,
For some reason when I insert this #use statement into my code
#use i2c(Slave,sda=PIN_F4,scl=PIN_F5,address=0xa0)
the CCS compiler reports this:
*** Error 99 "LCD_Micr ... |
Topic: PIC18F4320 and sleep intrrupt |
mharris27
Replies: 9
Views: 10225
|
Forum: General CCS C Discussion Posted: Wed Apr 27, 2005 10:01 am Subject: PIC18F4320 and sleep intrrupt |
Thanks |
Topic: PIC18F4320 and sleep intrrupt |
mharris27
Replies: 9
Views: 10225
|
Forum: General CCS C Discussion Posted: Wed Apr 27, 2005 8:25 am Subject: Please evaluate this. |
I have written this code to sleep for 30 secs and then wake up when the counter hits the correct value. I want to use the 32.768KHz xtal when it is sleeping. Problem is that this code does not keep th ... |
Topic: PIC18F4320 and sleep intrrupt |
mharris27
Replies: 9
Views: 10225
|
Forum: General CCS C Discussion Posted: Mon Apr 25, 2005 10:01 am Subject: PIC18F4320 and sleep intrrupt |
Hello all,
My current project requires this chip to sleep and then wake up on its own. My problem is this, I need it to wake up anywhere from 10 seconds to 10 days. I want to use the external 32KHz ... |
|