2025-07-16 11:51 PM
When using SPI LL API on STM32H7, we want to use the CFG2[AFCNTR] bit. When “Master Keep IO option” is used in the IDE, Cube does not generate the LL_SPI_EnableGPIOControl() function call so that the bit remains unset. This has then has to be called from the user code. Is this a known behavior or a bug?
Reproduction steps are simple, when HAL is used for the SPI initialization the bit is set correctly, while when it is changed to LL, it is not set.
Reproduced on: Nucleo-H723ZG
STM32CubeIDE: 1.19.0
Package: H7 1.12.1
2025-07-17 1:04 AM
Hello @heveskar
I'm currently investigating this issue.
I will get back to you as soon as possible.
THX
Ghofrane
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.
2025-07-17 3:28 AM
Hello @heveskar
Your contribution is greatly appreciated.
The issue has been escalated to the development team for resolution. The internal ticket number is 214292.
I will keep you posted with updates.
THX
Ghofrane
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.