Skip to main content
Poul-Erik
Associate
September 2, 2022
Question

stm32H750: Config of SAI4 sample rate in stm32CubeMx

  • September 2, 2022
  • 2 replies
  • 1486 views

I have created a clock of 38.4MHz for SAI4A and SAI4B but I am not able to get 24.0kHz sample rate for a I2S 32bit Master input.

All sample rages seams to relate 4.8MHz clock.

0693W00000SuNk6QAF.png0693W00000SuNjhQAF.png

This topic has been closed for replies.

2 replies

AScha.3
Super User
September 2, 2022

Hello Poul,

you really want 24kHz sample rate ? this is no standard frequ. , but ok, lets try:

0693W00000SuOnBQAV.pngwith pll setting

0693W00000SuOnQQAV.png 

comes close to your 24khz ;

if you want frequ. exact 100% , you must use a matching clock, ie, 49,152 MHz.

ok?

If you feel a post has answered your question, please click on " Best Answer ".