AnsweredAssumed Answered

ssi can't generate bit clock

Question asked by 剑明 廖 on Sep 17, 2015
Latest reply on Sep 24, 2015 by 剑明 廖

I configure ssi1 as network mode,Frame Sync and Transmit Clock generated internally,and route it to AUD3,but I can't get clock on AUD3_TXC pin and  AUD3_TXFS pin,who can help me?!!!!

Thanks in advance!!!

 

Is there any problem in this function?

 

//route ssi1 to AUD3

static int imx_audmux_config(int slave, int master)

{   

    int ret;

    unsigned int ptcr, pdcr;

    slave = slave - 1;          //slave=3-1

    master = master - 1;        //master=1-1

 

    ptcr = MXC_AUDMUX_V2_PTCR_SYN |

    MXC_AUDMUX_V2_PTCR_TFSDIR |    

    MXC_AUDMUX_V2_PTCR_TFSEL(master) |

    MXC_AUDMUX_V2_PTCR_TCLKDIR |

    MXC_AUDMUX_V2_PTCR_TCSEL(master);

    pdcr = MXC_AUDMUX_V2_PDCR_RXDSEL(master);

    ret = mxc_audmux_v2_configure_port(slave, ptcr, pdcr);

 

    ptcr = MXC_AUDMUX_V2_PTCR_SYN;

    pdcr = MXC_AUDMUX_V2_PDCR_RXDSEL(slave);

    ret = mxc_audmux_v2_configure_port(master, ptcr, pdcr);

 

    return 0;

}

Outcomes