AnsweredAssumed Answered

What are the audio multiplexer register settings for “Internal Network Mode Example 3” in the i.MX Reference Manual

Question asked by linearcorpengr on May 28, 2014
Latest reply on Jun 2, 2014 by linearcorpengr

What are the audio multiplexer register settings for “Internal Network Mode Example 3” in the Reference Manual?

 

Below is the register setup I tried. Using the below register settings I get NO audio.  It is interesting to note that if I set mode=0 in the below code then audio works between int_port 1 and ext_port 5.

 

int_port = 1;

ext_port = 5;

other_port = 3;

 

int_port--;

ext_port--;

other_port--;

 

// setup internal port 1 (int_port)

ptcr = IMX_AUDMUX_V2_PTCR_SYN |

IMX_AUDMUX_V2_PTCR_TFSDIR |

IMX_AUDMUX_V2_PTCR_TFSEL(ext_port) |

IMX_AUDMUX_V2_PTCR_TCLKDIR |

IMX_AUDMUX_V2_PTCR_TCSEL(ext_port);

pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port);

imx_audmux_v2_configure_port(int_port, ptcr, pdcr);

 

// setup external port 3 (other_port)

ptcr = IMX_AUDMUX_V2_PTCR_SYN;

pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(ext_port);

imx_audmux_v2_configure_port(other_port, ptcr, pdcr);

 

// setup external port 5 (ext_port)

ptcr = IMX_AUDMUX_V2_PTCR_SYN;

pdcr = IMX_AUDMUX_V2_PDCR_RXDSEL(int_port) |

IMX_AUDMUX_V2_PDCR_MODE(1) |

IMX_AUDMUX_V2_PDCR_INMMASK(0x05);

imx_audmux_v2_configure_port(ext_port, ptcr, pdcr);


Outcomes