2016-01-14 09:07 AM
Problem is with STM32CubeMX v4.12.0, STM32CubeF7 v 1.3.0.
The initialization code for I2S is not setting the I2S clock source, which is causing the I2S clock to improperly initialized. I am using the I2SPLL, and I2SCLK was not getting divided down properly to create the correct I2S sample rate (Fs). The following line needs to be generated into the MX_I2Sx_Init routine: hi2sx.Init.ClockSource = I2S_CLOCK_SYSCLK; It is not being generated for the MX_I2Sx_Init routine, but the ClockSource member is being checked for validity by an assert function in the HAL_I2S_Init routine.2016-01-15 01:29 AM
Hi wired,
Thank you for your feedback. The issue has been reported internally.-Syrine-2016-03-22 11:28 AM
Dear user,
this issue is fixed starting from STM32CUbeMX 4.13.