cancel
Showing results for 
Search instead for 
Did you mean: 

MXCUBE USART on H7S3

gvigelet
Associate II

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.

1 ACCEPTED SOLUTION

Accepted Solutions

Sure, you can configure them manually.

Best Regards.

STTwo-32

 

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.

View solution in original post

3 REPLIES 3
STTwo-32
ST Employee

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

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.

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

Sure, you can configure them manually.

Best Regards.

STTwo-32

 

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.