AT91FR40161 ATMEL Corporation, AT91FR40161 Datasheet - Page 103

no-image

AT91FR40161

Manufacturer Part Number
AT91FR40161
Description
The AT91FR40161 Features 136 K Bytes of On-chip SRAM, 2M Bytes of Flash, an External Bus Interface, a 3-channel Timer/Counter, 2 ...
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
AT91FR40161-CI
Manufacturer:
TI
Quantity:
101
Part Number:
AT91FR40161-CI
Manufacturer:
Atmel
Quantity:
10 000
Transmitter
Time-guard
Multi-drop Mode
1354D–ATARM–08/02
The transmitter has the same behavior in both synchronous and asynchronous operat-
ing modes. Start bit, data bits, parity bit and stop bits are serially shifted, lowest
significant bit first, on the falling edge of the serial clock. See example in Figure 41.
The number of data bits is selected in the CHRL field in US_MR.
The parity bit is set according to the PAR field in US_MR.
The number of stop bits is selected in the NBSTOP field in US_MR.
When a character is written to US_THR (Transmit Holding), it is transferred to the Shift
Register as soon as it is empty. When the transfer occurs, the TXRDY bit in US_CSR is
set until a new character is written to US_THR. If Transmit Shift Register and US_THR
are both empty, the TXEMPTY bit in US_CSR is set.
The Time-guard function allows the transmitter to insert an idle state on the TXD line
between two characters. The duration of the idle state is programmed in US_TTGR
(Transmitter Time-guard). When this register is set to zero, no time-guard is generated.
Otherwise, the transmitter holds a high level on TXD after each transmitted byte during
the number of bit periods programmed in US_TTGR
When the field PAR in US_MR equals 11X (binary value), the USART is configured to
run in Multi-drop Mode. In this case, the parity error bit PARE in US_CSR is set when
data is detected with a parity bit set to identify an address byte. PARE is cleared with the
Reset Status Bits Command (RSTSTA) in US_CR. If the parity bit is detected low, iden-
tifying a data byte, PARE is not set.
The transmitter sends an address byte (parity bit set) when a Send Address Command
(SENDA) is written to US_CR. In this case, the next byte written to US_THR will be
transmitted as an address. After this any byte transmitted will have the parity bit cleared.
Figure 41. Synchronous and Asynchronous Modes: Character Transmission
Baud Rate
Example: 8-bit, parity enabled 1 stop
Clock
TXD
Start
between two characters
Bit
Idle state duration
D0
D1
D2
=
D3
Time-guard
D4
Value
D5
AT91X40 Series
x
D6
Period
Bit
D7
Parity
Bit
Stop
Bit
103

Related parts for AT91FR40161