iMX8 audio codec configurations for TDM connection

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

iMX8 audio codec configurations for TDM connection

Jump to solution
1,182 Views
ian_m42
Contributor I

Is there a document specifying all the codec signal formats & configurations for the iMX8 audio module ?

I need to connect two off Texas Instruments TLV320AIV20 series codecs to the iMX8. Despite being old these are still made, but mainly as customer has extensive qualified hardware and software for these devices.

These codecs use a clock, data in, data out and a frame sync signal. The frame sync is pulsed high for one cycle before the MSB is clocked out/in. These are 16 bit two channel devices.

So any documentation (& software) pointers would be helpful.

 

0 Kudos
Reply
1 Solution
1,179 Views
edwardtyrrell
Senior Contributor I

Hi,

There's still a bit around for this device so that's a good start! Within my Yocto build this driver still exists so check your build /sound/soc/codecs/tlv320*.c and see what you've got; it might just be a matter of selecting it in your kernel config and bolting it up. The driver will take care of all the framing etc leaving the physical connections; have a scratch around for circuit/dev board examples of the iMX8 TDM connections and device tree adjustments.  

https://github.com/torvalds/linux/blob/master/sound/soc/codecs/tlv320aic3x.c 

menuconfig

Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for SoC audio support > CODEC drivers

< > Texas Instruments TLV320AIC23 audio CODEC - I2C
< > Texas Instruments TLV320AIC23 audio CODEC - SPI
< > Texas Instruments TLV320AIC31xx CODECs
< > Texas Instruments TLV320AIC32x4 audio CODECs - I2C
< > Texas Instruments TLV320AIC32x4 audio CODECs - SPI
< > Texas Instruments TLV320AIC3x audio CODECs - I2C
< > Texas Instruments TLV320AIC3x audio CODECs - SPI
< > Texas Instruments TLV320ADCX140 CODEC family

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/773056/faq-linux-drivers-device-drivers-f... 

View solution in original post

0 Kudos
Reply
1 Reply
1,180 Views
edwardtyrrell
Senior Contributor I

Hi,

There's still a bit around for this device so that's a good start! Within my Yocto build this driver still exists so check your build /sound/soc/codecs/tlv320*.c and see what you've got; it might just be a matter of selecting it in your kernel config and bolting it up. The driver will take care of all the framing etc leaving the physical connections; have a scratch around for circuit/dev board examples of the iMX8 TDM connections and device tree adjustments.  

https://github.com/torvalds/linux/blob/master/sound/soc/codecs/tlv320aic3x.c 

menuconfig

Device Drivers > Sound card support > Advanced Linux Sound Architecture > ALSA for SoC audio support > CODEC drivers

< > Texas Instruments TLV320AIC23 audio CODEC - I2C
< > Texas Instruments TLV320AIC23 audio CODEC - SPI
< > Texas Instruments TLV320AIC31xx CODECs
< > Texas Instruments TLV320AIC32x4 audio CODECs - I2C
< > Texas Instruments TLV320AIC32x4 audio CODECs - SPI
< > Texas Instruments TLV320AIC3x audio CODECs - I2C
< > Texas Instruments TLV320AIC3x audio CODECs - SPI
< > Texas Instruments TLV320ADCX140 CODEC family

https://e2e.ti.com/support/audio-group/audio/f/audio-forum/773056/faq-linux-drivers-device-drivers-f... 

0 Kudos
Reply