AT91SAM7S32-AI ATMEL [ATMEL Corporation], AT91SAM7S32-AI Datasheet - Page 289

no-image

AT91SAM7S32-AI

Manufacturer Part Number
AT91SAM7S32-AI
Description
AT91 ARM Thumb-based Microcontrollers
Manufacturer
ATMEL [ATMEL Corporation]
Datasheet
Modem Mode
6071A–ATARM–28-Oct-04
The USART features modem mode, which enables control of the signals: DTR (Data Terminal
Ready), DSR (Data Set Ready), RTS (Request to Send), CTS (Clear to Send), DCD (Data
Carrier Detect) and RI (Ring Indicator). While operating in modem mode, the USART behaves
as a DTE (Data Terminal Equipment) as it drives DTR and RTS and can detect level change
on DSR, DCD, CTS and RI.
Setting the USART in modem mode is performed by writing the USART_MODE field in the
Mode Register (US_MR) to the value 0x3. While operating in modem mode the USART
behaves as though in asynchronous mode and all the parameter configurations are available.
Table 68 gives the correspondence of the USART signals with modem connection standards.
Table 68. Circuit References
The control of the RTS and DTR output pins is performed by witting the Control Register
(US_CR) with the RTSDIS, RTSEN, DTRDIS and DTREN bits respectively at 1. The disable
command forces the corresponding pin to its inactive level, i.e. high. The enable commands
force the corresponding pin to its active level, i.e. low.
The level changes are detected on the RI, DSR, DCD and CTS pins. If an input change is
detected, the RIIC, DSRIC, DCDIC and CTSIC bits in the Channel Status Register (US_CSR)
are set respectively and can trigger an interrupt. The status is automatically cleared when
US_CSR is read. Furthermore, the CTS automatically disables the transmitter when it is
detected at its inactive state. If a character is being transmitted when the CTS rises, the char-
acter transmission is completed before the transmitter is actually disabled.
USART Pin
TXD
RTS
DTR
RXD
CTS
DSR
DCD
RI
V24
2
4
20
3
5
6
8
22
CCITT
103
105
108.2
104
106
107
109
125
AT91SAM7S32 Preliminary
Direction
From terminal to modem
From terminal to modem
From terminal to modem
From modem to terminal
From terminal to modem
From terminal to modem
From terminal to modem
From terminal to modem
289

Related parts for AT91SAM7S32-AI