Toshiba TLCS-900/H1 Series Data Book page 152

32bit micro controller
Hide thumbs Also See for TLCS-900/H1 Series:
Table of Contents

Advertisement

(2) Baud rate generator
The baud rate generator is a circuit, which generates transmission and receiving
clocks that determine the transfer rate of the serial channels.
The input clock to the baud rate generator, φT0, φT2, φT8 or φT32, is generated by the
6-bit prescaler which is shared by the timers. One of these input clocks is selected
using the BR0CR<BR0CK1 to BR0CK0> field in the Baud Rate Generator Control
Register.
The baud rate generator includes a frequency divider, which divides the frequency by
1 or N + (16 – K) / 16 or 16 values, determining the transfer rate.
The transfer rate is determined by the settings of BR0CR<BR0ADDE, BR0S3 to
BR0S0> and BR0ADD<BR0K3 to BR0K0>.
•In UART Mode
(1) When BR0CR<BR0ADDE> = 0
The settings BR0ADD<BR0K3 to BR0K0> are ignored. The baud rate
generator divides the selected prescaler clock by N, which is set in
BR0CK<BR0S3 to BR0S0>. (N = 1, 2, 3 ... 16)
(2) When BR0CR<BR0ADDE> = 1
The N + (16 – K) / 16 division function is enabled. The baud rate generator
divides the selected prescaler clock by N + (16 – K) / 16 using the value of N set
in BR0CR<BR0S3 to BR0S0> (N = 2, 3 !!! 15) and the value of K set in
BR0ADD<BR0K3 to R0K0> (K = 1, 2, 3 !!! 15)
Note: If N = 1 or N = 16, the N + (16 – K) / 16 division function is disabled. Set
BR0CR<BR0ADDE> to 0.
•In I/O Interface Mode
The N + (16 – K) / 16 division function is not available in I/O Interface Mode. Set
BR0CR<BR0ADDE> to 0 before dividing by N.
The method for calculating the transfer rate when the baud rate generator is used is
explained below.
•In UART Mode
Baud Rate =
•In I/O Interface Mode
Baud Rate =
Input clock of baud rate generator
Frequency divider for baud rate generator
Input clock of baud rate generator
Frequency divider for baud rate generator
92CH21 - 148
TMP92CH21
÷ 16
÷ 2

Advertisement

Table of Contents
loading

This manual is also suitable for:

Tmp92ch21fg

Table of Contents