Tool/software: Code Composer Studio
Hi all,
I have a problem with my output signal. When I put a sine wave to the input the output signal doesn´t match with the input.
My configuration is as follows:
My register settings:
WriteReg_AIC(0, 0x00); // page select WriteReg_AIC(1, 0x80); // software reset WriteReg_AIC(7, 0x0A); // left DAC to left channel and right DAC to right channel, fs(ref)=48kHz WriteReg_AIC(37, 0xE0); // power up left and right DAC, HPLCOM configured as single ended output WriteReg_AIC(41, 0x00); // DAC_L1 and DAC_R1 for routing to Line out and HP OUT, left and right DAC have independent volume control WriteReg_AIC(43, 0x00); // left volume, mute=off, gain=0db WriteReg_AIC(44, 0x00); // right volume, mute=off, gain=0db WriteReg_AIC(38, 0x80); // HPRCOM configured as single ended output WriteReg_AIC(82, 0x80); // DAC_L1 to LEFT_LOP/M (line out) WriteReg_AIC(92, 0x80); // DAC_R1 to RIGHT_LOP/M (line out) WriteReg_AIC(86, 0x09); // power up LEFT_LOP/M WriteReg_AIC(93, 0x09); // power up RIGHT_LOP/M WriteReg_AIC(8, 0xC0); // BCLK and WCLK as output (master mode) WriteReg_AIC(9, 0x00); // I2S mode, 16 bits (word length) WriteReg_AIC(10, 0x00); // no data offset
I working on this for 2 weeks and it isn´t getting better. Has somebody tipps for this problem?
Thanks forward for your answers.
Greetings
Sadullah