Hello,
I am developing a board with iMX8MPlus processor. I would like to use an audio Codec, TVL320AIC3007, but I have problem with the audio interface between the processor and the Codec.
Here is the interface of the Codec :
For the DIN and DOUT there is no problem as I can use the TX RX data of a SAI. For the clock I am more confused as I need two bidirectionnal clockand the SAI of the processor as only one of them.
My question is, is it possible to connect the Audio Codec to the processor ? If yes which SAI pins can be used for the BCLK and WCLK ?
Thank you in advance,
Guilhem
Solved! Go to Solution.
Hi Guilhem
from TLV320AIC datasheet:
BCLK - Audio serial data bus bit clock input/output
WCLK-Audio serial data bus word clock input/output
BCLK can be connected to SAI BCLK, direction is configured by "BCD" -
Bit Clock Direction described in sect.14.4
i.MX 8M Plus Applications Processor Reference Manual
WCLK is connected to SAI "Frame Sync" described in sect.14.4.3 External signals
direction is configured by "FSD"..
Best regards
igor
Hi Guilhem
from TLV320AIC datasheet:
BCLK - Audio serial data bus bit clock input/output
WCLK-Audio serial data bus word clock input/output
BCLK can be connected to SAI BCLK, direction is configured by "BCD" -
Bit Clock Direction described in sect.14.4
i.MX 8M Plus Applications Processor Reference Manual
WCLK is connected to SAI "Frame Sync" described in sect.14.4.3 External signals
direction is configured by "FSD"..
Best regards
igor
The IMX8MP have two SYNC signals, for example in SAI3 it have SAI3_RXFS and SAI3_TXFS.
in case we have an audio codec with one bidirectional LRCLK port, to which one of the two signals it should be connected to? SAI3_RXFS or SAI3_TXFS
Thank you