cancel
Showing results for 
Search instead for 
Did you mean: 

CubeMx , STM32G431 , setting USART as : data direction : receive only , does not free the Tx pin

mwalt.3
Associate III

... as imho it should

Hi , thanks !

1 REPLY 1
STTwo-32
ST Employee

Bonjour @mwalt.3 

Even if you set the data direction to receive only, you still need both pins on the STM32CubeMX. The only way to use just 1 pin is to set the mode to half duplex and set data direction to receive only. This will keep only 1 pin (the TX pin will do both TX and RX).

Best Regards.

STTwo-32 

Best Regards.

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Announcement

We’re moving the ST Community to a new platform to give you a better and more reliable community experience.