Hello, I am using the TLV320AIC33 CODEC with an MCU that no I2S interface. The CODEC can send data in L, R, I2S, DSP, and TDM modes. I am wondering what mode I want to use to connect to codec to the SPI on my MCU ? I'm guessing L or R justified mode but am unsure.
Could it be conected as follows?
MCU SPI CODEC
MOSI <---------------->Din
MISO<----------------->Dout
SPSCK<-------------->WCLK
GPIO/TPM?<-------->BCLK
I don’t think there is a way to directly connect the I2S bus to the SPI bus on a micro. Here is an ap note from altera that uses a CPLD to make the conversion:
http://www.altera.com/literature/an/an487.pdf
Here is the artical that helped me realize a I2S interface using a MCU using SPI and GPIO ports. I used TSC2100 touch screen controller because it contains the TLV320aic26 CODEC in a leaded package. I ignored the 5 pins related to the TSC. Also note that the aic26 permits the I2S data to be burst at 256 X the LRCK rate. The aic26 and aic33 have full duplex I2S interfaces which rule out many of the "would be" solutions out there.
Interfacing TI's Touch Screen Controllers Through McBSP
http://focus-webapps.ti.com/general/docs/sitesearch/searchsite.tsp;jsessionid=31TRLS5JI4YJ3QC1JAWBNWQ?selectedTopic=1653260327&numRecords=25&searchTerm=SLAA214&statusCode=null