cancel
Showing results for 
Search instead for 
Did you mean: 

Active halt low power mode

design
Associate
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
3 REPLIES 3
pierreandre
Associate II
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.

design
Associate
Posted on November 12, 2013 at 12:20

Hi,

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

chuanut4
Associate II
Posted on November 21, 2014 at 12:23

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