Skip to main content
Visitor II
November 11, 2013
Question

Active halt low power mode

  • November 11, 2013
  • 3 replies
  • 1339 views
Posted on November 11, 2013 at 12:34

Hi

We are developing with STM8L152C6 microcontroller and debugging using the discovery board.

Our application uses a battery when there is no power. In this case, we need only two I/O interrupts and the LCD to be working.

We decided to run the microcontroller in the halt mode when we do not need to use the LCD and in active halt mode when it is required to use the LCD.

We are using stm8l libraries version 1.6.1 (released on 28-June-2013). To run the microcontroller in the halt mode we called the HALT instruction by calling the library function halt().

The question is

: how to configure the microcontroller to run in the active halt mode?

Thanks in advance

#stm8l-active-halt
    This topic has been closed for replies.

    3 replies

    Visitor II
    November 11, 2013
    Posted on November 11, 2013 at 16:01

    Hello,

    It is the same command to enter in active-halt or halt mode.

    From my point of view the ''halt'' mode is an ''active-halt'' mode without peripheral running. It is not the same behavior as LPM3 or LPM4 in MSP430.

    You have to manually disable the module like rtc/lcd/lse/... to disable them in ''halt'' mode.

    designAuthor
    Visitor II
    November 12, 2013
    Posted on November 12, 2013 at 12:20

    Hi,

    Thank you very much for your reply.I'll try to do that

    Visitor II
    November 21, 2014
    Posted on November 21, 2014 at 12:23

    Active halt like the halt mode but it operate with RTC peripheral.