Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

AN2857 Datasheet(PDF) 14 Page - STMicroelectronics

Part # AN2857
Description  STM8S and STM8A family power management
PDF  31 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  STMICROELECTRONICS [STMicroelectronics]
Direct Link  http://www.st.com
Logo STMICROELECTRONICS - STMicroelectronics

AN2857 Datasheet(HTML) 14 Page - STMicroelectronics

Back Button AN2857 Datasheet HTML 10Page - STMicroelectronics AN2857 Datasheet HTML 11Page - STMicroelectronics AN2857 Datasheet HTML 12Page - STMicroelectronics AN2857 Datasheet HTML 13Page - STMicroelectronics AN2857 Datasheet HTML 14Page - STMicroelectronics AN2857 Datasheet HTML 15Page - STMicroelectronics AN2857 Datasheet HTML 16Page - STMicroelectronics AN2857 Datasheet HTML 17Page - STMicroelectronics AN2857 Datasheet HTML 18Page - STMicroelectronics Next Button
Zoom Inzoom in Zoom Outzoom out
 14 / 31 page
background image
Run and low-power modes
AN2857
14/31
Doc ID 15241 Rev 3
4.2.3
Activation level/low-power mode control
In a very low-power application, the MCU spends most of the time in WFI/halt mode and is
woken up (through interrupts) at specific moments to execute particular tasks. Some of
these tasks are recurring and short enough to be treated directly in an interrupt service
routine (ISR), rather than returning to the main program. In this case, setting the AL bit
before going to wait mode, ensures the run time/ISR execution is reduced because the
‘context’ (core register content) is not saved/restored each time.
In very simple applications, all operations can be executed in ISR only. In more complex
applications, an interrupt routine may relaunch the main program by resetting the AL bit.
The activation level/low-power mode control feature works only with wait mode. It is not
available for active halt or halt mode.
4.3
Active halt mode
Active halt mode can be defined as a ‘hybrid’ mode between run and halt mode. It is
composed of two phases:
●
Halt phase: In this phase, the MCU is in halt mode except that the AWU unit and the
LSI clock are kept running if they are used as the AWU clock source.
●
Active phase: In this phase, the MCU is in run mode.
When entering active halt mode, the AWU counters start to run. The AWU interrupt wakes
up the CPU at regular programmed intervals. Once the device is in run mode the AWU
counters are stopped.
Figure 3.
Active halt diagram
In active halt mode during halt phase, the user can choose the regulator (either MVR or
LPVR) and the Flash state (either operating or power-down mode). Using the LPVR and
putting the Flash in power-down mode reduces power consumption, but, increases wakeup
time.
Active halt mode is very useful for reducing average consumption of a battery based
application.
Run
Halt phase
AWU time interval
AWU interrupt
MCU state
Run
Go to halt mode
ai15046



Html Pages

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31


Datasheet Download

Go To PDF Page


Link URL



Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link to Datasheet    |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com