Mode Entry Module (MC_ME)
mode transition, not all steps need to be executed based on the mode control information,
and some steps may not be applicable according to the mode definition itself.
56.4.3.1
Target Mode Request
The target mode is requested by accessing the ME_MCTL register with the required keys.
This mode transition request by software must be a valid request satisfying a set of pre-
defined rules to initiate the process. If the request fails to satisfy these rules, it is ignored,
and the TARGET_MODE bit field is not updated. An optional interrupt can be generated for
invalid mode requests. Refer to <Cross Refs>Section 56.4.5, "Mode Transition Interrupts for
details.
In the case of mode transitions occurring because of hardware events such as a reset, a
SAFE
mode request, or interrupt requests and wakeup events to exit from low-power
modes, the TARGET_MODE bit field of the ME_MCTL register is automatically updated
with the appropriate target mode. The mode change process start is indicated by the setting
of the mode transition status bit S_MTRANS of the ME_GS register.
A
RESET
generates a global system reset and initiates the reset sequence. The
request has the highest priority, and the MC_ME is kept in the
entire reset sequence.
The
SAFE
by software via the ME_MCTL register from all software running modes or by the MC_RGM
after the detection of system hardware failures, which may occur in any mode.
56.4.3.2
Target Mode Configuration Loading
On completion of the
ME_<target mode>_MC register is loaded to start the resources (voltage sources, clock
sources, flash, pads, etc.) control process.
An overview of resource control possibilities for each mode is shown in . A '
a given resource is configurable for a given mode.
Resource
RESET
IRC
on
XOSC
off
PLL0
off
FLASH
normal
1634/2058
mode requested via the ME_MCTL register is passed to the MC_RGM, which
mode request has the next highest priority after reset. It can be generated either
Target Mode Request
Table 936. MC_ME Resource Control Overview
TEST
SAFE
√
on
on
√
off
off
√
off
off
√
normal
normal
DocID027809 Rev 4
RESET
step, the target mode configuration from the
Mode
DRUN
RUN0...3
on
on
√
√
off
off
√
√
off
off
√
√
normal
normal
RM0400
RESET
mode
mode during the
' indicates that
√
HALT0
STOP0
on
on
√
√
off
off
√
off
off
√
√
power-
low-power
down
Need help?
Do you have a question about the SPC572L series and is the answer not in the manual?
Questions and answers