2024-07-28 08:04 PM
Hi,
I wrote a program to toggle GPIO PD13 on the STM32MP157D-DK1 using STM32CubeIDE.
I set the Boot pins on the STM32MP157D-DK1 board to Engineering mode and can start a debug session but it seems like the M4 does not toggle GPIO PD13 at all. Its like its not starting or working.
Below is a snippet of my code:
Please assist me with this issue?
2024-07-29 03:13 AM
Hi,
this should be relatively easy to debug.
Did you check the clock to the GPIO port is enabled ?
Did you check the GPIO port is set in output mode ?
If CubeMx did not generate this even if GPIO ouput is well configured, it is likely because GPIO is not assigned to Cortex-M4 (right-click on the pin).
Regards.