Skip to main content
gvigelet
Associate III
September 12, 2024
Solved

MXCUBE USART on H7S3

  • September 12, 2024
  • 1 reply
  • 1992 views

HI Forum,

I am configuring my USART as a synchronous slave receive only, the cube software configures clock, receive and transmit GPIO and I cannot remove the transmit GPIO configuration in the GUI without it removing the entire peripheral.  Is their a way to configure this properly.  I can configure the USART with clock and receive manually and the and use the TX pin for some other GPIO in code without a problem. When receive or transmit only is selected from the data direction option the corresponding unused pin should become free.

Best answer by STTwo-32

Sure, you can configure them manually.

Best Regards.

STTwo-32

 

1 reply

STTwo-32
Technical Moderator
September 12, 2024

Hello @gvigelet 

On CubeMX, the only mode where you can use only one Pin (TX Pin) is the Single Wire (Half Duplex) mode. For other modes including the Synchronous Slave mode, it is not possible to disable the Pin of the unused mode (TX or RX) even if you select only one data direction. 

Best Regards.

STTwo-32

gvigelet
gvigeletAuthor
Associate III
September 12, 2024

Thank you for the clarification, is their any issue with manually configuring the unused pin for standard GPIO?  I just want to know if there are any problems with this configuration before re-spinning my current board.

 

Thank You,

George

STTwo-32
STTwo-32Best answer
Technical Moderator
September 12, 2024

Sure, you can configure them manually.

Best Regards.

STTwo-32