241
Chapter 9
Clock Generator
Preliminary User’s Manual U15839EE1V0UM00
9.3 Control
Registers
9.3.1 Clock Control Register (CKC)
This is an 8-bit register that controls the clock management. Data can be written to it only in a sequence
of specific instructions so that its contents are not easily rewritten in case of program hang-up. See also
PHCMD register.
This register can be read or written in 8-bit units.
Figure 9-2:
Clock Control Register (CKC) (1/2)
7
6
5
4
3
2
1
0
Address
Initial
value
CKC
PLLEN
SCEN
DEN
0
PERIC
0
WTSEL1
WTSEL0
FFFFF822H
00H
Bit name
Function
PLLEN
PLLEN enable bit
This bit enables or disables PLL operation.
0: PLL disabled
1: PLL enabled
Caution:
The PLL is enabled when this bit is set (1). Before applying the PLL clock as the
clock supply for the CPU or the peripherals, it must have been secured by soft-
ware that the PLL stabilization time (1ms) has been elapsed. During this stabili-
zation time, the software must remain in a loop and the CPU and the
peripherals are supplied by the main-oscillator clock.
Switching to an unstable clock source is not protected by hardware.
SCEN
SSCG enable bit
This bit enables or disables Spread-Spectrum-Clock-Generation
0: SSCG disabled
1: SSCG enabled
Caution:
The SSCG is enabled when this bit is set (1). Before applying the SSCG clock
as the clock supply for the CPU, it must have been secured that the SSCG sta-
bilization time has been elapsed. The SCSTAT bit in the CGSTAT register shows
the status of the SSCG. The value of the read-only bit SCSTAT must be read as
set (1) before enabling the SSCG clock to the CPU.
Switching to an unstable clock source is not protected by hardware.
DEN
SSCG frequency dithering enable bit
0: SSCG uses fixed multiplication factor of SCFC1
1: SSCG uses multiplication factor of SCFC0 and SCFC1 alternately
Caution:
The DEN bit can be toggled only in case that the SCEN bit is 0 (SSCG disabled).
PERIC
Peripheral clock source select bit
0: Main oscillator (x1) is clock source for peripherals
1: PLL (x4) is clock source for peripherals
Содержание mPD703128
Страница 6: ...6 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 20: ...20 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 32: ...32 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 154: ...154 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 238: ...238 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 356: ...356 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 522: ...522 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 600: ...600 Preliminary User s Manual U15839EE1V0UM00 MEMO ...
Страница 610: ...610 Preliminary User s Manual U15839EE1V0UM00 ...
Страница 612: ......