Nations Technologies Inc.
Tel
:
+86-755-86309900
:
Address: Nations Tower, #109 Baoshen Road, Hi-tech Park North.
Nanshan District, Shenzhen, 518057, P.R.China
468
/
631
RTS flow control
Set USART_CTRL3.RTSEN to enable RTS. RTS is the output signal used to indicate that the receiver is ready. When
data arrives in RDR, pull high nRTS output, notifying the sender to stop data transmission at the end of the current
frame. when
receiver is ready to receive new data
, assert (pull low) the nRTS output.
Figure 22-10 RTS flow control
CTS flow control
Set USART_CTRL3.CTSEN to enable CTS. CTS is an input signal, used to judge whether data can be sent to the
other device. The low level is valid, and the low level indicates that the device can send data to the other device. If
the nCTS signal becomes invalid during data transmission, the transmission will stop after sending the data. If you
write data to the data register when nCTS is invalid, the data will not be sent until nCTS is valid.
If the USART_CTRL3.CTSEN bit is set, the USART_STS.CTSF bit will be set high by hardware when the nCTS
input changes state. An interrupt will be generated if USART_CTRL3.CTSIEN is enabled.
Start
Bit
Stop
Bit
Idle
Data 1
Data 2
RX line
RTS line
Start
Bit
Stop
Bit
Waiting to read data
register,RTS high
Read data register
end,RTS low