ePVP6800
VFD Controller
7.2.11 RA (PLL, Main Clock Selection, Watchdog Timer),
ADC Output Data Buffer , Counter3 Data
a) PAGE 0 (PLL Enable Bit, Main Clock Selection Bits,
Watchdog Timer Enable Bit)
Bit 7
IDLE
Bit 6
PLLEN
R/W-0
Bit 5
CLK2
R/W-0
Bit 4
CLK1
R/W-1
Bit 3
CLK0
R/W-1
Bit 2
Bit 1
Bit 0
WDTEN
R/W-0
-
-
R/W-0
Bit 0 (WDTEN) : Watch dog control bit
You can use WDTC instruction to clear watch dog counter. The counter clock
source is 32768/2 Hz. If the prescaler is assigned to TCC, Watch dog will time out
by (1/32768 )*2 * 256 = 15.616mS. If the prescaler is assigned to WDT, the time out
interval will be longer depending on the prescaler. Ratio.
0/1 ꢂdisable/enable
Bit 1~Bit 2 : Unused
Bit 3 ~ Bit 5 (CLK0 ~ CLK2) : MAIN clock selection bits
You can select different frequencies for the main clock with CLK1 and CLK2. All the
available clock selections are listed below.
PLLEN
CLK2
CLK1
CLK0
Sub clock
MAIN clock
CPU clock
1
1
1
1
1
1
1
1
0
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
1
0
1
0
1
0
1
32.768kHz 447.829kHz
32.768kHz 895.658kHz
32.768kHz 1.791MHz
32.768kHz 3.582MHz
32.768kHz 7.165MHz
32.768kHz 10.747MHz
32.768kHz 14.331MHz
32.768kHz 17.91MHz
447.829kHz (Normal mode)
895.658kHz (Normal mode)
1.791MHz (Normal mode)
3.582MHz (Normal mode)
7.165MHz (Normal mode)
10.747MHz (Normal mode)
14.331MHz (Normal mode)
17.91MHz (Normal mode)
32.768kHz (Green mode)
Don’t care Don’t care Don’t care 32.768kHz Don’t care
Bit 6 (PLLEN) : PLL's power control bit which is CPU mode control register
0/1 ꢂdisable PLL/enable PLL
If PLL is enabled, CPU will operate at normal mode (high frequency). Otherwise, it
will run at green mode (low frequency, 32768 Hz).
447.8293kHz ~17.9132MHz
CLK2 ~ CLK0
PLL circuit
1
switch
System clock
0
ENPLL
Sub-clock
32.768kHz
Fig. 4 The Relation Between 32.768kHz and PLL
This specification is subject to change without further notice.
11.28.2004 (V123) 13 of 47