[AUDMUX] Example code of the external port connect to external port

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

[AUDMUX] Example code of the external port connect to external port

Jump to solution
798 Views
brunochen
Contributor II

Dear NXP,

In RM, we know that AUDMUX could connect one external port to another external port. And we need to connect AUD5 to AUD6 now. But it seems there is no any example code in the default BSP source code?

Could you share one for us?

Thanks,

Bruno

Labels (5)
0 Kudos
1 Solution
663 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bruno

yes AUDMUX can be configured dynamically by user.

Best regards
igor

View solution in original post

0 Kudos
3 Replies
663 Views
igorpadykov
NXP Employee
NXP Employee

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!
-----------------------------------------------------------------------------------------------------------------------

0 Kudos
663 Views
brunochen
Contributor II

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

0 Kudos
664 Views
igorpadykov
NXP Employee
NXP Employee

Hi Bruno

yes AUDMUX can be configured dynamically by user.

Best regards
igor

0 Kudos