Master Clock STM32H7 SAI Incorrect
Hi everyone,
I am trying to get the SAI1 periperhal configured in I2S Standard mode going on the STM32H753ZI. During my testing sessions I found that my master clock is so far off it doesnt make sense.
Based on the figure 652 within the TRM, it shows that the MCLK_x is produced by having NOMCK = 0 and just having the sai_x_ker_ck divided by MCKDIV,
in which case should have been 98.304MHz/4 = 24.576MHz, but somehow getting 5MHz???
Current Configuration:
- Using SAI1 Block A is Master Rx and Block B is Slave Tx
- SAI1 Block A is Async and Block B is Sync
- Using the frequency of 96kHz
- SAI1 A Clock Kernerl is rated at 98.306MHz
- Using I2S Standard
- Using PLL2_P_CLK to source SAI1 A MCLK
- Over Sampling = 0 (*256)
Things I have done thus far:
- Probbing SAI MCLK getting around 5-6 MHz
- Confirmed that the PLL2_P_CLK is indeed 98.304MHz through MCO2
- Checked wiring
- Double checked pinout
Picture of register of both SAI1 Block A and B
SAI 1 Block A reg:
SAI 1 Block B Reg:
Picture of SAI 1 Block A MCLK

