CHAPTER 16 ASYNCHRONOUS SERIAL INTERFACE/3-WIRE SERIAL I/O
273
User’s Manual U12697EJ3V0UM
3. Set the 8-bit timer mode control register (TMC1) as follows when selecting TO1 for
the source clock of the 5-bit counter.
TMC16 = 0, LVS1 = 0, LVR1 = 0, TMC11 = 1
Moreover, set TOE1 to 0 when TO1 is not output externally and TOE1 to 1 when TO1
is output externally
Remarks 1.
n = 1, 2
2.
Figures in parentheses apply to operation at f
XX
= 12.5 MHz.
3.
f
SCK
: Source clock of 5-bit counter
4.
m: Value set in TPSn0 to TPSn2 (0
≤
m
≤
5)
5.
k: Value set in MDLn0 to MDLn3 (0
≤
k
≤
14)
The transmit/receive clock for the baud rate to be generated is the signal obtained by dividing the 5-bit counter
source clock.
• Generation of transmit/receive clock for baud rate
The baud rate is obtained from the following equation.
[Baud rate] = [Hz]
T:
5-bit counter source clock
• When using a divided main system clock: Main system clock (f
XX
)
• When an external clock (ASCKn) is selected: Output frequency of ASCKn
• When the timer 1 output (TO1) is selected: Output frequency of TO1
m: Value set in TPSn0 to TPSn2 (0
≤
m
≤
5)
k:
Value set in MDLn0 to MDLn3 (0
≤
k
≤
14)
T
2
m+1
×
(k + 16)