94
µPD750008 USER'S MANUAL
5.2.3 System Clock and CPU Clock Setting
(1) Time required to change the system clock and CPU clock
The system clock and CPU clock can be changed by using the least significant bit of the SCC and the
low-order two bits of the PCC. This switching is not performed immediately after the contents of the
registers are rewritten, but the system operates with the previous clock for some machine cycles.
Accordingly, after this time period, the STOP instruction must be executed to terminate main system clock
generation.
Table 5-5. Maximum Time Required to Change the System Clock and CPU Clock
Remarks 1. Time indicated in parentheses is required when fX = 6.00 MHz and fXT = 32.768 kHz.
2. X: Dont care
3. CPU clock F is supplied to the CPU of the µPD750008. The reciprocal of this frequency
is a minimum instruction time (defined as one machine cycle in this manual).
Cautions 1. When the PCC is set to 0001B (FF
FF
F = fX/16), do not set SCC.0 to 1. Before switching
the main system clock to the subsystem clock, be sure to manipulate the PCC so
other than 0001B is set. When the system operates on the subsystem clock, the
PCC must also be other than 0001B.
2. The fluctuation of the ambient temperature around an oscillator and the performance
of a load capacity change fX and fXT. In particular, when fX is higher than the nominal
value or fXT is lower than the nominal value, the machine cycles calculated by fX/64fXT,
fX/ 8fXT, and fX/4fXT in Table 5-5 are longer than the machine cycle calculated by the
nominal values of fX and fXT. Therefore, the wait time required to change the system
clock and CPU clock should be longer than the machine cycle calculated by the
nominal values of fX and fXT.
Setting before
switching
SCC0 PCC1 PCC0
SCC0
0
PCC1
0
PCC0
0
SCC0
0
PCC1
0
PCC0
1
SCC0
0
Setting after switching
1
PCC0
0
SCC0
0
PCC1
1
PCC0
1
SCC0
1
PCC1
x
PCC0
x
f
X
/64f
XT
machine 
cycles 
(3 machine cycles)
1 machine 
cycle
1 machine 
cycle
1 machine 
cycle
00
Not to be set4 machine 
cycles
4 machine 
cycles
01
f
X
/8f
XT
machine 
cycles 
(23 machine cycles)
8 machine 
cycles
8 machine 
cycles
10
f
X
/4f
XT
machine 
cycles 
(46 machine cycles)
16 machine 
cycles
16 machine 
cycles
11
1 machine 
cycle
1 machine 
cycle
Not to be 
set
xx
4 machine 
cycles
8 machine 
cycles
16 machine 
cycles
1 machine 
cycle
0
1
PCC1