Does anyone know if it would be possible to configure the same pin for both UART TX and UART RX simultaneously?
I have seen this feature in certain other micros and it can be used, for example, on a LIN bus or rs485 where there is a single wire/signal bus and extra error checking is not required.
I'm just running out of pins and saw this as an opportunity to save one. Thanks
Uart Rx/tx
Re: Uart Rx/tx
Sure if its half duplex you just have to switch the pin to input/output during RX/tx assuming rx output of the transceiver can be tri-stated (usually with enable line).
Re: Uart Rx/tx
@WiFive I tried running serial UART by using a single wire but was unsuccessful by just changing direction of pin. Are there any examples on this?
Re: Uart Rx/tx
Hello
Did someone succeed in running serial UART by using a single wire?
Hardware and software examples are welcomed.
regards
Did someone succeed in running serial UART by using a single wire?
Hardware and software examples are welcomed.
regards
Who is online
Users browsing this forum: No registered users and 75 guests