Electronic Components Datasheet Search
  English  ▼

X  

AN2857 Datasheet(PDF) 13 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) 13 Page - STMicroelectronics

Back Button AN2857 Datasheet HTML 9Page - STMicroelectronics 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 Next Button
Zoom Inzoom in Zoom Outzoom out
 13 / 31 page
background image
AN2857
Run and low-power modes
Doc ID 15241 Rev 3
13/31
4.1
Run mode
Run mode is the default functioning mode of STM8S and STM8A devices. This mode is
used for normal operations and consumes the most power. Use of PCG and low speed
clock sources reduce power consumption of the device in run mode.
Clock frequency can be slowed down in several ways. For example, the LSI clock can be
used as the fMASTER clock. To enable the MCU to run on the LSI clock, the LSI_EN option bit
must be set. Refer to the STM8S and STM8A datasheets (which are available on st.com) for
more details about the option byte configurations.
4.2
Wait mode
Wait mode, or more exactly wait for interrupt mode, is designed to reduce STM8S and
STM8A device power consumption by switching off the core when it is not used. Wait mode
is mainly used when the STM8S or STM8A device is waiting for an external or internal event
which allows the program to continue its execution. Instead of waiting for the event in run
mode, the device can be switched to wait mode. This mode can be used with PCG and with
a low speed clock source to further reduce power consumption of the device.
4.2.1
Entering wait mode
Wait mode is entered by executing the WFI assembly instruction. This stops the CPU, but,
allows other peripherals and the interrupt controller to continue to run.
When entering wait mode, the interrupts are automatically enabled.
4.2.2
Exiting wait mode
When an internal or external interrupt request occurs, the CPU wakes up from wait mode
and resumes processing. This mode offers the lowest wakeup time.
Examples of peripherals or features with interrupts having exit-from-wait capability include:
I2C
USART
SPI
CAN
ADC
AWU
External interrupt
Timers
Clock controller (clock switch execution)
Refer to the STM8S and STM8A reference manual for more details on the functioning of the
above peripherals and features. Refer to the STM8S and STM8A datasheets for availability
of above peripherals and features on particular devices.



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