We use i.MX6 for audio processing, do ASRC to fixed S/PDIF input in 48kHz.
Without any process, i.MX6 direct pass 48kHz S/PDIF to output.
The latency between playback(to i.MX6) and recording(from i.MX6) will increase.
![pastedImage_22.png pastedImage_22.png](https://community.nxp.com/t5/image/serverpage/image-id/75373iF767DCB1F68E7F6E/image-size/large?v=v2&px=999)
Thanks,
William
Hi William
nxp linux does not provide any specific or guaranteed latencies, so
one can try to analyze latencies using description of spdif driver in
sect.7.4 The Sony/Philips Digital Interface (S/PDIF) attached Linux Manual
and AN4553 Using Open Source Debugging Tools for Linux on i.MX Processors
https://www.nxp.com/docs/en/application-note/AN4553.pdf
Also may be recommended to try extended support with Professional Services
NXP Professional Services | NXP
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi igor,
Thank you for your prompt reply.
About the latency, my concern is not "how low" but "how stable".
We believe that something may happen causing an increase in latency, e.g., choose a wrong clock source.
First we have a stable experimental environment, then we discuss and debug how to reduce latency.
We know i.MX processor will do ASRC or something processing between receive spdif and transmit spdif, so we would like to know how to bypass all processing, e.g., modify SPDIF_SCR, SPDIF_SRPC, etc.
Thanks,
William