2017-08-14 05:09 AM
Hi!
Quick question about pin and I2S/SAI clock sources.If I wanted to use I2S_CLK pin (PC9) as kernel clock for I2S and SAI devices what is the recommended frequency in order to meet 44.1K and 48khz, 96Khz and 192Khz sampling? Section 50.9.9 in the technical manual and gives some equations. The CLKGEN as far as I can tell cannot divide down to multiples of 44.1k AND 48.0k. Is that right?
Or do I rely on PLL3 to do a good job for audio?2017-08-15 04:47 AM
It's not different from other STM32s with I2S. Calculate the required input clock for both required sample rates and find their least common multiple, then check if it fits within the constraints given by DS for that signal.
JW