cancel
Showing results for 
Search instead for 
Did you mean: 

St7FLite leaves Halt mode 'without' cause

delser9
Associate II
Posted on December 01, 2003 at 03:42

St7FLite leaves Halt mode 'without' cause

2 REPLIES 2
delser9
Associate II
Posted on November 28, 2003 at 10:48

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 Capone
delser9
Associate II
Posted on December 01, 2003 at 03:42

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.