CHAPTER 5 CLOCK GENERATOR
117
User’s Manual U11302EJ4V0UM
5.6 Changing System Clock and CPU Clock Settings
5.6.1 Time required for switchover between system clock and CPU clock
The system clock and CPU clock can be switched over by using bits 0 to 2 (PCC0 to PCC2) and bit 4 (CSS)
of the processor clock control register (PCC).
The actual switchover operation is not performed directly after writing to the PCC; operation continues on the
pre-switchover clock for several instructions (see
Table 5-3
).
It can be judged by bit 5 (CLS) of PCC whether the system is operating on the main system clock or the subsystem
clock.
Table 5-3. Maximum Time Required for CPU Clock Switchover
Caution Selection of the CPU clock cycle division ratio (PCC0 to PCC2) and switchover from the main
system clock to the subsystem clock (changing CSS from 0 to 1) should not be specified
simultaneously.
Simultaneous setting is possible, however, for selection of the CPU clock cycle division ratio
(PCC0 to PCC2) and switchover from the subsystem clock to the main system clock (changing
CSS from 1 to 0).
Remarks 1.
One instruction is the minimum instruction execution time with the pre-switchover CPU clock.
2.
Figures in parentheses apply to operation with f
X
= 5.0 MHz or f
XT
= 32.768 kHz.
CSS PCC2 PCC1 PCC0
CSS PCC2 PCC1 PCC0 CSS PCC2 PCC1 PCC0 CSS PCC2 PCC1 PCC0 CSS PCC2 PCC1 PCC0 CSS PCC2 PCC1 PCC0 CSS PCC2 PCC1 PCC0
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
1
x
x
x
0
0
0
0
0
1
0
1
0
0
1
1
1
0
0
x
x
x
1
0
Set Values After Switchover
16 instructions
f
X
/2f
XT
instructions
(64 instructions)
4 instructions
2 instructions
1 instruction
1 instruction
1 instruction
1 instruction
1 instruction
1 instruction
1 instruction
1 instruction
1 instruction
2 instructions
2 instructions
2 instructions
4 instructions
4 instructions
4 instructions
16 instructions
16 instructions
16 instructions
8 instructions
8 instructions
8 instructions
8 instructions
f
X
/4f
XT
instructions
(32 instructions)
f
X
/8f
XT
instructions
(16 instructions)
f
X
/16f
XT
instructions
(8 instructions)
f
X
/32f
XT
instructions
(4 instructions)
Set Values
Before Switchover
Содержание mPD780208 Subseries
Страница 2: ...2 User s Manual U11302EJ4V0UM MEMO...