Other Parts Discussed in Thread: 66AK2G12, PCM1690
Hello
I am struggling to configure AUDK2G DC DAC as required but failed. Here is the overall DAC settings -
DAC clock settings - SCKI= 22.5792MHz, BCK = 11.2896MHz and LRCK = 176.4kHz.
DAC register settings - Sampling Mode = Quad Rate, Audio Interface Format = 16/20/24/32-bit I2S, Operation Control = Normal, Digital Filter = Sharp Roll-Off
Output = Normal, Mute = Disabled, Digital Attenuation Mode = Wide step(1 dB), De-emphasis = Disabled,
Digital Attenuation Level Setting (all channel) = 0dB (0xFF) or -1dB(0xFE) or -2dB(0xFD) etc.
The McASP and ADC register settings are okay as we required. The passthrough (Audio In -> Audio out) is working great. (1kHz 1.92Vpp sine outs 1kHz 2.04Vpp sine)
For our project requirement, we need to attenuate the output volume to around -1dB. I set different attenuation level settings but there is no change in
DAC output volume. It seems the DAC is not responding as the register configured. I have also tested different channels of DAC0 and DAC1 but the result is the same.
For debug help, following is the DAC register values printed when running. Please help me to resolve the issue.
====================== DAC0(4C) Register Value ======================
0x40 = 0xc3
0x41 = 0x00
0x42 = 0x00
0x43 = 0x00
0x44 = 0x00
0x46 = 0x80
0x48 = 0xfd (Expects -2dB attenuation but volume is not reduced)
0x49 = 0xfd
0x4a = 0xfd
0x4b = 0xfd
0x4c = 0xfd
0x4d = 0xfd
0x4e = 0xfd
0x4f = 0xfd
====================================================================
Thanks in advance,
Ruhul



