Skip to main content
mwalt.3
Associate III
August 17, 2024
Question

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

  • August 17, 2024
  • 1 reply
  • 698 views

... as imho it should

Hi , thanks !

1 reply

STTwo-32
Technical Moderator
August 17, 2024

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.