How to make iMx6 ASRC as SPDIF Back-End/Front-End

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

How to make iMx6 ASRC as SPDIF Back-End/Front-End

1,099 Views
arc_lin
Contributor II

Hi Community,

My goal is to make 48kHz audio file can be playback in SPDIF 44.1kHz or 96kHz output. It need ASRC support.

I have tried to add ASCR as SPDIF sound card dai_link but totally not working.

Does anyone have done this before and could provide us some advice or reference code?

Thanks!

 Arc.

Labels (1)
2 Replies

810 Views
igorpadykov
NXP Employee
NXP Employee

Hi arc

one can try asrc unit test with i.MX6Q Sabre SD reference board

mxc_asrc_test\test - imx-test - i.MX Driver Test Application Software 

and with Linux 4.9.88_2.0.0 Demo Images

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_MX6QDLSOLOX&appType=license&location=null&... 

Documentation

https://www.nxp.com/webapp/Download?colCode=L4.9.88_2.0.0_LINUX_DOCS&Parent_nodeId=13376994810717061... 

sources

linux-imx - i.MX Linux kernel 

Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------

810 Views
arc_lin
Contributor II

Hi,

mxc_asrc_test is workable, but for some reason we need to combine ASRC and SPDIF in kernel driver,

Like SabreSD support WM8962 with ASRC FE/BE, and I know it needs professional services. 

Thanks!

Arc.