2023-12-14 06:33 PM
Hello,
I am developing a project using STM32H742VIT6.
I have tentatively tried to configure SPI on PA4-7 outputs and USART1 TX on PA9 simultaneously. However, when I try to implement this configuration on STM32CubeMX, it automatically places USART1 TX on PB14.
I don't see anything in the documentation restricting what pin combinations SPI1 and USART1 can be configured on... Is this allowed? If not, can someone point me where in the documentation these interdependencies can be found?
Thanks!
-Brian
2023-12-14 10:36 PM
Hello @briankaz
There is no restriction on using PA9 as USART1_TX will be using SPI1 on pins 4,5,6,7.
Is just CubeMx that will setting the USART1 it configure the TX to the PB15 and the RX to the PB14.
All you have to do is to click on the PA9 and check USART1_TX and it will be automatically changed.
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.