2003-11-30 06:42 PM
St7FLite leaves Halt mode 'without' cause
2003-11-28 01:48 AM
Hello,
I'm working with the ST7FLite29, trying to make running the AVD detection (lowest voltage threshold). As soon as the AVDF is active, the 'Halt' mode is entered. Problem: when the voltage on the mcu supply falls to about 3.2V the AVD is active, and Halt mode is entered. That works fine! But when the voltage rises again, the mcu leaves the 'Halt' mode, apparently without any interrupt waking it up. SPI interrupt is disabled, external I/0 interrupts are directed on outputs, therefore there should not be any interrupts at all, appart from the timer interrupt which is also disabled before entering 'Halt' mode. By the way: the voltage never falls below LVD threshold. That means there is no LVD Reset. Anybody an idea what may be wrong? Thank you for all hints! Al Capone2003-11-30 06:42 PM
It's me again.
Solution found! If you wanna use AVD in order to put the mcu in 'Halt' mode, just place the 'Halt' command inside the AVD interrupt routine.