at91rm3400 ATMEL Corporation, at91rm3400 Datasheet - Page 290

no-image

at91rm3400

Manufacturer Part Number
at91rm3400
Description
Atmel Advanced At91 Arm Microcontroller
Manufacturer
ATMEL Corporation
Datasheet

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
at91rm3400-AU-002
Manufacturer:
Atmel
Quantity:
10 000
RS485 Mode
290
AT91RM3400
The USART features the RS485 mode to enable line driver control. While operating in RS485
mode, the USART behaves as though in asynchronous or synchronous mode and configura-
tion of all the parameters are possible. The difference is that the RTS pin is driven high when
the transmitter is operating. The behavior of the RTS pin is controlled by the TXEMPTY bit. A
typical connection of the USART to a RS485 bus is shown in Figure 114.
Figure 114. Typical Connection to a RS485 bus.
The USART is set in RS485 mode by programming the USART_MODE field in the Mode Reg-
ister (US_MR) to the value 0x1.
The RTS pin is at a level inverse of the TXEMPTY bit. Significantly, the RTS pin remains high
when a timeguard is programmed so that the line can remain driven after the last character
completion. Figure 115 gives an example of the RTS waveform during a character transmis-
sion when the timeguard is enabled.
Figure 115. Example of RTS Drive with Timeguard
Baud Rate
TXEMPTY
US_THR
TXRDY
Clock
Write
TXD
RTS
USART
Start
Bit
D0
RXD
TXD
RTS
D1
D2
D3
D4
D5
D6
D7
Parity
Bit
Stop
Bit
Differential
Bus
TG = 4
1790A–ATARM–11/03

Related parts for at91rm3400