How to use one sound card with 2 codecs on i.MX6UL?

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

How to use one sound card with 2 codecs on i.MX6UL?

Jump to solution
470 Views
chadA
Contributor III

Hi all,

Now we want to use 2 same codecs on i.MX6UL, the codec chip is TI's TLV320ADC6140.

For one TLV320ADC6140, it supports 4 analog channels, but we need at lease 8 channnels. According to the TLV320ADC6140's introduction, it supports multi devices with shared TDM and IIC bus.

A simple architecture diagram is shown below:

chadA_0-1692776086166.png

Are there any similar examples for reference?

Thanks

Chad

0 Kudos
1 Solution
452 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @chadA 
 
I hope you are doing well
 
Q]Are there any similar examples for reference?
 
=> For the reference of two codecs with IMX6, please refer to the below community threads.
 

https://community.nxp.com/t5/i-MX-Processors/Two-audio-codecs-on-an-i-MX6Q/td-p/402168

 
Thanks & Regards,
Sanket Parekh

View solution in original post

0 Kudos
4 Replies
453 Views
Sanket_Parekh
NXP TechSupport
NXP TechSupport
Hi @chadA 
 
I hope you are doing well
 
Q]Are there any similar examples for reference?
 
=> For the reference of two codecs with IMX6, please refer to the below community threads.
 

https://community.nxp.com/t5/i-MX-Processors/Two-audio-codecs-on-an-i-MX6Q/td-p/402168

 
Thanks & Regards,
Sanket Parekh
0 Kudos
411 Views
chadA
Contributor III
Dear Sanket,
Thanks for your support.
I have succeeded.
Thanks again and I will use this reply as the result.
Thanks
Chad
0 Kudos
420 Views
chadA
Contributor III

Hi @Sanket_Parekh ,

Sorry, it seems that neither link could solve my problem.

For my current situation: I can already sample from 2 sound cards, each sound card has a codec, like the usage in the first link.

However, after testing, we found it will report an unctrolled problem "Overrun" when we use 2 sound cards sample at the same time. Beside, the application also is based on one sound card, it is not a easy work to modify the application too.

So we decided to use one sound card with 2 codecs.

For the second link, I have a question : In a FSYNC period, is it possible to capture the 2 codecs data? Or it still need 2 FSYNC signals for 2 codecs's data? Because I find the 2 codecs use different dai_link.

I expect to be able to sample 2 codecs in one FSYNC period.

Thanks

Chad

 

 

0 Kudos
427 Views
chadA
Contributor III

Hi Sanket,

Thanks, I will check them and test it.

If I have any further information, I will let you know.

Thanks

Chad

0 Kudos