SAM3N0C Atmel Corporation, SAM3N0C Datasheet - Page 541

no-image

SAM3N0C

Manufacturer Part Number
SAM3N0C
Description
Manufacturer
Atmel Corporation
Datasheets
30.7.3.9
30.7.3.10
11011A–ATARM–04-Oct-10
11011A–ATARM–04-Oct-10
Framing Error
Transmit Break
Table 30-11. Maximum Time-out Period (Continued)
The receiver is capable of detecting framing errors. A framing error happens when the stop bit of
a received character is detected at level 0. This can occur if the receiver and the transmitter are
fully desynchronized.
A framing error is reported on the FRAME bit of the Channel Status Register (US_CSR). The
FRAME bit is asserted in the middle of the stop bit as soon as the framing error is detected. It is
cleared by writing the Control Register (US_CR) with the RSTSTA bit to 1.
Figure 30-15. Framing Error Status
The user can request the transmitter to generate a break condition on the TXD line. A break con-
dition drives the TXD line low during at least one complete character. It appears the same as a
0x00 character sent with the parity and the stop bits to 0. However, the transmitter holds the
TXD line at least during one character until the user requests the break condition to be removed.
A break is transmitted by writing the Control Register (US_CR) with the STTBRK bit to 1. This
can be performed at any time, either while the transmitter is empty (no character in either the
Shift Register or in US_THR) or when a character is being transmitted. If a break is requested
while a character is being shifted out, the character is first completed before the TXD line is held
low.
Once STTBRK command is requested further STTBRK commands are ignored until the end of
the break is completed.
The break condition is removed by writing US_CR with the STPBRK bit to 1. If the STPBRK is
requested before the end of the minimum break duration (one character, including start, data,
parity and stop bits), the transmitter ensures that the break condition completes.
Baud Rate
Baud Rate
200000
56000
57600
FRAME
RXRDY
US_CR
Clock
Write
RXD
Start
Bit
D0
D1
D2
D3
D4
Bit Time
D5
18
17
5
D6
D7
Parity
Bit
Stop
Bit
RSTSTA = 1
Time-out
1 170
1 138
328
SAM3N
SAM3N
541
541

Related parts for SAM3N0C