| Electronic Components Datasheet Search |
|
AN2857 Datasheet(PDF) 12 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
AN2857 Datasheet(HTML) 12 Page - STMicroelectronics |
|
12 / 31 page ![]() Run and low-power modes AN2857 12/31 Doc ID 15241 Rev 3 4 Run and low-power modes By default, after a reset, the microcontroller is in run mode. The default CPU clock is a 16 MHz HSI divided by eight due to the HSIDIV register reset value. Several low-power modes are available to save power when it is not needed to keep the CPU running, for example, when waiting for an external event. It is up to the user to select the mode that gives the best compromise between low power consumption, short startup time, good peripheral functionality, and availability of wakeup sources. STM8S and STM8A devices feature three main low-power modes: ● Wait mode (CPU stopped, peripherals kept running) ● Active halt mode (CPU stopped, AWU (auto wakeup) and IWDG (independent watchdog) kept running if activated). ● Halt mode (everything is stopped) Power consumption in run and wait mode can also be reduced by one of the following means: ● Slowing down the system clocks ● Gating the clocks to the peripherals when they are not used Table 3 summarizes the functioning modes of STM8S and STM8A devices. It gives an overview of the mode combinations which can be used to fit an application’s requirements in terms of consumption and wakeup time. Note: When the LPVR is used, the MVR is automatically switched off. Table 3. Functioning modes Mode Voltage regulator Flash Oscillators CPU Peripherals Entry Wake up trigger event Run MVR On On On On - - Wait MVR On On Off On Execute WFI(1) instruction 1. WFI = Wait for interrupt All internal or external interrupts and reset Active halt MVR On Off except LSI or HSE Off AWU and IWDG on (if activated) Enable the AWU then execute HALT instruction AWU or external interrupts and reset Off LPVR On Off except LSI or HSE Off Halt LPVR On Off Off Off Execute HALT instruction External interrupts and reset Off |
|
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 |
| 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 |