
83
CHAPTER 5 CLOCK
Table 5.3-1 Function Description of Each Bit of the Clock Selection Register (CKSCR)
Bit name
Function
bit15,
bit11
RESV:
Reserved bit
(Note)
"1" must always be written to these bits.
bit14
MCM:
Machine clock indication bit
•
This bit indicates whether the main clock or a PLL clock has been selected as
the machine clock.
•
When this bit is set to "0", a PLL clock has been selected. When it is set to "1",
the main clock has been selected.
•
If MCS = 0 and MCM = 1, the PLL clock oscillation stabilization wait period is
in effect.
•
Writing has no effect on the operation.
bit13,
bit12
WS1, WS0:
Oscillation
stabilization wait interval
selection bits
•
These bits select an oscillation stabilization wait interval of the oscillation clock
after stop mode has been released.
•
These bits are initialized to 11
B
by all reset causes.
(Note)
The oscillation stabilization wait interval must be set to a value appropriate for
the oscillator used. See "4.2 Reset Causes and Oscillation Stabilization Wait
Intervals".
(Reference)
The oscillation stabilization period for all PLL clocks is fixed at 2
14
/HCLK.
bit10
MCS:
Machine clock selection bit
•
This bit specifies whether the main clock or a PLL clock is selected as the
machine clock.
•
When this bit is "0", a PLL clock is selected. When this bit is "1", the main
clock is selected.
•
If this bit has been set to "1" and "0" is written to it, the oscillation stabilization
wait interval for the PLL clock starts. As a result, the time-base timer is auto-
matically cleared, and the TBOF bit of the time-base timer control register
(TBTC) is also cleared.
•
For PLL clocks, the oscillation stabilization period is fixed at 2
14
/HCLK
(the oscillation stabilization wait interval is approx. 2 ms for an oscillation clock
frequency of 4 MHz).
•
When the main clock has been selected, the operating clock frequency is the fre-
quency of the oscillation clock divided by 2 (e.g., the operating clock is 2 MHz
when the oscillation clock frequency is 4 MHz).
•
This bit is initialized to "1" by power-on or watchdog reset.
(Note)
When the MCS bit is "1", write "0" to it only when the time-base timer interrupt
is masked by the TBIE bit of the time-base timer control register (TBTC) or the
interrupt level register (ILM). For 8 machine cycles after "1" is written to the
MCS bit, writing "0" to it may be disabled. Write to the bit after 8 machine
cycles have passed.
bit9,
bit8
CS1, CS0:
Multiplier
selection bits
•
These bits select a PLL clock multiplier.
•
Selection can be made from among four different multipliers.
•
These bits are initialized to 00
B
by all reset causes.
(Note)
When the MCS bit is "0", writing to these bits is not allowed. Write to the CS1
and CS0 bits only after setting the MCS bit to "1" (main clock mode).
HCLK: Oscillation clock frequency
Summary of Contents for MB90460 Series
Page 1: ...The following document contains information on Cypress products ...
Page 3: ......
Page 5: ......
Page 9: ...iv ...
Page 41: ...22 CHAPTER 1 OVERVIEW ...
Page 45: ...26 CHAPTER 2 NOTES ON HANDLING DEVICES ...
Page 83: ...64 CHAPTER 3 CPU ...
Page 95: ...76 CHAPTER 4 RESET ...
Page 107: ...88 CHAPTER 5 CLOCK ...
Page 131: ...112 CHAPTER 6 LOW POWER CONSUMPTION MODE ...
Page 175: ...156 CHAPTER 7 INTERRUPT ...
Page 181: ...162 CHAPTER 8 MODE SETTING ...
Page 223: ...204 CHAPTER 9 I O PORT ...
Page 237: ...218 CHAPTER 10 TIME BASE TIMER ...
Page 247: ...228 CHAPTER 11 WATCHDOG TIMER ...
Page 275: ...256 CHAPTER 12 16 BIT RELOAD TIMER ...
Page 373: ...354 CHAPTER 14 MULTI FUNCTIONAL TIMER ...
Page 485: ...466 CHAPTER 16 PWC Timer ...
Page 531: ...512 CHAPTER 17 UART ...
Page 559: ...540 CHAPTER 19 DELAYED INTERRUPT GENERATOR MODULE ...
Page 589: ...570 CHAPTER 20 8 10 BIT A D CONVERTER ...
Page 601: ...582 CHAPTER 21 ROM CORRECTION FUNCTION ...
Page 633: ...614 CHAPTER 23 512K 1024K BIT FLASH MEMORY ...
Page 645: ...626 CHAPTER 24 EXAMPLE OF F2 MC 16LX MB90F462 F462A F463A CONNECTION FOR SERIAL WRITING ...
Page 715: ...696 APPENDIX ...
Page 716: ...697 INDEX INDEX The index follows on the next page This is listed in alphabetic order ...
Page 739: ......