At 09:28 PM 22/01/04 -0500, you wrote:
>
>Finally, the WDT in the M8 appears to be resetting me at 500mS intervals,
>even though it's set for 2S, according to the data sheet.
>(0x0F in WDTCR)
Are you doing the hot shoe shuffle before setting the WDT?
ldi r16,(1<<wdce)|(1<<wde) ;Start WD change timed sequence
out wdtcr,r16
ldi r16,(1<<wde)|(1<<wdp2)|(1<<wdp1)|(1<<wdp0)
out wdtcr,r16
Otherwise the time may be wrong.
Just a thought :-)
Regards
John Samperi
******************************************************
Ampertronics Pty. Ltd.
11 Brokenwood Place Baulkham Hills, NSW 2153 AUSTRALIA
Tel. (02) 9674-6495 Fax (02) 9674-8745
Email: samperi@ampertronics.com.au
Website http://ampertronics.com.au
* Electronic Design * Technical Services * Contract Assembly
******************************************************Message
Re: [AVR-Chat] SPI on Mega-8
2004-01-23 by samperi@ampertronics.com.au
Attachments
- No local attachments were found for this message.