Batch Acquisition Mode; Table 18. Bam-Now Entry And Exit - ST STM32F412 Reference Manual

Advanced arm-based 32-bit mcus
Table of Contents

Advertisement

Power controller (PWR)
Sleep-on-exit
Mode exit
Wakeup latency
5.3.4

Batch acquisition mode

Entering BAM
The BAM is entered according to
SLEEPDEEP bit in the Cortex
Refer to
Before entering Sleep mode, the Flash memory must be configured by software to operate
in the required low- power mode. If data need to be transferred from peripheral to RAM
during BAM, the DMA must be enabled before entering Sleep mode.
Exiting BAM
The BAM is exited according to
Refer to
After waking up from BAM, the Flash memory must first to be waked up if code execution
restarts from Flash memory.
This wakeup time must be managed by software running from the internal SRAM.
Sleep-now mode
Mode entry
Mode exit
Wakeup latency
96/1163
Table 17. Sleep-on-exit entry and exit (continued)
Interrupt: refer to
None
®
Table 18
and
Table 19
Table 18
and
Table 19

Table 18. BAM-now entry and exit

Set the Flash memory in low-power mode:
– FISSR/FMSSR and FPDS bits of the PWR_CR register
WFI (Wait for Interrupt) or WFE (Wait for Event) while:
– SLEEPDEEP = 0 and
– SLEEPONEXIT = 0
Refer to the Cortex
If WFI was used for entry:
Interrupt: Refer to
If WFE was used for entry
Wakeup event: Refer to
If Flash memory wakeup time is needed, FISSR/FMSSR bits of PWR_CR
register must be set
None if code executed from RAM
Low-power mode Flash memory wakeup time, before restarting code
execution from Flash memory (refer to the Flash memory wakeup time in
the Electrical characteristics section of the datasheet).
Description
Table 40: Vector table for STM32F412xx
Section : Entering low-power
-M4 with FPU System Control register is cleared.
for details on how to enter Sleep mode.
Section : Exiting low-power
for more details on how to exit Sleep mode.
Description
®
-M4 with FPU System Control register.
Table 40: Vector table for STM32F412xx
Section 10.2.3: Wakeup event management
RM0402 Rev 6
mode, when the
mode.
RM0402

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32F412 and is the answer not in the manual?

Questions and answers

Subscribe to Our Youtube Channel

Table of Contents

Save PDF