Setting Cpu Clock; Maximum Time Required For Cpu Clock Switching - NEC PD754144 User Manual

4-bit single-chip microcontrollers
Table of Contents

Advertisement

6.2.3 Setting CPU clock

(1) Time required to switch CPU clock
The CPU clock can be switched by using the lower 2 bits of PCC. The processor does not operate with the
selected clock, however, immediately after data has been written to the registers; it operates with the pre-
change clock for the duration of a certain number of machine cycles. To stop oscillation of the system clock,
therefore, execute the STOP instruction after a specific time has elapsed.
Table 6-5. Maximum Time Required for CPU Clock Switching
Set Value Before Switching
PCC1
PCC0
0
0
0
1
1
0
1
1
Caution The value of f
resonators, and variations in load capacitance performance.
Particularly when f
bigger than the machine cycle obtained by the nominal value. Therefore, when setting the wait
time required for switching the CPU clock, set it longer than the machine cycle obtained by the
f
nominal value.
X
(2) CPU clock switching procedure
The switching procedure of the CPU clock is explained according to Figure 6-19.
112
CHAPTER 6 PERIPHERAL HARDWARE FUNCTION
PCC1
PCC0
PCC1
0
0
1 machine cycle
4 machine cycles
8 machine cycles
8 machine cycles
16 machine cycles
16 machine cycles
changes depending on conditions such as the ambient temperature of the
X
is higher than the nominal value, the machine cycle in the table becomes
X
User's Manual U10676EJ3V0UM
Set Value After Switching
PCC0
PCC1
0
1
1
1 machine cycle
4 machine cycles
16 machine cycles
PCC0
PCC1
PCC0
0
1
1
1 machine cycle
4 machine cycles
8 machine cycles

Advertisement

Table of Contents
loading

This manual is also suitable for:

Pd754244

Table of Contents