[atmega8] Can't wake up from sleep mode

Jul 21, 2005 0 Replies

Hi.



I am working with Atmega8 and I installed Timer/Count2 interrupt service routine. Following the Atmega8 manual, it is possilble that Timer/Count2 ISR can wake up sleep mode(power save)if AS2 is set in ASSR.



But, My code never wake up.



#include #include #include #include



void Uart_Put_Char(unsigned char data) { while ( !( UCSRA & (1


Join the Discussion

Have something to add? Share your thoughts — no account required.

Didn't find your answer?

Ask the community — no account required