164
CHAPTER 7 CLOCK GENERATOR
Write to OSMS
(MCS
0)
f
XX
Max. 2/f
X
Operating at f
XX
= f
X
/2 (MCS = 0)
Operating at f
XX
= f
X
/2 (MCS = 0)
MCS
Main System Clock Scaler Control
0
1
Scaler used
Scaler not used
0
0
0
0
OSMS
FFF2H
7
6
5
4
3
2
Symbol
1
0
MCS
0
0
Address
After
Reset
R/W
00H
W
0
(2) Oscillation mode selection register (OSMS)
This register specifies whether the clock output from the main system clock oscillator without passing through
the scaler is used as the main system clock, or the clock output via the scaler is used as the main system
clock.
OSMS is set with 8-bit memory manipulation instruction.
RESET input sets OSMS to 00H.
Figure 7-4. Oscillation Mode Selection Register Format
Cautions 1. The main system clock cycle is longer by up to 2/fx only when writing data to OSMS (including
when writing the same data that was written previously) as shown in Figure 7-5. This causes
a temporary error in the count clock cycle of timers in the peripheral hardware that operates
with the main system clock.
In addition, when the oscillation mode is changed, the clocks provided for the peripheral
hardware as well as those for the CPU are switched. Therefore, it is recommended that only
one-time writing to OSMS be performed between the reset release and the peripheral
hardware operation.
Figure 7-5. Main System Clock when Writing to OSMS
2. Setting 1 to MCS should be performed after V
DD
≥
2.7 V.
Remarks f
xx
: Main system clock frequency (fx or fx/2)
f
x
: Main system clock oscillation frequency
Содержание PD78052
Страница 2: ...2 MEMO ...
Страница 8: ...8 MEMO ...
Страница 16: ...16 MEMO ...
Страница 36: ...36 MEMO ...
Страница 158: ...158 MEMO ...
Страница 174: ...174 MEMO ...
Страница 240: ...240 MEMO ...
Страница 260: ...260 MEMO ...
Страница 340: ...340 MEMO ...
Страница 392: ...392 MEMO ...
Страница 438: ...438 MEMO ...
Страница 482: ...482 CHAPTER 20 REAL TIME OUTPUT PORT MEMO ...
Страница 510: ...510 MEMO ...
Страница 524: ...524 MEMO ...
Страница 560: ...560 MEMO ...
Страница 576: ...576 MEMO ...
Страница 598: ...598 MEMO ...
Страница 602: ...602 MEMO ...