cancel
Showing results for 
Search instead for 
Did you mean: 

I2S Clock Configuration on STM32H562RG for V4220M/CS4220 codec

sebxx4
Associate III

Hello,

I have a problem with configuring the clocks for I2S on the STM32H562RG. I’m using a V4220M codec (the same as the CS4220), which requires a clock that is a maximum of 512x the sampling frequency. However, when I try to set the sampling frequency to 44kHz in CubeIDE and the clock for I2S (master clock) to 22.528MHz, Cube gives me an error saying that for this sampling frequency, the minimum clock for I2S is 39.424MHz. :\ Is there anything that can be done about this?

2 REPLIES 2
Imen.D
ST Employee

Hello @sebxx4 ,

After test, it looks like that it is a CubeMX issue.

I escalated your request internally for more investigation (Internal ticket number: 194784   - This is an internal tracking number and is not accessible or usable outside of ST).

Thank you for your contribution.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen
Imen.D
ST Employee

Hi @sebxx4 ,

I2S configuration Issue is confirmed by CubeMx team and will be fixed as soon as possible.

Thank you once again for your contribution and for having reported this issue.

When your question is answered, please close this topic by clicking "Accept as Solution".
Thanks
Imen