ST7FL15F1MAE STMICROELECTRONICS [STMicroelectronics], ST7FL15F1MAE Datasheet - Page 38

no-image

ST7FL15F1MAE

Manufacturer Part Number
ST7FL15F1MAE
Description
8-bit MCU for automotive with single voltage Flash/ROM memory, data EEPROM, ADC, 5 timers, SPI
Manufacturer
STMICROELECTRONICS [STMicroelectronics]
Datasheet
ST7L15, ST7L19
POWER SAVING MODES (cont’d)
9.4.1 Halt Mode Recommendations
– Make sure that an external event is available to
– When using an external interrupt to wake up the
– For the same reason, re-initialize the level sensi-
– The opcode for the HALT instruction is 0x8E. To
– As the HALT instruction clears the interrupt mask
9.5 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. The decision to enter either in ACTIVE
HALT or HALT mode is given by the LTCSR/ATC-
SR register status as shown in the following table:
The MCU exits ACTIVE HALT mode on reception
of a specific interrupt (see
ping,” on page
– When exiting ACTIVE HALT mode by means of
38/138
1
TB1IE bit
LTCSR1
wake up the microcontroller from HALT mode.
microcontroller, re-initialize the corresponding
I/O as “Input Pull-up with Interrupt” before exe-
cuting the HALT instruction. The main reason for
this is that the I/O may be incorrectly configured
due to external interference or by an unforeseen
logical condition.
tiveness of each external interrupt as a precau-
tionary measure.
avoid an unexpected HALT instruction due to a
program counter failure, it is advised to clear all
occurrences of the data value 0x8E from memo-
ry. For example, avoid defining a constant in pro-
gram memory with the value 0x8E.
in the CC register to allow interrupts, the user
may choose to clear all pending interrupt bits be-
fore executing the HALT instruction. This avoids
entering other peripheral interrupt routines after
executing the external interrupt routine corre-
sponding to the wake-up event (reset or external
interrupt).
a RESET, a 256 or 4096 CPU cycle delay oc-
curs. After the start-up delay, the CPU resumes
0
0
1
x
ATCSR
OVFIE
bit
0
1
x
x
32) or a RESET.
CK1 bit
ATCSR
0
x
x
x
Table 5, “Interrupt Map-
CK0 bit
ATCSR
0
1
x
x
ACTIVE HALT
mode disabled
ACTIVE HALT
mode enabled
Meaning
– When exiting ACTIVE HALT mode by means of
When entering ACTIVE HALT mode, the I bit in the
CC register is cleared to enable interrupts. There-
fore, if an interrupt is pending, the MCU wakes up
immediately (see Note 3).
In ACTIVE HALT mode, only the main oscillator
and the selected timer counter (LT/AT) are running
to keep a wake-up time base. All other peripherals
are not clocked except those which receive their
clock supply from another clock generator (such
as external or auxiliary oscillator).
Note: As soon as ACTIVE HALT is enabled, exe-
cuting a HALT instruction while the Watchdog is
active does not generate a RESET.
This means that the device cannot exceed a de-
fined delay in this power saving mode.
Figure 24. ACTIVE HALT Timing Overview
[Active Halt Enabled]
operation by fetching the reset vector which
woke it up (see
an interrupt, the CPU immediately resumes oper-
ation by servicing the interrupt vector which woke
it up (see
INSTRUCTION
RUN
HALT
ACTIVE
HALT
Figure
Figure
256 OR 4096 CPU
25).
CYCLE DELAY
INTERRUPT
RESET
25).
OR
1)
VECTOR
FETCH
RUN

Related parts for ST7FL15F1MAE