iMX8 audio codec configurations for TDM connection

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

iMX8 audio codec configurations for TDM connection

ソリューションへジャンプ
1,402件の閲覧回数
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 件の賞賛
返信
1 解決策
1,399件の閲覧回数
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 件の賞賛
返信
1 返信
1,400件の閲覧回数
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 件の賞賛
返信