Rainbow-electronics ATmega161L Manuale Utente Pagina 79

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 159
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 78
79
ATmega161(L)
1228CAVR08/02
The Baud Rate Generator in
Double UART Speed Mode
Note that the baud rate equation is different from the equation on page 76 when the
UART speed is doubled:
BAUD = Baud rate
f
CK
= Crystal Clock frequency
UBR = Contents of the UBRRHI and UBRR Registers (0 - 4095)
Note that this equation is only valid when the UART transmission speed is doubled.
For standard crystal frequencies, the most commonly used baud rates can be generated
by using the UBR settings in Table 24. UBR values that yield an actual baud rate differ-
ing less than 1.5% from the target baud rate are boldface in the table. However, since
the number of samples are reduced and the system clock might have some variance
(this applies especially when using resonators), it is recommended that the baud rate
error be less than 0.5%.
BAUD
f
CK
8(UBR 1 )+
------------------------------=
Vedere la pagina 78
1 2 ... 74 75 76 77 78 79 80 81 82 83 84 ... 158 159

Commenti su questo manuale

Nessun commento