Skip to content

SER-8 UART flow control mis-paired

Severity Status Implementation
error planned mid, depends on NET-7, NET-12

Looks at. UART RTS/CTS pin roles on both sides.

What it catches. RTS of one side not going to CTS of the other: CTS to CTS, RTS to RTS, or RTS to the other side's RTS through a level shifter.

Why it matters. Hardware flow control is crossed like TX/RX: RTS is an output saying "I can receive", CTS an input that gates the transmitter. CTS-to-CTS leaves both inputs undriven; depending on the pull, a side never transmits (CTS seen high, "not clear") or transmits into a full FIFO and drops bytes, which looks like a firmware bug at high baud rates only.

Example. An nRF52840 talking HCI to a CP2102N with hardware flow control: the CP2102N's RTS is an active-low output that rises when its RX FIFO reaches 448 bytes. Wired to the nRF's RTS instead of CTS, the nRF ignores it, overruns the bridge at 1 Mbaud and loses bytes during long transfers only.

How to check. Same as SER-1 for the RTS/CTS roles (NET-7, NET-12): each net must have one RTS (output) and one CTS (input). A CTS left floating is also worth a finding: give it a pull to "clear" or to "hold", say which.

Fix. Cross RTS and CTS; pull unused CTS inputs to their active level if flow control is off.

References. CP2102N §4.3.7 (Hardware Handshaking); Wikipedia, RS-232 "RTS, CTS, and RTR"; Wikipedia, UART.