Error Correction Status Module (ECSM)
MPC5606S Microcontroller Reference Manual, Rev. 7
526 Freescale Semiconductor
reset as signaled by device reset input signals. The MRSR can only be read from the IPS programming
model. Any attempted write is ignored.
See Figure 16-3 and Table 16-4 for the Miscellaneous Reset Status Register definition.
16.4.2.4 Miscellaneous Wakeup Control Register (MWCR)
Implementation of low-power modes and exit from these modes via an interrupt requires communication
between the ECSM, the interrupt controller, and external logic typically associated with phase-locked loop
clock generation circuitry. The Miscellaneous Wakeup Control Register (MWCR) provides an 8-bit
register controlling entry into these types of low-power modes as well as definition of the interrupt level
needed to exit the mode.
The following sequence of operations is generally needed to enable this functionality. Note that the exact
details are likely to be system-specific.
1. The processor core loads the appropriate data value into the MWCR, setting the ENBWCR bit and
the desired interrupt priority level.
2. At the appropriate time, the processor ceases execution. The exact mechanism varies by processor
core. In some cases, a processor-is-stopped status is signaled to the ECSM and external logic. This
assertion, if properly enabled by MWCR[ENBWCR], causes the ECSM output signal
enter_low_power_mode to be set. This, in turn, causes the selected external, low-power mode, to
be entered, and the appropriate clock signals disabled. In most implementations, there are multiple
low-power modes, where the exact clocks to be disabled vary across the different modes.
3. After entering the low-power mode, the interrupt controller enables a special combinational logic
path which evaluates all unmasked interrupt requests. The device remains in this mode until an
event which generates an unmasked interrupt request with a priority level greater than the value
programmed in the MWCR[PRILVL] occurs.
4. Once the appropriately high interrupt request level arrives, the interrupt controller signals its
presence, and the ECSM responds by asserting an exit_low_power_mode signal.
5. The external logic senses the assertion of the exit signal, and re-enables the appropriate clock
signals.
Address: Base + 0x000F Access: User read-only
0 1 2 3 4 5 6 7
R POR OFPLR 0 0 0 0 0 0
W
Reset 0 1 0 0 0 0 0 0
Figure 16-3. Miscellaneous Reset Status Register (MRSR)
Table 16-4. Miscellaneous Reset Status (MRSR) field descriptions
Name Description
0
POR
Power-On Reset
1 Last recorded event was caused by a power-on reset (based on a device input signal)
1
DIR
Device Input Reset
1 Last recorded event was a reset caused by a device input reset