ML610471/472/473/Q471/Q472/Q473 User's Manual
Chapter 6 Clock Generation Circuit
6-9
6.3.3 Switching of System Clock
The system clock can be switched between high-speed clock (HSCLK) and low-speed clock (LSCLK) by using the
frequency control registers (FCON0, FCON1).
Figure 6-6 shows the flow chart of system clock switching processing (HSCLK to LSCLK) and Figure 6-7 shows the flow
chart of system clock switching processing (LSCLK to HSCLK).
Figure 6-6 Flow of System Clock Switching Processing (HSCLK to LSCLK)
Note:
Immediately after the recovery from the STOP mode, if the system clock is switched from HSCLK to LSCLK, the
CPU becomes inactive until LSCLK starts clock supply to the peripheral circuits. Therefore, It is recommended to
switch to LSCLK after confirming that the LSCLK is oscillating by checking that the time base counter interrupt
request bit (Q128H) is “1”.
Figure 6-7 Flow of System Clock Switching Processing (LSCLK to HSCLK)
Note:
If the system clock is switched from a low-speed clock to a high-speed clock before the high-speed clock (HSCLK)
starts oscillation, the CPU becomes inactive until HSCLK starts clock supply to the peripheral circuits.
System clock switching
ENOSC
←
”1”
Wait the oscillation
stabilization time
(T
WAIT
)
SYSCLK
←
”1”
High-speed
operation mode
T
WAIT
=500
μ
s
High-speed oscillation start
Switches the system clock (low-speed clock to high-speed clock)
Yes
No
Is high-speed
clock used?
Continue to use the low-speed clock (LSCLK).
System clock switching
SYSCLK
←
”0”
Low-speed
operation mode
Switches the system clock (high-speed clock to low-speed clock)
ENOSC
←
”0”
Stops high-speed oscillation
(* Not needed to stop in the case when the high-speed clock
is used by something other than the CPU)
Summary of Contents for ML610472
Page 12: ...Chapter 1 Overview...
Page 38: ...Chapter 2 CPU and Memory Space...
Page 44: ...Chapter 3 Reset Function...
Page 48: ...Chapter 4 MCU Control Function...
Page 62: ...Chapter 5 Interrupts...
Page 82: ...Chapter 6 Clock Generation Circuit...
Page 94: ...Chapter 7 Time Base Counter...
Page 105: ...Chapter 8 Capture...
Page 114: ...Chapter 9 Timer...
Page 133: ...Chapter 10 Watchdog Timer...
Page 141: ...Chapter 11 UART...
Page 164: ...Chapter 12 Port 0...
Page 173: ...Chapter 13 Port 2...
Page 180: ...Chapter 14 Port 3...
Page 188: ...Chapter 15 Port 4...
Page 199: ...Chapter 16 Port 6...
Page 205: ...Chapter 17 RC Oscillation Type A D Converter...
Page 225: ...Chapter 18 LCD Drivers...
Page 243: ...Chapter 19 Power Supply Circuit...
Page 245: ...Chapter 20 uEASE Flash Writer System...
Page 249: ...Chapter 21 Software Development...
Page 258: ...Appendixes...
Page 280: ...Revision History...