Download Print this page

Toshiba TLCS-900/H1 Series Manual page 165

Original cmos 32-bit microcontroller
Hide thumbs Also See for TLCS-900/H1 Series:

Advertisement

Integer divider (N divider)
For example, when the source clock frequency (f
clock is φT2 (f
/32), the frequency divider N (BR0CR<BR0S3:0>) = 8, and
C
BR0CR<BR0ADDE> = 0, the baud rate in UART mode is as follows:
* Clock condition Clock gear
Baud rate =
Frequency divider for baud rate generator
f
C
=
= 39.3216 × 10
÷ 16 ÷ 8 ÷ 16 = 9600 (bps)
6
Note: The N + (16 − K)/16 division function is disabled and setting
BR0ADD<BR0K3:0> is invalid.
N + (16 − K)/16 divider (UART mode only)
Accordingly, when the source clock frequency (f
φT2
is
(f
/32),
C
(BR0ADD<BR0K3:0>) = 8, and BR0CR<BR0ADDE> = 1, the baud rate in UART
mode is as follows:
* Clock condition Clock gear
Baud rate =
Frequency divider for baud rate generator
= 6 +
= 31.9488 × 10
Table 3.9.3 show examples of UART mode transfer rates.
Additionally, the external clock input is available in the serial clock. (Serial
channels 0 and 1). The method for calculating the baud rate is explained below:
In UART mode
Baud rate = external clock input frequency ÷ 16
It is necessary to satisfy (External clock input cycle) ≥ 4/f
In I/O interface mode
Baud rate = external clock input frequency
It is necessary to satisfy (External clock input cycle) ≥ 16/f
: 1/1
Input clock of baud rate generator
/32
÷ 16
8
the
frequency
divider
: 1/1
Input clock of baud rate generator
f
/32
C
÷ 16
(16 − 8)
16
8
÷ 16 ÷ (6 + 16 ) ÷ 16 = 9600 (bps)
6
92CH21-163
TMP92CH21
) is 39.3216 MHz, the input
C
÷ 16
) = 31.9488 MHz, the input clock
C
N
(BR0CR<BR0S3:0>)
÷ 16
SYS
SYS
=
6,
K
2009-06-19

Advertisement

loading

This manual is also suitable for:

Tmp92ch21fgJtmp92ch21