We have TDM / I2C mode, we interface it on FSYNC, BCLK, SDIN ,SDOUT to external d3vice, then how to configure it for I2S interface as we are using a single channel.
This thread has been locked.
If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.
We have TDM / I2C mode, we interface it on FSYNC, BCLK, SDIN ,SDOUT to external d3vice, then how to configure it for I2S interface as we are using a single channel.
Hi, Shubham,
The TAS2770 supports I2S and other similar audio protocols. However, you would need to configure the I2S mode step by step. As stated in TDM port section ( https://www.ti.com/lit/ds/symlink/tas2770.pdf#page=25 ), you can configure the frame polarity, the start of frame, bits length, channel offset, etc. All these parameters must be set accordingly to the characteristics of the I2S protocol. If you are using a single channel, you would need to configure the I2S interface in stereo mode (the stereo mode works for both mono and stereo).
Best regards,
Luis Fernando Rodríguez S.
Hi Luis,
Thanks for the reply... My query is we are interfacing this TAS2770 device to a processor on SAI port.
So we connect
TAS2770 uP
SDIN - TXD
SDOUT - RXD
SBCLK - TXC
FSYNC - TXFS
So is there any need of D-Flip Flop between processor and TAS2770 in consideration of TXFS signal.
Because we are physically interfacing TDM & then configure I2S.
Awaiting for your reply..
Kind Regards,
Shubham Jagtap
9970578105
Hi, Shubham,
Could you provide details about the SAI port protocols? Also, could you provide the data format that is used by this port? This is just to verify if it is compatible with the TAS2770.
Thank you.
Best regards,
Luis Fernando Rodríguez S.
Hello Luis,
Please find the below SAI port details, Suggest the interface compatibility.
Features from the processor side
Transmitter with independent bit clock and frame sync supporting 8 data lines
• Receiver with independent bit clock and frame sync supporting 8 data lines
• Each data line can support a maximum Frame size of 32 words
• Word size of between 8-bits and 32-bits
• Word size configured separately for first word and remaining words in frame
• Asynchronous 128 x 32-bit FIFO for each transmit and receive data line
• Supports graceful restart after FIFO error
• Supports automatic restart after FIFO error without software intervention
• Supports packing of 8-bit and 16-bit data into each 32-bit FIFO word
• Supports combining multiple data line FIFOs into single data line FIFO
• Independent 32-bit timestamp counters and bit counters for monitoring transmit and
receive progress
Kind Regards,
Shubham Jagtap
9970578105
Hi, Shubham,
Thank you for sharing the details on the SAI port. I don't see any issue on the port compatibility, the TAS2770 supports the different data, I think the 8-bit data is the only format that is not supported, but the rest of the configuration can apply to the TAS2770 interface.
Best regards,
Luis Fernando Rodríguez S.