STM32CubeMX clock setting
Hi,
I am using STM32F469 discovery kit for a audio processing study. I am using STM32CubeMX (ver 6.2.0) for project setup and init code generation. In my application, I found a clock sync problem on MIC and Codec Playback. After some tracings, I found the code seemed different to GUI setting. On GUI, I took PLLI2SQ for SAI-A clock source as below:
but I found that auto-gen code was set to SAI_CLKSOURCE_PLLSAI. Then I manually changed it to SAI_CLKSOURCE_PLLI2S, then sync problem seemed gone.
Would it be a bug of the tool? Or would I miss something else?
Good day,
Young
