SC16C850 All information provided in this document is subject to legal disclaimers. © NXP B.V. 2010. All rights reserved.
Product data sheet Rev. 2 — 11 November 2010 35 of 55
NXP Semiconductors
SC16C850
2.5 to 3.3 V UART with 128-byte FIFOs and IrDA encoder/decoder
7.20 RS-485 Turn-around time delay (RS485TIME)
The value in this register controls the turn-around time of the external line transceiver in
bit time. In automatic 9-bit mode RTS
or DTR pin is used to control the direction of the line
driver, after the last bit of data has been shifted out of the transmit shift register the UART
will count down the value in this register. When the count value reaches zero, the UART
will assert RTS
or DTR pin (logic 0) to turn the external RS-485 transceiver around for
receiving.
7.21 Advanced Feature Control Register 2 (AFCR2)
Table 30. RS-485 programmable turn-around time register bits description
Bit Symbol Description
7:0 RS485TIME[7:0] External RS-485 transceiver turn-around time delay. The value
represents the bit time at the programmed baud rate.
Table 31. Advanced Feature Control Register 2 register bits description
Bit Symbol Description
7:6 AFCR2[7:6] reserved
5 AFCR2[5] RTSInvert. Invert RTS or DTR signal in automatic 9-bit mode.
logic 0 = RTS or DTR is set to 0 by the UART during transmission,
and to 1 during reception
logic 1 = RTS or DTR is set to 1 by the UART during transmission,
and to 0 during reception
4 AFCR2[4] RTSCon. Enable the transmitter to control RTS
or DTR pin in
automatic 9-bit mode.
logic 0 = transmitter does not control RTS or DTR pin
logic 1 = transmitter controls RTS
or DTR pin
3 AFCR2[3] RS485 RTS/DTR. Select RTS
or DTR pin to control the external
transceiver.
logic 0 = RTS pin is used to control the external transceiver
logic 1 = DTR pin is used to control the external transceiver
2 AFCR2[2] TXDisable. Disable transmitter
logic 0 = transmitter is enabled
logic 1 = transmitter is disabled
1 AFCR2[1] RXDisable. Disable receiver
logic 0 = receiver is enabled
logic 1 = receiver is disabled
0 AFCR2[0] 9-bitMode. Enable 9-bit mode or Multidrop (RS-485) mode
logic 0 = normal RS-232 mode
logic 1 = enable 9-bit mode