| Electronic Components Datasheet Search |
|
ST72321M9 Datasheet(PDF) 43 Page - STMicroelectronics |
|
|
|||||||||||||||||||||||||||||
ST72321M9 Datasheet(HTML) 43 Page - STMicroelectronics |
|
43 / 175 page ![]() ST72321M6 ST72321M9 43/175 POWER SAVING MODES (Cont’d) 8.4 ACTIVE-HALT AND HALT MODES Active-halt and Halt modes are the two lowest power consumption modes of the MCU. They are both entered by executing the ‘HALT’ instruction. The decision to enter either in Active-halt or Halt mode is given by the MCC/RTC interrupt enable flag (OIE bit in MCCSR register). 8.4.1 ACTIVE-HALT MODE ACTIVE-HALT mode is the lowest power con- sumption mode of the MCU with a real-time clock available. It is entered by executing the ‘HALT’ in- struction when the OIE bit of the Main Clock Con- troller Status register (MCCSR) is set (see section 9.2 on page 53 for more details on the MCCSR register). The MCU can exit Active-halt mode on reception of an MCC/RTC interrupt or a RESET. When exit- ing Active-halt mode by means of an interrupt, no 256 or 4096 CPU cycle delay occurs. The CPU resumes operation by servicing the interrupt or by fetching the reset vector which woke it up (see Fig- ure 26). When entering Active-halt mode, the I[1:0] bits in the CC register are forced to ‘10b’ to enable inter- rupts. Therefore, if an interrupt is pending, the MCU wakes up immediately. In Active-halt mode, only the main oscillator and its associated counter (MCC/RTC) are running to keep a wake-up time base. All other peripherals are not clocked except those which get their clock supply from another clock generator (such as ex- ternal or auxiliary oscillator). The safeguard against staying locked in Active- halt mode is provided by the oscillator interrupt. Note: As soon as the interrupt capability of one of the oscillators is selected (MCCSR.OIE bit set), entering Active-halt mode while the Watchdog is active does not generate a RESET. This means that the device cannot spend more than a defined delay in this power saving mode. CAUTION: When exiting Active-halt mode follow- ing an MCC/RTC interrupt, OIE bit of MCCSR reg- ister must not be cleared before tDELAY after the interrupt occurs (tDELAY = 256 or 4096 tCPU delay depending on option byte). Otherwise, the ST7 en- ters HALT mode for the remaining tDELAY period. Figure 25. Active-halt Timing Overview Figure 26. Active-halt Mode Flow-chart Notes: 1. This delay occurs only if the MCU exits Active- halt mode by means of a RESET. 2. Peripheral clocked with an external clock source can still be active. 3. Before servicing an interrupt, the CC register is pushed on the stack. The I[1:0] bits of the CC reg- ister are set to the current software priority level of the interrupt routine and restored when the CC register is popped. 4. In Flash devices only the MCC/RTC interrupt can exit the MCU from Active-halt mode. MCCSR OIE bit Power Saving Mode entered when HALT instruction is executed 0 Halt mode 1 ACTIVE-HALT mode HALT RUN RUN 256 OR 4096 CPU CYCLE DELAY 1) RESET OR INTERRUPT HALT INSTRUCTION FETCH VECTOR ACTIVE [MCCSR.OIE=1] HALT INSTRUCTION RESET Y N N Y CPU OSCILLATOR PERIPHERALS 2) I[1:0] BITS ON OFF 10 OFF FETCH RESET VECTOR OR SERVICE INTERRUPT CPU OSCILLATOR PERIPHERALS I[1:0] BITS ON OFF XX 3) ON CPU OSCILLATOR PERIPHERALS I[1:0] BITS ON ON XX 3) ON 256OR 4096CPU CLOCK CYCLE DELAY (MCCSR.OIE=1) INTERRUPT 4) |
|
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 |