ATMEGA16U2-16AU Atmel, ATMEGA16U2-16AU Datasheet - Page 166

no-image

ATMEGA16U2-16AU

Manufacturer Part Number
ATMEGA16U2-16AU
Description
8-bit Microcontrollers - MCU 16K Flash
Manufacturer
Atmel
Datasheet

Specifications of ATMEGA16U2-16AU

Product Category
8-bit Microcontrollers - MCU
Rohs
yes
Core
AVR
Data Bus Width
8 bit
Program Memory Size
16 KB
Data Ram Size
1.25 KB
Data Rom Size
512 B
Program Memory Type
Flash
Factory Pack Quantity
1250
18.10.2
7799D–AVR–11/10
Transmission Flow Control
stop sending characters. RTS usage and so associated flow control is enabled using RTSEN bit
in UCSRnD.
Figure 18-8. shows a reception example.
Figure 18-8. Reception Flow Control Waveform Example
Figure 18-9. RTS behavior
RTS will rise at 2/3 of the last received stop bit if the receive fifo is full.
To ensure reliable transmissions, even after a RTS rise, an extra-data can still be received and
stored in the Receive Shift Register.
The transmission flow can be controlled by hardware using the CTS pin controlled by the exter-
nal receiver. The aim of the flow control is to stop transmission when the receiver is full of data
(CTS = 1). CTS usage and so associated flow control is enabled using CTSEN bit in UCSRnD.
The CTS pin is sampled at each CPU write and at the middle of the last stop bit that is
curently being sent.
Figure 18-10. CTS behavior
Read from CPU
Write from CPU
RXD
RTS
TXD
CTS
sample
Start
Start
Index
FIFO
RXD
RTS
Byte0
Byte0
Stop
Stop
0
sample
C1 C2
ATmega8U2/16U2/32U2
1
Start
Start
2
CPU Read
1
Byte1
Byte1
C3
0
Stop
Stop
1
sample
1 additional byte may be sent
if the transmitter misses the RTS trig
Start
Start
Byte2
Byte2
166

Related parts for ATMEGA16U2-16AU