Skip to main content
1 of 3

STM32 H7 - Outputs wrong I2S BCLK (1.027 Mhz pulses, expected 1.024)?

The STM32 seems to be a nightmare... Just such weird issues constantly. Anyways, I'm trying to output Master I2S (with BCLK, no MCLK) at 16 Khz, but for some reason am getting a 1.027 Mhz clock causing audio artifacts. Input clock is PLL2 or PLL3, doesn't make a difference at 2.048 Mhz or 20.48 Mhz, doesn't make a difference...

Any ideas?

enter image description here enter image description here enter image description here