We are using TLV320AIC3254 CODEC and trying to route the signal from DAC which is routed to LOL from left DAC and right DAC and the inputs to the DAC are given from ADC through loopback mode i.e. Stereo ADC output routed to Stereo DAC by configuring the REGISTER 29 in PAGE 0.
Please find the register values attached for the DAC and ADC. We are not able to get the routed signal from DAC and we are giving 1KHz sine wave from the IN2L input to ADC.
WCLK - 48 KHz
BCLK - 1.536MHz
MCLK -12.288MHz
/*************DAC REGISTER VALUES*********/ (0x30,0,0); (0x30,1,1); (0x30,0x04,0x00); (0x30,0x0b,0x81); (0x30,0x0c,0x82); (0x30,0x0d,0x00); (0x30,0x0e,0x80); (0x30,0x1b,0x00); (0x30,0x1c,0x00); (0x30,0x3c,0x08); (0x30,0,0); (0x30,0x1f,0x00); (0x30,0x20,0x00); (0x30,0x21,0x00); (0x30,0x25,0xCC); (0x30,0x26,0x00); (0x30,0x3B,0x0A); (0x30,0x0f,0x02); (0x30,0x10,0x00); (0x30,0x11,0x08); (0x30,0x15,0x01); (0x30,0x16,0x00); (0x30,0x3E,0x00); (0x30,0,1); (0x30,1,8); (0x30,2,0); (0x30,0x7b,1); (0x30,14,0x18); (0x30,10,0x4B); (0x30,3,0); (0x30,4,0); (0x30,0x09,0x08) (0x30,0x0E,18); (0x30,0x12,0); (0x30,18,0x1B); (0x30,0,0); (0x30,0x3f,0xD6); (0x30,0x40,0x00); (0x30,0x41,10); (0x30,0x42,10); /*********ADC REGISTER VALUES**********/ (0x30,0,0); (0x30,1,1); (0x30,0x15,0x01); (0x30,0x16,0x00); (0x30,0x0f,0x02); (0x30,0x10,0x00); (0x30,0x12,0x81); (0x30,0x13,0x82); (0x30,0x14,0x80); (0x30,0x0f,0x02); (0x30,0x10,0x00); (0x30,0x11,0x08); (0x30,0x15,0x01); (0x30,0x16,0x00); (0x30,0x3E,0x00); (0x30,0x24,0xee); (0x30,0,1); (0x30,0x3D,0xff); (0x30,0x47,0x32); (0x30,0x7B,0x01); (0x30,52,0x30); (0x30,54,0x03); (0x30,55,0x03); (0x30,57,0x03); (0x30,0,0); (0x30,0x51,0xC0); (0x30,0x52,0x00); (0x30,0x1d,0x11);
Please guide us if we are missing any registers.
Thanks and Regards
A.Mounika