ML620Q503/Q504 User's Manual
Chapter 4 Power Management
FEUL620Q504 4-12
4.3.1.2 DEEP-HALT Mode
During the DEEP-HALT mode, the CPU interrupts execution of instructions, and the entire circuit stops
operating except for some peripheral blocks such as watchdog timer and LTBC.
When the DHLT bit of the standby control register (SBYCON) is set to “1”, the mode changes to the
DEEP-HALT mode.
When a WDT interrupt request, or an enabled interrupt request (the interrupt enable flag is “1”) is issued, the
DHLT bit is set to “0” on the falling edge of the next system clock (SYSCLK), the DEEP-HALT mode is
released, and the mode returns to the program run mode.
When the DHLT bit is set to “1” during operation with the high-speed clock, the clock switches to the low-speed
clock and the mode changes to the DEEP-HALT mode. If a WDT interrupt request, or an enabled interrupt
request (the interrupt enable flag is “1”) is issued in this state, DHLT is set to “0”, the mode returns to the
program run mode, and the clock is switched to the high-speed clock again.
Restart of a high-speed clock is not related to the clock mode. When low-speed clock counts 29, after the
interrupt request is generated, high-speed built-in RC oscillation starts oscillation. And the counts 512, as
OSCLK clock supply. When a system clock is a high-speed clock, it returns to program operational mode
simultaneously.
In the case of high-speed crystal oscillation mode, oscillation is started after high-speed oscillation start time
(T
XTH
) from LSCLK supply. And, OSCLK changes from RC oscillation into crystal oscillation by the
automatically in case of the crystal oscillation counts 4096.
In the case of high-speed external clock mode, OSCLK changes from RC oscillation into external clock by the
automatically in case of the external clock counts 128 from LSCLK supply.
Figure 4-3 shows the operation waveforms in the DEEP-HALT mode.
SYSCLK
LSCLK
Program run mode
DEEP-HALT mode
Interrupt request
Program run mode
SBYCON.DHLT
HSCLK
Figure 4-3 Operation Waveforms in DEEP-HALT Mode
[Note]
•When High speed crystal/ceramic oscillator is used and the mode switch to DEEP – HALT mode, Frequency
Status Register (FSTAT) HOSCS bit must be “0”.
•When Low speed crystal oscillator or external clock is used and the mode switch to DEEP – HALT mode,
Frequency Status Register (FSTAT) LOSCS bit must be “0”.
•After release of the DEEP-HALT mode, interrupts other than WDT interrupt start being processed if they are
enabled (“1”) by the MIE bit of PSW.
For details of PSW, refer to “nX-U16/100 Core Instruction Manual”
•Since up to two instructions are executed during the period between DEEP-HALT mode release and a
transition to interrupt processing, place two NOP instructions next to the instruction that sets the DHLT bit to
“1”.
Summary of Contents for LAPIS SEMICONDUCTOR ML620Q503
Page 2: ...ML620Q503 Q504 User s Manual Issue Date Apr 16 2015 FEUL620Q504 01...
Page 18: ...Chapter 1 Overview...
Page 32: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 50: ...Chapter 4 Power Management...
Page 70: ...Chapter 5 Interrupts...
Page 134: ...Chapter 6 Clock Generation Circuit...
Page 161: ...Chapter 7 Time Base Counter...
Page 170: ...Chapter 8 Timers...
Page 183: ...Chapter 9 Function Timer FTM...
Page 231: ...Chapter 10 Watchdog Timer...
Page 239: ...Chapter 11 Synchronous Serial Port SSIO...
Page 251: ...Chapter 12 Synchronous Serial Port with FIFO SSIOF...
Page 283: ...Chapter 13 UART...
Page 303: ...Chapter 14 UART with FIFO UARTF...
Page 327: ...Chapter 15 I2 C Bus Interface...
Page 344: ...Chapter 16 Port XT...
Page 350: ...Chapter 17 Port 0...
Page 361: ...Chapter 18 Port 1...
Page 368: ...Chapter 19 Port2...
Page 379: ...Chapter 20 Port 3...
Page 395: ...Chapter 21 Port 4...
Page 410: ...Chapter 22 Port 5...
Page 426: ...Chapter 23 Melody Driver...
Page 439: ...Chapter 24 RC Oscillation type A D Converter RC ADC...
Page 462: ...Chapter 25 Successive Approximation Type A D Converter SA ADC...
Page 479: ...Chapter 26 Analog Comparator...
Page 489: ...Chapter 27 Flash Memory Control...
Page 505: ...Chapter 28 Voltage Level Supervisor VLS...
Page 517: ...Chapter 29 LLD circuit...
Page 519: ...Chapter 30 On Chip Debug Function...
Page 522: ...Appendixes...
Page 552: ...Revision History...