Author |
Message |
Topic: RTC rollover problem [solved] |
lokinhas
Replies: 3
Views: 5059
|
Forum: General CCS C Discussion Posted: Fri Jul 23, 2010 11:08 am Subject: RTC rollover problem [solved] |
turantus thanks for the solution.
I had the same problem, and i solved it with your code.
You should change the PIC name to 18F26j11, so that people find this topic faster...
this is the code ... |
Topic: PIC16F616 timer 1 wake up from sleep |
lokinhas
Replies: 7
Views: 20798
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 5:32 pm Subject: PIC16F616 timer 1 wake up from sleep |
Thanks for all the help! Problem finally resolved! |
Topic: PIC16F616 timer 1 wake up from sleep |
lokinhas
Replies: 7
Views: 20798
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 5:15 pm Subject: PIC16F616 timer 1 wake up from sleep |
Ok. Then can i use the internal oscillator to run the PIC and the external crystal for the timer1? Any idea of the capacitors i should use for the external clock?
Thanks for the help. |
Topic: PIC16F616 timer 1 wake up from sleep |
lokinhas
Replies: 7
Views: 20798
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 5:08 pm Subject: PIC16F616 timer 1 wake up from sleep |
Forgot to tell that i'm using an external clock, and not a the internal clock as said in the 1st post. |
Topic: PIC16F616 timer 1 wake up from sleep |
lokinhas
Replies: 7
Views: 20798
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 5:06 pm Subject: PIC16F616 timer 1 wake up from sleep |
Sorry, but i posted the wrong code, this is the code i'm using.
#include <16F616.h>
#fuses LP
#fuses WDT
#fuses NOPROTECT
#fuses PUT //Delay de 64ms
#fuses MCLR
#fuses BROWNOUT ... |
Topic: PIC16F616 timer 1 wake up from sleep |
lokinhas
Replies: 7
Views: 20798
|
Forum: General CCS C Discussion Posted: Wed Feb 11, 2009 3:48 pm Subject: PIC16F616 timer 1 wake up from sleep |
Hi there!
I´m using a PIC16F616 that is always in sleep mode, and will wake up every time 1 second pass. It works with the internal 32kHz clock, and uses timer1 to generate an interrupt. The problem ... |
|