cancel
Showing results for 
Search instead for 
Did you mean: 

H7B0VBT SAI2 configuration stuck at loading

ShiYe
Associate

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.page.jpg

error.jpg

Is there anything I can do to fix it?

1 ACCEPTED SOLUTION

Accepted Solutions
AScha.3
Chief III

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.

If you feel a post has answered your question, please click "Accept as Solution".

View solution in original post

2 REPLIES 2
AScha.3
Chief III

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.

If you feel a post has answered your question, please click "Accept as Solution".

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.