Hi all,
I am working on an audio project using AIC3106 and McASP. I want AIC3106 to be in master mode and provide the clk for McASP to be slave. I have set AIC3106 to output the bclk and wclk using
AIC3106_writeRegister(8, 0xC0);
and configured McASP as follows. However, all I hear at the output is noise. Could someone please help point out what I'm doing wrong? Thanks!
MCASP->RMASK = 0xFFFFFFFF;
MCASP->RFMT = 0x0001807C;
MCASP->AFSRCTL = 0x00000110;
MCASP->ACLKRCTL = 0x00000000;
MCASP->AHCLKRCTL = 0x00000000;
MCASP->RTDM = 0x00000003;
MCASP->RINTCTL = 0x00000000;
MCASP->RCLKCHK = 0x00FF0000;
MCASP->PFUNC = 0;
MCASP->PDIR = 0x00000800;