Skip to main content

Subsection 3.1.4 Full Duplex and Pin Names

A UART link normally carries traffic in both directions at once, and it does that by using one wire per direction. The STM32C031C6 transmits on its TX pin (transmit, board to laptop) and receives on its RX pin (receive, laptop to board), and the two operate at the same time, independently. This two-wire arrangement is called full duplex. Because the two wires carry traffic in opposite directions, TX on one device connects to RX on the other. The two devices must also share a ground connection, or neither side has a reference against which to call the line HIGH or LOW.
Figure 3.1.4. Full-duplex UART wiring between two devices. TX on the left device crosses to RX on the right, and vice versa. Both devices also share a common ground reference. Connecting TX→TX is the most common wiring mistake: neither side receives anything.