ATMEGA2561V ATMEL [ATMEL Corporation], ATMEGA2561V Datasheet - Page 212

no-image

ATMEGA2561V

Manufacturer Part Number
ATMEGA2561V
Description
8-bit Microcontroller with 64K/128K/256K Bytes In-System Programmable Flash
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
ATMEGA2561V-8AI
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA2561V-8AU
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA2561V-8AU
Manufacturer:
ALTERA
0
Part Number:
ATMEGA2561V-8AU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA2561V-8AUR
Manufacturer:
Atmel
Quantity:
10 000
Part Number:
ATMEGA2561V-8MI
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Part Number:
ATMEGA2561V-8MU
Manufacturer:
ATMEL/爱特梅尔
Quantity:
20 000
Internal Clock Generation –
The Baud Rate Generator
212
ATmega640/1280/1281/2560/2561
Internal clock generation is used for the asynchronous and the synchronous master
modes of operation. The description in this section refers to Figure 83.
The USART Baud Rate Register (UBRRn) and the down-counter connected to it func-
tion as a programmable prescaler or baud rate generator. The down-counter, running at
system clock (f
down to zero or when the UBRRLn Register is written. A clock is generated each time
the counter reaches zero. This clock is the baud rate generator clock output (=
f
16 depending on mode. The baud rate generator output is used directly by the
Receiver’s clock and data recovery units. However, the recovery units use a state
machine that uses 2, 8 or 16 states depending on mode set by the state of the UMSELn,
U2Xn and DDR_XCKn bits.
Table 101 contains equations for calculating the baud rate (in bits per second) and for
calculating the UBRRn value for each mode of operation using an internally generated
clock source.
Table 101. Equations for Calculating Baud Rate Register Setting
Note:
osc
Operating Mode
Asynchronous Normal
mode (U2Xn = 0)
Asynchronous Double
Speed mode (U2Xn =
1)
Synchronous Master
mode
BAUD Baud rate (in bits per second, bps)
f
UBRRn Contents of the UBRRHn and UBRRLn Registers, (0-4095)
OSC
/(UBRRn+1)). The Transmitter divides the baud rate generator clock output by 2, 8 or
1. The baud rate is defined to be the transfer rate in bit per second (bps)
System Oscillator clock frequency
osc
), is loaded with the UBRRn value each time the counter has counted
BAUD
BAUD
BAUD
Equation for Calculating
Baud Rate
=
=
=
----------------------------------------- -
16 UBRRn
-------------------------------------- -
8 UBRRn
-------------------------------------- -
2 UBRRn
(
(
(
f
f
f
OSC
OSC
OSC
(1)
+
+
+
1
1
1
)
)
)
UBRRn
UBRRn
UBRRn
Equation for Calculating
UBRR Value
=
=
=
----------------------- - 1
16BAUD
------------------- - 1
8BAUD
------------------- - 1
2BAUD
f
f
f
OSC
OSC
OSC
2549K–AVR–01/07

Related parts for ATMEGA2561V