Half duplex UART

Thread Starter

engr_david_ee

Joined Mar 10, 2023
358
UART is full duplex. There are separate lines or pins for Tx and Rx. My question is if we only want to transmit data from microcontroller to PC, do we need to use the Rx pin of the microcontroller ? or route any trace from Rx pin of the microcontroller on the custom PCB ?

The data from microcontroller to PC should only use the Tx pin of the microcontroller not Rx pin of the microcontroller, right ?
 

ericgibbs

Joined Jan 29, 2010
21,391
hi engr,
It is not necessary to connect the MCU RX pin.
But I would always run a RX trace adjacent to the TX take off point.
In some future application, the ability to add an RX input could be useful.
E
 

WBahn

Joined Mar 31, 2012
32,706
UART is full duplex. There are separate lines or pins for Tx and Rx. My question is if we only want to transmit data from microcontroller to PC, do we need to use the Rx pin of the microcontroller ? or route any trace from Rx pin of the microcontroller on the custom PCB ?

The data from microcontroller to PC should only use the Tx pin of the microcontroller not Rx pin of the microcontroller, right ?
That is correct.

But note that this does NOT make it half-duplex. In a half-duplex system, there is still two-way communication possible, just not at the same moment. Your system would be better described as being unidirectional.
 
Top