2021-10-31 01:11 PM
I will be working with some STM32F4 processors soon and so I am doing some reading ahead. What I am not clear on is if I use HAL to setup I/O or peripherals do I need to use STMCubeMX to set up the pins?
Can STMCubeMX (pin editor?) be opened from IDE?
MaryK
Solved! Go to Solution.
2021-10-31 02:20 PM
> What I am not clear on is if I use HAL to setup I/O or peripherals do I need to use STMCubeMX to set up the pins?
No, STM32CubeMX generates code that uses HAL, but you can use HAL without using the CubeMX generated code.
> Can STMCubeMX (pin editor?) be opened from IDE?
Yes, STM32CubeMX is integrated within STM32CubeIDE.
2021-10-31 02:20 PM
> What I am not clear on is if I use HAL to setup I/O or peripherals do I need to use STMCubeMX to set up the pins?
No, STM32CubeMX generates code that uses HAL, but you can use HAL without using the CubeMX generated code.
> Can STMCubeMX (pin editor?) be opened from IDE?
Yes, STM32CubeMX is integrated within STM32CubeIDE.