Atmel AVR AT90S2313 Manual page 48

8-bit avr microcontroller with 2k bytes of in-system programmable flash
Hide thumbs Also See for AVR AT90S2313:
Table of Contents

Advertisement

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

Advertisement

Table of Contents
loading

Table of Contents