Hi Bruno
I am afraid such example is not available in BSPs, as such configuration
is not used in reference boards. In general signal routing can be set using
"*SEL" registers, like TFSEL in AUDMUX_PTCRN registers. Please check for example
sect.16.6.9 Port Timing Control Register 5 (AUDMUX_PTCR5) i.MX6DQ Reference Manual
http://www.nxp.com/docs/en/reference-manual/IMX6DQRM.pdf
Best regards
igor
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------
Hi, igor,
Thanks for your reply. May I have one more question?
"The AUDMUX configure dynamically by user scenario or not?
ex. Could I connect the AUD2 to AUD6 this time, and connect AUD5 to AUD6 for the next time?
note : "AUD2 <-> AUD6" and "AUD5 <-> AUD6" would not be at the same time.
I have this question because it seems having no routing function in imx-audmux.c
Thanks,
Bruno