32-Bit Arm
®
Cortex
®
-M0+ MCU
HT32F52342/HT32F52352
RTS Flow Control
In the RTS flow control, the USART RTS pin is active with a logic low state when the receive data
register is empty. It means that the receiver is ready to receive a new data. When the RX FIFO
reaches the trigger level which is specified by configuring the RXTL field in the USRFCR register,
the USART RTS pin is inactive with a logic high state. Figure 164 shows the example of RTS flow
control.
Start Bit
Bit 0
Bit 1
Bit 2
Bit 3
RTS
RXFS[3:0]
3
Figure 164. USART RTS Flow Control
CTS Flow Control
If the hard flow control function is enabled, the URTXEN bit in the USRCR register will be
controlled by the USART CTS input signal. If the USART CTS pin is forced to a logic low state,
the URTXEN bit will automatically be set to 1 to enable the data transmission. However, if the
USART CTS pin is forced to a logic high state, the URTXEN bit will be cleared to 0 and then the
data transmission will also be disabled.
When the USART CTS pin is forced to a logic high state during a data transmission period, the
current data transmission will be continued until the stop bit is completed. The Figure 165 shows
an example of communication with CTS flow control.
Start Bit
Bit 1
Bit 2
Bit 3
Bit 4
Bit 0
CTS
4
TXFS[3:0]
Figure 165. USART CTS Flow Control
Rev. 1.30
Parity Bit
Bit 4
Bit N
Stop Bit
Idle
N=6~8
4
Reach the RX trigger level
Read data until RX FIFO is empty
RFTL[2:0] = 0x01
Parity Bit
Start Bit
Bit N
Stop Bit
Idle
N=6~8
503 of 656
Start Bit
Bit 0
Bit 1
Bit 2
Bit 3
0
Bit 2 Bit 3 Bit 4
Bit 0
Bit 1
3
Parity Bit
Stop Bit
Bit 4
Bit N
N=6~8
1
Parity Bit
Start Bit
Stop
Bit N
Bit 0
Bit
N=6~8
2
September 28, 2018
Need help?
Do you have a question about the HT32F52342 and is the answer not in the manual?