This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Is it physically possible to set UART RX and TX to same GPIO pin?

I'm trying to implement send && recieve through one wire. Handling of pin state, if it is input or output is done via SW. Also it is going to be half-duplex only.

Is it possible to do something like this:

NRF_UART0->PSELTXD=PIN_TX_RX;
NRF_UART0->PSELRXD=PIN_TX_RX;

After some experimentation I was unable to get it to run.

Related