AnsweredAssumed Answered

SAI Clock Generator in Slave mode

Question asked by ch..florian on Jun 3, 2016
Latest reply on Jan 20, 2018 by waclawek.jan
Hello,

In order to use both SAI_A and SAI_B, both in slave mode, on a STM32L4, I am wondering if the SAI_CK clock is used ? 
An external device is supposed to provide the BCLK and the FS clock (in my case), and the reference manual says that "When the audio block is defined as slave, the clock generator is OFF." (p.1328). This makes me think that I don't need to generate any further clock for the SAI. But under CubeMX, I can change SAI1 and SAI2's clocks. I can even use an external SAIx clock with an input. 
So do I need to provide any clock for the two SAI (which are both in slave mode) with the BCLK and the FS clock ? If not, why CubeMX gives me the possibility to change SAI1 and SAI2 clock ?


Thanks,


Florian

Outcomes