Author |
Message |
Topic: 12F629 @ 32kHz - driving me barmy! |
dazlogan
Replies: 16
Views: 32462
|
Forum: General CCS C Discussion Posted: Wed Apr 21, 2004 1:15 am Subject: 8-) |
Hi,
Errrr, do I detect a hint of sarcasm? (yes, of course I do)
The reasons I post such questions are:
a/ I've found that 10-15% of the time, problems are due to bugs in the compiler ... |
Topic: 12F629 @ 32kHz - driving me barmy! |
dazlogan
Replies: 16
Views: 32462
|
Forum: General CCS C Discussion Posted: Tue Apr 20, 2004 6:09 pm Subject: 190uA!? |
Hi,
Sorry to drag this thread up again.
I've got the 12F629 being driven by a 32kHz crystal. With only the PIC attached to a 3V, I am finding a current draw of about 190uA.
(I know the PIC is ... |
Topic: hmmm |
dazlogan
Replies: 2
Views: 10068
|
Forum: General CCS C Discussion Posted: Fri Apr 16, 2004 10:59 am Subject: hmmm |
interesting
i just plopped a new 12F629 in me PICStart and uploaded some code
im using MPLAB 6.4
just before the end of the programming, MPLAB puts up a message box saying "Calibration value ... |
Topic: 12F629 @ 32kHz - driving me barmy! |
dazlogan
Replies: 16
Views: 32462
|
Forum: General CCS C Discussion Posted: Thu Apr 15, 2004 2:52 pm Subject: Oh dear |
Hi,
Thanks for watchdog trick, but as the poster above says, it is inaccurate and I do need a certain amount of accuracy.
The PIC needs to count up to 6 months (183 days) - the tolerance on this ... |
Topic: 12F629 @ 32kHz - driving me barmy! |
dazlogan
Replies: 16
Views: 32462
|
Forum: General CCS C Discussion Posted: Wed Apr 14, 2004 4:55 pm Subject: 12F629 @ 32kHz - driving me barmy! |
Hi,
Please help before I jump out of the window...
I have a PIC12F629 running at 3V with a 32kHz watch crystal as the clock.
I simply want to put the PIC to sleep() and wake up on a timer 1 o ... |
Topic: The application |
dazlogan
Replies: 2
Views: 10533
|
Forum: General CCS C Discussion Posted: Sat Apr 10, 2004 4:42 am Subject: The application |
sorry, the above was supposed to be a reply to my PIC12F629 thread!
|
Topic: 12F629 @ 32kHz with Cr2032 battery |
dazlogan
Replies: 4
Views: 14140
|
Forum: General CCS C Discussion Posted: Sat Apr 10, 2004 4:41 am Subject: The application |
Hi,
Thanks for your ideas so far.
The application is a simple timer, it must count for a period of 6 months and then let the user know 6 months has ellapsed by flashing an LED.
During the ... |
Topic: The application |
dazlogan
Replies: 2
Views: 10533
|
Forum: General CCS C Discussion Posted: Sat Apr 10, 2004 4:41 am Subject: The application |
Hi,
Thanks for your ideas so far.
The application is a simple timer, it must count for a period of 6 months and then let the user know 6 months has ellapsed by flashing an LED.
During the six ... |
Topic: 12F629 @ 32kHz with Cr2032 battery |
dazlogan
Replies: 4
Views: 14140
|
Forum: General CCS C Discussion Posted: Fri Apr 09, 2004 4:10 am Subject: 12F629 @ 32kHz with Cr2032 battery |
Hi,
I need to power a 12F629 running at 32kHz for at least 9 months with a CR2032 coin cell (about 200mA hour).
I believe the 629 will still run down to a 2V supply, so my question is, can I sup ... |
Topic: Timer 1 not interrupting (PIC12F629 with 32kHz crystal) |
dazlogan
Replies: 3
Views: 11487
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2004 1:36 am Subject: code |
here's the code by the way which works:
int a;
// timer 1 interrupt, triggers every 8 seconds
#int_TIMER1
TIMER1_isr() {
a++;
}
// main function
void main( ... |
Topic: Timer 1 not interrupting (PIC12F629 with 32kHz crystal) |
dazlogan
Replies: 3
Views: 11487
|
Forum: General CCS C Discussion Posted: Tue Mar 30, 2004 1:28 am Subject: 8-) |
It seems to be working now, i am getting an 8 second interrupt which is correct.
Now how do I get the chip to wake up from sleep on a timer 1 interrupt?
Thanks
Regards,
Darren |
Topic: Timer 1 not interrupting (PIC12F629 with 32kHz crystal) |
dazlogan
Replies: 3
Views: 11487
|
Forum: General CCS C Discussion Posted: Mon Mar 29, 2004 4:16 pm Subject: Timer 1 not interrupting (PIC12F629 with 32kHz crystal) |
Hi,
PIC = 12F629
Clock = 32kHz crystal (LP mode)
PCM = V3.153
Using MPLAB 6.4 & simulator, I cannot get timer 1 to fire.
Here's the simple code:-
#include <12F629.h>
#use ... |
Topic: Low voltage/low power design help needed |
dazlogan
Replies: 10
Views: 23672
|
Forum: General CCS C Discussion Posted: Thu Mar 25, 2004 5:30 pm Subject: Assistance appreciated |
Hi all,
Im going to use a PIC12LC518 running at 32kHz but still need assistance with a/ the battery type and b/ crystal selection.
There will be no other ic's, just the PIC running at 32kHz.
... |
Topic: ? |
dazlogan
Replies: 4
Views: 12976
|
Forum: General CCS C Discussion Posted: Tue Mar 23, 2004 6:52 pm Subject: 8-)) |
Superb thank you!.
(I should have looked myself but didn't think it would be posted on here).
Regards,
Darren |
Topic: ? |
dazlogan
Replies: 4
Views: 12976
|
Forum: General CCS C Discussion Posted: Tue Mar 23, 2004 5:50 pm Subject: 8-) |
ok, i'll give them a try but I can't see a justification in upgrading the compiler (i.e. a cost) if all that is required is a couple of text files!?
i bought the compiler back when it was version 2 ... |
|