2021-12-16 12:57 AM
using: NUCLEO-H745ZI-Q board, STM32CubeIDE: Version: 1.8.0 Build: 11526_20211125_0815 (UTC)
I am new to STM32 and trying to do a simple led/gpio test.
can't identify a pin since there is no label that converts from port and pin, saw at some tutorials they use the labels that are at the ioc file:
example:
PB0.GPIO_Label=led_h
PB14.GPIO_Label=LD3 [Red Led]
at STM32CubeIDE when searching or ctrl+space it seems that there is no labels only GPIOA etc. and GPIO_PIN_0 etc.
how can I identify the correct way to interface to a pin?
Thank you,
Hanan
Solved! Go to Solution.
2021-12-16 05:43 AM
You need to assign pins to the core that you want to use them on. If you do so, the port/pin definitions will appear in the main.h file for that core.
Right click the pin and assign it to a core.
2021-12-16 05:43 AM
You need to assign pins to the core that you want to use them on. If you do so, the port/pin definitions will appear in the main.h file for that core.
Right click the pin and assign it to a core.
2021-12-16 05:48 AM
It worked, thank you