2025-09-29 7:50 PM
I found the following issues when generating code for an SAI peripheral using CubeMX6.14.0 for the STM32H73IIKx board. These issues are also present in 6.14.1 and 6.15.0. They are not present in 6.13.0.
1. Displayed Real Audio Frequency in CubeMX
Two sub-issues:
These issues are shown in the attached Real Audio Frequency.jpg.
2. OVERSAMPING constants are used for the NoDivider field in the generated code
e.g. hsai_BlockA1.Init.NoDivider = SAI_MCK_OVERSAMPLING_DISABLE;
This is shown in the attached SAI Generated.jpg, which shows a diff between the code generated by 6.14.0 and previously generated code.
3. OVERSAMPING constants for the MckOverSampling field are incorrect
e.g. SAI_MCK_OVERSAMPLING_DISABLE is used when Master Clock Over Sampling is set to Enabled.
This is shown by comparing the configuration in SAI Config.jpg with the generated code in SAI Generated.jpg.
2025-09-30 12:26 AM - edited 2025-10-01 3:18 AM
Hello @Craig_Robertson
Thank you very much for your valuable contributions. Tickets 218730 and 218723 have been raised with the development team to address the three points you reported.
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.