imx6q spdif issue

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

imx6q spdif issue

1,011 Views
joubertshe
Contributor I

hi

Now I want to recive hdmi audio input data via spdif interface , and i add the spdif device in device tree and also can see the imx-spdif in alsa devices list in log,  but now we encounter   the issue that we cannot get any data from the interface , I use the command that arecord -D plughw:1,0  test.wav -v , and i have attach the images which contain the log , pls help check thanks 

Joubert

Labels (1)
0 Kudos
2 Replies

820 Views
joubertshe
Contributor I

hi igor

now when I play an music source on PC via spdif to output to imx6q , the spdif card can do record thing but the value of the captured wav file is all 0x00 except the wav head.

the spdif register value is 

00 00140620

04 00000000

08 00000098

0c 001047ec

10 00038012

14 00000000

18 00000000

1c 00100000

20 00280089

24 00c88088

28 00000000

34 00000000

38 00000000

44 00371e9f

50 00020f00

please help check thanks

0 Kudos

820 Views
igorpadykov
NXP Employee
NXP Employee

Hi Joubert

one can try to test using procedures described in sect.7.4.2 S/PDIF Tx Driver, 7.4.3 S/PDIF Rx Driver

attached Linux Manual using Demo Image

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

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

0 Kudos