Baud Rate Generator
AT90S2313
48
The baud rate generator is a frequency divider that generates baud rates according to
the following equation:
•
BAUD = Baud Rate
•
f
= Crystal Clock frequency
CK
•
UBRR = Contents of the UART Baud Rate register (UBRR) (0 - 255)
For standard crystal frequencies, the most commonly used baud rates can be generated
by using the UBRR settings in Table 15. UBRR values that yield an actual baud rate dif-
fering less than 2% from the target baud rate, are boldfaced in the table. However, using
baud rates that have more than 1% error is not recommended. High error ratings give
less noise resistance.
f
CK
BAUD
=
------------------------------------ -
16(UBRR
1)
+
0839G–08/01