CHAPTER 10 SERIAL INTERFACE UART6
Preliminary User’s Manual U19014EJ1V0UD
231
(4) Clock selection register 6 (CKSR6)
This register selects the base clock of serial interface UART6.
CKSR6 can be set by an 8-bit memory manipulation instruction.
Reset signal generation sets this register to 00H.
Remark
CKSR6 can be refreshed (the same value is written) by software during a communication operation
(when bit 7 (POWER6) and bit 6 (TXE6) of ASIM6 = 1 or bit 7 (POWER6) and bit 5 (RXE6) of ASIM6 =
1).
Figure 10-5. Format of Clock Selection Register 6 (CKSR6)
Address: FF56H After reset: 00H R/W
Symbol
7 6 5 4 3 2 1 0
CKSR6
0
0
0
0
TPS63 TPS62 TPS61 TPS60
Base clock (f
XCLK6
) selection
TPS63 TPS62 TPS61 TPS60
f
PRS
= 12 MHz
f
PRS
= 16 MHz
0 0 0 0
f
PRS
12 MHz
16 MHz
0 0 0 1
f
PRS
/2
6 MHz
8 MHz
0 0 1 0
f
PRS
/2
2
3 MHz
4 MHz
0 0 1 1
f
PRS
/2
3
1.5 MHz
2 MHz
0 1 0 0
f
PRS
/2
4
750 kHz
1 MHz
0 1 0 1
f
PRS
/2
5
375 kHz
500 kHz
0 1 1 0
f
PRS
/2
6
187.5
kHz
250
kHz
0 1 1 1
f
PRS
/2
7
93.75
kHz
125
kHz
1 0 0 0
f
PRS
/2
8
46.875 kHz
62.5 kHz
1 0 0 1
f
PRS
/2
9
23.438 kHz
31.25 kHz
1 0 1 0
f
PRS
/2
10
11.719 kHz
15.625 kHz
1 0 1 1
TM50
output
Note
Other than above
Setting prohibited
Note
Note the following points when selecting the TM50 output as the base clock.
•
Mode in which the count clock is cleared and started upon a match of TM50 and CR50 (TMC506 = 0)
Start the operation of 8-bit timer/event counter 50 first and then enable the timer F/F inversion operation
(TMC501 = 1).
•
PWM mode (TMC506 = 1)
Start the operation of 8-bit timer/event counter 50 first and then set the count clock to make the duty =
50%.
It is not necessary to enable the TO50 pin as a timer output pin in any mode.
Caution Make sure POWER6 = 0 when rewriting TPS63 to TPS60.
Remarks 1.
f
PRS
: Peripheral hardware clock frequency
2.
TMC506: Bit 6 of 8-bit timer mode control register 50 (TMC50)
TMC501: Bit 1 of TMC50
electronic components distributor