2024-02-20 09:44 PM
Hi Community,
I am working on a stepper motor driver development board that uses SPI for configuration and a few GPIOs for control. The development board uses a 5V logic level and needs an interface to STM32G491RE. By referring to the datasheet I choose the following pins which are 5V tolerant (denoted by FT) for SPI (PC10, PC11, PC12, PA15) and GPIO (PA13, PA14).
When I run a debug session I can see it crashes at HAL_GPIO_Init at the following line.
With a message on the console as below
What might be wrong?
STM32CubeIDE: 1.13.1
HAL : FW_G4 V1.5.1
Solved! Go to Solution.
2024-02-20 10:08 PM - edited 2024-02-20 10:10 PM
Hello @newbie_stm32
I suggest you to take a look at this post. It may help you.
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-02-20 10:08 PM - edited 2024-02-20 10:10 PM
Hello @newbie_stm32
I suggest you to take a look at this post. It may help you.
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-02-20 10:17 PM
Hi @STTwo-32, thanks for pointing it out. It solved the issue.