AnsweredAssumed Answered

iMX7 I2S playback in Slave mode

Question asked by Kevin Welsh on Feb 6, 2019
Latest reply on Jul 3, 2019 by peter zhang

I would like to put the iMX7 into I2S slave mode for 2 channel playback. The codec we are developing will send BCLK & LRCLK.(We can send MCLK if needed, but I hope it is not)


I saw another post that asked about this diagram:

and it seems the answer was that the left side is valid.


My confusion is that the iMX Pin Tool seems to indicate that the sai_tx_bclk is Output only? Is that right? Am I misreading this:

The iMX7D Reference Manual says it is I/O. But that manual also says that MCLK is I/O, and I heard that it is not, so I'm not sure if the docs are accurate.


I also read in another post that the iMX7 SABRE used the iMX in I2S Slave mode, and the codec in master mode, but the schematic below doesn't seem to show that:


So, my ultimate questions are:

Can I send BCLK and LRCLK into the iMX7D and get DOUT output?

If it can, can someone point me to instruction on how to configure the iMX7 to do this? (I will be using a modern Linux kernel)