Skip to main content
HWidj.2
Associate II
June 10, 2021
Question

SAI or SPI clock requirement as I2S slave

When acting as I2S master, the kernel clock frequency for SAI or SPI must be set to some multiple of the audio sample rate, and the bit clock and frame sync signals are then generated by dividing the kernel clock. Now, if acting as I2S slave the bit clock and frame sync signals are inputs, is the kernel clock still needed in this case? And if yes, does it have to be synchronous to the bit clock and frame sync signals which are supplied by an external device?

The user manual does not say anything about the kernel clock requirement in slave mode.

This topic has been closed for replies.

2 replies

waclawek.jan
Super User
June 11, 2021

Which STM32?

Generally, in slave mode, there is no need for the dedicated "kernel" clock and data are shifted in using the bit clock input.

JW

HWidj.2
HWidj.2Author
Associate II
June 11, 2021

That's what I thought, thank you.