PIC18F1320 and wake-up
CASTalk.com Forum Index CASTalk.com
Discussion of DSP, FPGA, storage and embedded system.
 
 FAQFAQ   MemberlistMemberlist     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 
 
Google
 
Web castalk.com
PIC18F1320 and wake-up

 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System
Author Message
simon
Guest





Posted: Thu Jan 06, 2005 8:10 pm    Post subject: PIC18F1320 and wake-up Reply with quote

Hello, can anyone help please?

I have code that executes on wake-up from a port interrupt with the CPU
clocked from the Internal oscillator block at 4 MHz. This works fine.

I've now got to add a function whereby every 15 minutes, the CPU wakes
to send a signal to a remote unit to say 'I'm still working' and then
revert to sleep. Low power consumption is a priority with this project.

The 16F684 (and others) have the Ultra Low-power Wake-up (ULPWU) module
and I know I can implement this function externally but having looked
through the data sheet I'm sure this can be done within the CPU, say,
using the SEC_IDLE mode.

Enlightenment would be most welcome.

Cheers,
Simon
Back to top
Luhan Monat
Guest





Posted: Sat Jan 08, 2005 4:59 am    Post subject: Re: PIC18F1320 and wake-up Reply with quote

simon wrote:
Quote:
Hello, can anyone help please?

I have code that executes on wake-up from a port interrupt with the CPU
clocked from the Internal oscillator block at 4 MHz. This works fine.

I've now got to add a function whereby every 15 minutes, the CPU wakes
to send a signal to a remote unit to say 'I'm still working' and then
revert to sleep. Low power consumption is a priority with this project.

The 16F684 (and others) have the Ultra Low-power Wake-up (ULPWU) module
and I know I can implement this function externally but having looked
through the data sheet I'm sure this can be done within the CPU, say,
using the SEC_IDLE mode.

Enlightenment would be most welcome.

Cheers,
Simon
Hi,


I've done several projects like this that need to save power.

1) Set up with WDT for the longest time (about 2 seconds).

2) Wake up every 2 seconds and count time - if not done, go back to sleep.

3) When you get to your count. Do the job. Then go back to sleep.



--
Luhan Monat (luhanis 'at' yahoo 'dot' com)
"The future is not what it used to be..."
http://members.cox.net/berniekm
Back to top
simon
Guest





Posted: Mon Jan 10, 2005 2:00 pm    Post subject: Re: PIC18F1320 and wake-up Reply with quote

In message <MvEDd.15101$yW5.2222@fed1read02>, Luhan Monat <x@y.z> writes
Quote:
simon wrote:
Hello, can anyone help please?
I have code that executes on wake-up from a port interrupt with the
CPU clocked from the Internal oscillator block at 4 MHz. This works
fine.
I've now got to add a function whereby every 15 minutes, the CPU
wakes to send a signal to a remote unit to say 'I'm still working'
and then revert to sleep. Low power consumption is a priority with
this project.
The 16F684 (and others) have the Ultra Low-power Wake-up (ULPWU)
module and I know I can implement this function externally but having
looked through the data sheet I'm sure this can be done within the
CPU, say, using the SEC_IDLE mode.
Enlightenment would be most welcome.
Cheers,
Simon
Hi,

I've done several projects like this that need to save power.

1) Set up with WDT for the longest time (about 2 seconds).

2) Wake up every 2 seconds and count time - if not done, go back to sleep.

3) When you get to your count. Do the job. Then go back to sleep.




Thanks,
Simon
Back to top
 
Post new topic   Reply to topic    CASTalk.com Forum Index -> Embedded System All times are GMT
Page 1 of 1

 
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum




VoIP Electronics Powered by phpBB