FR60 MB91460E Series - Microcontrollers - Fujitsu
FR60 MB91460E Series - Microcontrollers - Fujitsu
FR60 MB91460E Series - Microcontrollers - Fujitsu
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
<strong>MB91460E</strong> <strong>Series</strong><br />
4.2. Recovery from shutdown mode<br />
The following factors are available to recover from the shutdown state:<br />
• Assert the reset signal at the INITX terminal for minimum 10 ms 12<br />
• Input of a valid recovery request via an external interrupt terminal<br />
• Real Ttime Clock Interrupt (when RTC interrupt is enabled)<br />
• Hardware Watchdog reset (when HWWD is enabled in STOP mode)<br />
• Main Clock Supervisor reset (when Main oscillator is running and Main Clock Supervisor is enabled and<br />
recovery by HWWD is enabled)<br />
Shutdown state is released when a valid recovery factor is permitted. After the Shutdown state release, the<br />
device restarts with a settings initialization reset (INIT), just like power-up operation. Only the Real Time Clock,<br />
the Oscillation Stabilization settings in STCR register, and the recovery source flags in the Shutdown registers<br />
EXTF and SHDINT are not cleared.<br />
The internal restart sequence is as follows:<br />
1. Resume the internal power supply.<br />
2. Reset and assert the initialization reset (INIT).<br />
3. Wait for oscillation stabilization.<br />
4. Start the reset sequence.<br />
As the external interrupt source flags and the RTC flag are retained in EXTF and SHDINT registers, it is possible<br />
to determine whether it is power-up operation or recovery from shutdown state by checking the flags.<br />
4.2.1. The Real Time Clock at Recovery from Shutdown<br />
In normal operation, the registers and settings of the Real Rime Clock are initialized by Software Reset (RST).<br />
At recovery from Shutdown, the RTC is not initialized:<br />
• The prescaler, second, minute and hour counters continue counting also during the recovery INIT state.<br />
• The clock selection for the RTC (by CSCFG.OSC1, CSCFG.OSC0) remains unchanged.<br />
• The RTC interrupt enable bits and interrupt flags (in WTCR and WTCE registers) remain unchanged.<br />
So at each recovery from Shutdown, the RTC continues running and the current time as well as the interrupt<br />
flags can be read from the RTC after recovery.<br />
Note: The Interrupt Control Register for RTC (ICR58), the Interrupt Level Mask (ILM) register as well as the Condition<br />
Code Register (CCR, containing the I-Flag) are cleared by the recovery INIT, so that all interrupt processing<br />
is disabled.<br />
If the software re-enables interrupt processing by setting ICR58, ILM and I-Flag, the software will process<br />
the pending RTC interrrupt immediately.<br />
1. The minimum INTX=0 pulse length is determined by the time the main oscillator needs for stabilization.<br />
2. Reset by INITX=0 will kill the ShutDown state and restart the device like at power-on.<br />
88 DS705-00002-1v3-E