2025-04-01 9:13 PM
I'm trying to configure SAI2 as a I2S master.
I2S_CKIN has been enabled
But the configuration cannot be loaded when I changed SAI A Mode to master.
Now I got a page like this.
Is there anything I can do to fix it?
Solved! Go to Solution.
2025-04-01 10:52 PM
No. Wait for next version of Cube/HAL lib, or use older version, without this error.
The problem with SAI on H7A3 and H7B is known and should be cleared on next version by STM.
Or as a workaround: make new project for H743 and set same clock tree as you have here, set SAI then as you want and generate code. Then copy the SAI init to your H7B program, replacing the SAI init there. Now you have the same, as a correct version of Cube would generate. I did this, to see it working on my H7A3.
2025-04-01 10:52 PM
No. Wait for next version of Cube/HAL lib, or use older version, without this error.
The problem with SAI on H7A3 and H7B is known and should be cleared on next version by STM.
Or as a workaround: make new project for H743 and set same clock tree as you have here, set SAI then as you want and generate code. Then copy the SAI init to your H7B program, replacing the SAI init there. Now you have the same, as a correct version of Cube would generate. I did this, to see it working on my H7A3.
2025-04-01 10:56 PM
Thank you so much for your info.
It's a big relief to know that this is known and gonna be fixed.
Since this is not an urgent need, I'm gonna wait for the next release.