AnsweredAssumed Answered

IMX6Q: Spdif TX miss 1-2s of the song

Question asked by Cerveau stephane on Oct 16, 2013
Latest reply on May 31, 2015 by wang li

Dear all,

 

I'm currently using the codec mxc-spdif as TX and i'm facing a loss of 1-3s at the beginning of each song.

Indeed i'm using aplay or gstreamer.

I know that spdif tx is not fully tested ( seen in different forum) but i would like to know if it could be possible to find a condition to wait in order to launch the playback when the spdif communication is correctly on/sync.

Indeed i put a sleep of 1s ( which is not a solution) at the end of the function mxc_spdif_playback_start and in this case i dont loose the beginning of the song.

SPDIF_SIS register is always equal to 2 ( tx fifo empty) at the end of the function.

I had a look to the reference manual and i dont find any information who can help me.

Please help.

Outcomes