|
From: | Peter Hierholzer |
Subject: | AW: [avr-gcc-list] Timer Interrupt Problem on ATmega 103L |
Date: | Thu, 27 May 2004 17:37:19 +0200 |
Hi Andrew, a possible additional cause of your problem might be In page 42 in http://www.atmel.com/dyn/resources/prod_documents/Doc0945.pdf it is written that after setting the ASSR bit the TCNT0 might get corrupted. If this corruption sets the TOV0 bit in the TIFR register an interrupt is pending. All further TOV0 interrupts are blocked. Can you check whether the TOV0 bit in the TIFR is already set when you activate the global ints with sei(); mfg Peter
[Prev in Thread] | Current Thread | [Next in Thread] |