uPD789871 Subseries 8-Bit Single-Chip Microcontrollers PUM
uPD789871 Subseries 8-Bit Single-Chip Microcontrollers PUM
uPD789871 Subseries 8-Bit Single-Chip Microcontrollers PUM
Create successful ePaper yourself
Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.
5.3 Register Controlling Clock Generator<br />
68<br />
CHAPTER 5 CLOCK GENERATOR<br />
The clock generator is controlled by the following registers.<br />
• Processor clock control register (PCC)<br />
• Suboscillation mode register (SCKM)<br />
• Subclock control register (CSS)<br />
(1) Processor clock control register (PCC)<br />
PCC sets the CPU clock selection and the division ratio.<br />
PCC is set with a 1-bit or 8-bit memory manipulation instruction.<br />
RESET input sets the PCC to 02H.<br />
Figure 5-2. Processor Clock Control Register Format<br />
Symbol 7 6 5 4 3 2 1 0 Address After reset R/W<br />
PCC<br />
MCC 0 0 0 0 0 PCC1 0<br />
MCC<br />
0<br />
1<br />
CSS0<br />
0<br />
0<br />
1<br />
1<br />
Operation enabled<br />
Operation stopped<br />
PCC1<br />
0<br />
1<br />
0<br />
1<br />
fX (0.2 µ s)<br />
fX/22 (0.8 µ<br />
s)<br />
fXT/2 (61 µ s)<br />
Note The CPU clock is selected according to a combination of the PCC1 flag in the processor clock control<br />
register (PCC and the CSS0 flag in the subclock control register (CSS) (refer to 5.3 (3) subclock<br />
control register (CSS)).<br />
Cautions 1. <strong>Bit</strong> 0 and 2 to 6 must be set to 0.<br />
2. The MCC can be set only when the subsystem clock has been selected as the CPU clock.<br />
Remarks 1. fX: Main system clock oscillation frequency<br />
2. fXT: Subsystem clock oscillation frequency<br />
3. The parenthesized values apply to operation at fX = 5.0 MHz or fXT = 32.768 kHz.<br />
4. Minimum instruction execution time: 2fCPU<br />
• fCPU = 0.2 µs: 0.4 µs<br />
• fCPU = 0.8 µs: 1.6 µs<br />
• fCPU = 61 µs: 122 µs<br />
Control of main system clock oscillator operation<br />
Preliminary User’s Manual U14938EJ1V0UM<br />
FFFBH 02H R/W<br />
CPU clock (fCPU) selection Note