cancel
Showing results for 
Search instead for 
Did you mean: 

SPI GPIO control - AFCNTR bit with LL API

heveskar
Senior

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

2 REPLIES 2
Ghofrane GSOURI
ST Employee

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.

Ghofrane GSOURI
ST Employee

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.