![ARTERY AT32F435 Series Reference Manual Download Page 205](http://html1.mh-extra.com/html/artery/at32f435-series/at32f435-series_reference-manual_2977592205.webp)
AT32F435/437
Series Reference Manual
2022.11.11
Page 205
Rev 2.03
Figure 12-4 IrDA DATA(3/16) – normal mode
Normal frame
1
Start
bit
0
1
0
1
1
0
0
Stop
bit
TX pin
RX pin
3/16
4.
Hardware flow control mode:
RTS and CTS flow control can be enabled by setting RTSEN=1 and CTSEN=1, respectively.
RTS: the RTS becomes active (pull-down means low) as soon as the USART receiver is ready to
receive a data. When the data has arrived (starts at each STOP bit) in the receive register, the RTS
bit is set, indicating request to stop data transfer at the end of current frame.
CTS: the USART transmitter checks the CTS input before sending next frame. The next data is sent
if CTS is active (when low); if CTS becomes inactive (when high) during transmission, it stops
sending at the end of current transfer.
Figure 12-5 Hardware flow control
RX pin
RTS
frame0
frame1
RTS follow control
:
CTS
TX pin
frame0
frame1
CTS follow control
:
frame2
5.
RS485 mode:
This mode is enabled by setting RS485EN=1. The enable signal is output on the RTS pin. The DEP
bit is used to select the polarity of the DE signal. The TSDT[4: 0] bit is used to define the latency
before the transmission of the start bit on the transmitter side, while the TCDT[4: 0] is used to define
the latency before the TC flag is set following the stop bit at the end of the last data.
6.
Silent mode:
Silent mode can be entered by setting RM=1. It is possible to wake up from silent mode by setting
WUM=1 (ID match) and WUM=0 (idle bus), respectively. The ID[7: 0] is configurable. Select ID[7: 0]
or ID[3: 0] by setting the IDBN bit. When ID match is selected, if the MSB of data bit is set, it indicates
that the current data stands for ID.
When parity check is disabled, if DBN1,DBN0=10, the MSB refers to the USART_DT[6]; if
DBN1,DBN0=00, the MSB refers to the USART_DT[7]; if DBN1,DBN0=01, the MSB stands for
USART_DT[8.
When parity check is enabled, if DBN1,DBN0=10, the MSB stands for USART_DT[5; if
DBN1,DBN0=00, the MSB stands for USART_DT[6]; if DBN1,DBN0=01, the MSB stands for
USART_DT[7].