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

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

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

跳至解决方案
1,231 次查看
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

标签 (5)
标记 (3)
0 项奖励
回复
1 解答
1,096 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Bruno

yes AUDMUX can be configured dynamically by user.

Best regards
igor

在原帖中查看解决方案

0 项奖励
回复
3 回复数
1,096 次查看
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 项奖励
回复
1,096 次查看
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 项奖励
回复
1,097 次查看
igorpadykov
NXP Employee
NXP Employee

Hi Bruno

yes AUDMUX can be configured dynamically by user.

Best regards
igor

0 项奖励
回复