Skip to main content
Visitor II
December 1, 2003
Question

St7FLite leaves Halt mode 'without' cause

  • December 1, 2003
  • 2 replies
  • 585 views
Posted on December 01, 2003 at 03:42

St7FLite leaves Halt mode 'without' cause

    This topic has been closed for replies.

    2 replies

    delser9Author
    Visitor II
    November 28, 2003
    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
    delser9Author
    Visitor II
    December 1, 2003
    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.