Yahoo Groups archive

AVR-Chat

Index last updated: 2026-04-28 22:41 UTC

Message

RE: [AVR-Chat] Code stuck waiting for SPI transmission but only after power-up. (ATMega644P)

2010-03-14 by Cat C

The voltage is fine once it's up, everything works after a reset.

I tried the counter approach and it did tell me it timed out.
However, I had to revert to no-timer so it gets stuck there so the watchdog doesn't get kicked, so I get a reset and then it works :-)

Thanks,

Cat

> To: AVR-Chat@yahoogroups.com
> From: firewevr@airmail.net
> Date: Sat, 13 Mar 2010 19:11:15 +0000
> Subject: Re: [AVR-Chat] Code stuck waiting for SPI transmission but only after power-up. (ATMega644P)
> 
> My two cents:
> 
> I find it helpful to provide the CPU with its very own voltage 
> regulator (something like a 78L05 is sufficient) to be very helpful.
... 
> Any routine I write that depends on a response from a peripheral is
> also coded with a counter to act as a timer.  The number of counts
...
 		 	   		  

[Non-text portions of this message have been removed]

Attachments

Move to quarantaine

This moves the raw source file on disk only. The archive index is not changed automatically, so you still need to run a manual refresh afterward.