
GD32F403xx User Manual
406
Figure 17-7. Hardware flow control between two USARTs
USART 1
TX module
RX module
USART 2
RX module
TX module
TX
RX
nCTS
nRTS
RX
TX
nRTS
nCTS
RTS flow control
The USART receiver outputs the nRTS, which reflects the status of the receive buffer. When
data frame is received, the nRTS signal goes high to prevent the transmitter from sending
next frame. The nRTS signal keeps high when the receive buffer is full, and can be cleared
by reading the USART_DATA register.
CTS flow control
The USART transmitter monitors the nCTS input pin to decide whether a data frame can be
transmitted. If the TBE bit in USART_STAT0 is ‘0’ and the nCTS signal is low, the transmitter
transmits the data frame. When the nCTS signal goes high during a transmission, the
transmitter stops after the current transmission is accomplished.
Figure 17-8. Hardware flow control
nCTS
RX
CTS follow control
TX
start
data2
start
data3
stop
stop
data1
stop
start
data1
start
data2
stop
stop
USART_DATA
data2
empty
empty
empty
idle
idle
idle
RTS follow control
nRTS
data3
idle
If the CTS flow control is enabled, the CTSF bit in USART_STAT0 is set when the nCTS pin
toggles. An interrupt is generated if the CTSIE bit in USART_CTL2 is set.
17.3.7.
Multi-processor communication
In multiprocessor communication, several USARTs are connected as a network. It will be a
Содержание GD32F403 Series
Страница 1: ...GigaDevice Semiconductor Inc GD32F403xx Arm Cortex M4 32 bit MCU User Manual Revision 2 6 Jul 2022 ...
Страница 177: ...GD32F403xx UserManual 177 Peripheral Channel 0 Channel 1 Channel 2 Channel 3 Channel 4 SDIO SDIO ...
Страница 217: ...GD32F403xx UserManual 217 ensures that no conversion is in progress ...