Search found 10 matches
- 10 February 2015, 13:34 PM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
- 10 February 2015, 13:32 PM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
- 10 February 2015, 12:46 PM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
- 10 February 2015, 6:43 AM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
Is there a way to maintain a timed loop while using CPUSleep with the WatchDog interrupt? I am trying to do one task every four minutes and another task every hour, but I can't figure out a way to do this. The Watchdog is set to wake from CPUSleep every four seconds, but often it wakes immediately. ...
- 07 February 2015, 14:12 PM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
- 07 February 2015, 6:05 AM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
Sorry about the typos. It was a long day and I had tried a bunch of variations. I must have hit the undo button too many times. However, I am still having the same problem with the COM ports. The following works fine on the ZX-24r, but when I switch to the ZX-24s the COM 3 output is garbled (checked...
- 06 February 2015, 18:10 PM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
- 06 February 2015, 9:40 AM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
Thanks Don! I have your example running on the ZX-24s you just sent. Now I just need to figure out how to get the ZX-24r code to run on the ZX-24s. I changed the target and compiled, but it will not run. I am about to start from scratch and piece it together. Are there any obvious tricks to porting ...
- 05 February 2015, 9:21 AM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
- 05 February 2015, 7:35 AM
- Forum: ZX-24
- Topic: WatchDog Interrupt CPUSleep
- Replies: 16
- Views: 6291
WatchDog Interrupt CPUSleep
With the following code, the processor resets after WatchDog timeout instead of just waking from CPUSleep. What am I missing? Sub Main() debug.print "STARTUP" 'TURN SOME STUFF OFF TO POWER SAVE 'Register.ADCSRA = Bx0111_1111 'disable ADC 'Register.ACSR = Bx1000_0000 'disabl...