CHAPTER 12 SERIAL INTERFACE UART6
Preliminary User’s Manual U16846EJ1V0UD
234
(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 input clears 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 12-8. 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
TPS63 TPS62 TPS61 TPS60
Base
clock
(f
XCLK6
) selection
Note 1
0 0 0 0
f
X
(10 MHz)
0 0 0 1
f
X
/2 (5 MHz)
0 0 1 0
f
X
/2
2
(2.5 MHz)
0 0 1 1
f
X
/2
3
(1.25 MHz)
0 1 0 0
f
X
/2
4
(625 kHz)
0 1 0 1
f
X
/2
5
(312.5 kHz)
0 1 1 0
f
X
/2
6
(156.25 kHz)
0 1 1 1
f
X
/2
7
(78.13 kHz)
1 0 0 0
f
X
/2
8
(39.06 kHz)
1 0 0 1
f
X
/2
9
(19.53 kHz)
1 0 1 0
f
X
/2
10
(9.77 kHz)
1 0 1 1
TM50
output
Note 2
Other than above
Setting prohibited
Notes 1.
Be sure to set the base clock so that the following condition is satisfied.
•
V
DD
= 4.0 to 5.5 V: Base clock
≤
10 MHz
•
V
DD
= 3.3 to 4.0 V: Base clock
≤
8.38 MHz
•
V
DD
= 2.7 to 3.3 V: Base clock
≤
5 MHz
2.
Note the following points when selecting the TM50 output as a base clock.
•
PWM mode (TMC506 = 1)
Start the operation of 8-bit timer/event counter 50 first and then set the base clock to make the duty
= 50%.
•
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).
It is not necessary to enable the TO50 pin as a timer output pin in any mode.