English
Language : 

UPSD3422_06 Datasheet, PDF (63/293 Pages) STMicroelectronics – Turbo Plus Series Fast Turbo 8032 MCU with USB and Programmable Logic
uPSD34xx
15 Power saving modes
Power saving modes
The uPSD34xx is a combination of two die, or modules, each module having its own current
consumption characteristics. This section describes reduced power modes for the MCU
Module. See Section 28.1.16: Power management on page 191 for reduced power modes
of the PSD Module. Total current consumption for the combined modules is determined in
the DC specifications at the end of this document.
The MCU Module has three software-selectable modes of reduced power operation.
● Idle Mode
● Power-down Mode
● Reduced Frequency Mode
15.1
Idle Mode
Idle Mode will halt the 8032 MCU core while leaving the MCU peripherals active (Idle Mode
blocks MCU_CLK only). For lowest current consumption in this mode, it is recommended to
disable all unused peripherals, before entering Idle mode (such as the ADC and the Debug
Unit breakpoint comparators). The following functions remain fully active during Idle Mode
(except if disabled by SFR settings).
● External Interrupts INT0 and INT1
● Timer 0, Timer 1 and Timer 2
● Supervisor reset from: LVD, JTAG Debug, External RESET_IN_, but not the WTD
● ADC
● I2C Interface
● UART0 and UART1 Interfaces
● SPI Interface
● Programmable Counter Array
● USB Interface
An interrupt generated by any of these peripherals, or a reset generated from the
supervisor, will cause Idle Mode to exit and the 8032 MCU will resume normal operation.
The output state on I/O pins of MCU ports 1, 3, and 4 remain unchanged during Idle Mode.
To enter Idle Mode, the 8032 MCU executes an instruction to set the IDL bit in the SFR
named PCON, shown in Table 26 on page 66. This is the last instruction executed in normal
operating mode before Idle Mode is activated. Once in Idle Mode, the MCU status is entirely
preserved, and there are no changes to: SP, PSW, PC, ACC, SFRs, DATA, IDATA, or XDATA.
The following are factors related to Idle Mode exit:
● Activation of any enabled interrupt will cause the IDL bit to be cleared by hardware,
terminating Idle Mode. The interrupt is serviced, and following the Return from Interrupt
instruction (RETI), the next instruction to be executed will be the one which follows the
instruction that set the IDL bit in the PCON SFR.
● After a reset from the supervisor, the IDL bit is cleared, Idle Mode is terminated, and
the MCU restarts after three MCU machine cycles.
63/293