2025-07-15 6:17 AM
In the SPI options for STM32H7S3, the "Prescaler (for Baud Rate)" drop-down box has various values from 2 to 256, but the option to bypass the prescaler is missing.
To be clear, I'm referring to the BPASS bit in register SPI_CFG1:
To get around this, I add a few lines to the generated code:
hspi1.Init.BaudRatePrescaler = SPI_BAUDRATEPRESCALER_BYPASS;
if (HAL_SPI_Init(&hspi1) != HAL_OK)
{
Error_Handler();
}
This works. But to avoid people having to do this in the future, could you add the bypass option to Cube instead?
Thank you.
Solved! Go to Solution.
2025-07-15 6:37 AM - edited 2025-07-15 7:26 AM
Hello @Steve Melnikoff
Your contribution is greatly appreciated.
The issue has been reported to the development team under internal ticket number 214129.
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-15 6:37 AM - edited 2025-07-15 7:26 AM
Hello @Steve Melnikoff
Your contribution is greatly appreciated.
The issue has been reported to the development team under internal ticket number 214129.
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.