179
CHAPTER 7 CLOCK GENERATOR
7.6.2 System clock and CPU clock switching procedure
This section describes switching procedure between system clock and CPU clock.
Figure 7-10. System Clock and CPU Clock Switching
(1) The CPU is reset by setting the RESET signal to low level after power-on. After that, when reset is released
by setting the RESET signal to high level, main system clock starts oscillation. At this time, oscillation
stabilization time (2
17
/f
X
) is secured automatically.
After that, the CPU starts executing the instruction at the minimum speed of the main system clock (12.8
µ
s when
operated at 5.0 MHz).
(2) After the lapse of a sufficient time for the V
DD
voltage to increase to enable operation at maximum speeds,
the processor clock control register (PCC) and oscillation mode selection register (OSMS) are rewritten and
the maximum-speed operation is carried out.
(3) Upon detection of a decrease of the V
DD
voltage due to an interrupt request signal, the main system clock
is switched to the subsystem clock (which must be in an oscillation stable state).
(4) Upon detection of V
DD
voltage reset due to an interrupt request signal, 0 is set to bit 7 (MCC) of PCC and
oscillation of the main system clock is started. After the lapse of time required for stabilization of oscillation,
the PCC and OSMS are rewritten and the maximum-speed operation is resumed.
Caution When subsystem clock is being operated while main system clock was stopped, if switching
to the main system clock is made again, be sure to switch after securing oscillation stable time
by software.
V
DD
RESET
Interrupt
Request
Signal
System Clock
CPU Clock
Wait (26.2 ms : 5.0 MHz)
Internal Reset Operation
Minimum
Speed
Operation
Maximum Speed
Operation
Subsystem Clock
Operation
f
XX
f
XX
f
XT
f
XX
High-Speed
Operation
Summary of Contents for PD78076
Page 2: ...2 MEMO ...
Page 12: ...12 MEMO ...
Page 48: ...48 MEMO ...
Page 64: ...64 MEMO ...
Page 82: ...82 MEMO ...
Page 100: ...100 MEMO ...
Page 130: ...130 MEMO ...
Page 180: ...180 MEMO ...
Page 222: ...222 MEMO ...
Page 248: ...248 MEMO ...
Page 288: ...288 MEMO ...
Page 308: ...308 MEMO ...
Page 364: ...364 MEMO ...
Page 494: ...494 MEMO ...
Page 526: ...526 MEMO ...
Page 544: ...544 MEMO ...
Page 558: ...558 MEMO ...
Page 580: ...580 MEMO ...
Page 596: ...596 MEMO ...
Page 598: ...598 MEMO ...
Page 626: ...626 MEMO ...