72
CHAPTER 5 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 5-3. Oscillation Mode Selection Register Format
Cautions 1. Writing to OSMS should be performed only immediately after reset signal release and before
peripheral hardware operation starts. As shown in Figure 5-4 below, writing data (including
same data as previous) to OSMS cause delay of main system clock cycle up to 2/f
x
during
the write operation. Therefore, if this register is written during the operation, in peripheral
hardware which operates with the main system clock, a temporary error occurs in the count
clock cycle of timer, etc. In addition, because the oscillation mode is changed by this register,
the clocks for peripheral hardware as well as that for the CPU are switched.
Figure 5-4. Main System Clock Waveform due to Writing to OSMS
2. When writing “1” to MCS, V
DD
must be 2.7 V or higher before the write execution.
Remarks f
xx
: Main system clock frequency (fx or fx/2)
f
x
: Main system clock oscillation frequency
Содержание NEC PD78081(A)
Страница 23: ...xii MEMO...
Страница 37: ...14 CHAPTER 1 OUTLINE MEMO...
Страница 47: ...24 CHAPTER 2 PIN FUNCTION MEMO...
Страница 91: ...68 CHAPTER 4 PORT FUNCTIONS MEMO...
Страница 125: ...102 CHAPTER 6 8 BIT TIMER EVENT COUNTERS 5 AND 6 MEMO...
Страница 157: ...134 CHAPTER 10 A D CONVERTER MEMO...
Страница 193: ...170 CHAPTER 11 SERIAL INTERFACE CHANNEL 2 MEMO...
Страница 253: ...230 CHAPTER 16 INSTRUCTION SET MEMO...
Страница 269: ...246 APPENDIX B EMBEDDED SOFTWARE MEMO...