AnsweredAssumed Answered

Uart / Usart: use Rx-pin only

Question asked by Lukas Brändli on Dec 22, 2017
Latest reply on Dec 26, 2017 by Clive One

Hi

Is there an option to only use the Rx-pin of a uart / usart so that the Tx-pin can be used for something else (in my case SPI_SCK)?

If I enable a uart / usart in STM32CubeMx and go to the "Configuration" tab I can change "Data Direction" to "Receive only". But this doesn't disable the Tx-pin. 

Another way may be using half-duplex mode but then the Tx-pin would be used anyways and I couldn't use it for SPI. 

 

Note: I am still planning my own board and don't have any hardware to test.

 

Hopefully someone can help.

Regards

Lukas

Outcomes