2024-09-11 07:59 PM
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.
Solved! Go to Solution.
2024-09-12 05:16 AM
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.
2024-09-12 12:07 AM
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.
2024-09-12 05:10 AM
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
2024-09-12 05:16 AM
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.