>Are you sure, you want to do this with the watchdog timer? Isn't the
>watchdog timer only able to generate a reset?


Thanks for your code Erich. I was keen to use the watchdog timer because it
works with the lowest power mode (power down) and doesn't need external
components.

It seems to be a fairly common method. The watchdog can either generate a
reset or trigger an interrupt, or both. This interrupt can also be used as
a wake up from power down. (At least on the 324P that I'm using).

The other way I was considering was with timer 2 in synchronous mode (so I
don't need external components) and use power save mode. Did you ever look
at synchronous mode?

Many thanks,

David
------------------------------------------------------------------------------
October Webinars: Code for Performance
Free Intel webinars can help you accelerate application performance.
Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from 
the latest Intel processors and coprocessors. See abstracts and register >
http://pubads.g.doubleclick.net/gampad/clk?id=60134071&iu=/4140/ostg.clktrk
_______________________________________________
Amforth-devel mailing list for http://amforth.sf.net/
Amforth-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amforth-devel

Reply via email to