Tool/software:
Hi,
I’m using a TI audio codec (P/N – TLV320AIC3104) in my custom design with a ZU9EG MPSoC. I’m configuring the audio codec registers via the I²C interface.
I can enable both the input and output paths and hear audio output from the codec, but there is noticeable noise in the audio output. The noise occurs in the codec loopback itself when I enable the ADC and DAC paths.
I’d like to know whether my register configuration could be causing the noise problem. I’m configuring the following registers at the kernel level:
Enable input path:
i2cset -y -f 0 0x18 17 0x0
i2cset -y -f 0 0x18 18 0x0
i2cset -y -f 0 0x18 19 0x7c
i2cset -y -f 0 0x18 22 0x7c
i2cset -y -f 0 0x18 15 0x0 // PGA volume left ADC
i2cset -y -f 0 0x18 16 0x0 // PGA volume right ADC
Enable output path:
i2cset -y -f 0 0x18 7 0xa
i2cset -y -f 0 0x18 37 0xc0
i2cset -y -f 0 0x18 43 0x0
i2cset -y -f 0 0x18 44 0x0
i2cset -y -f 0 0x18 82 0x80
i2cset -y -f 0 0x18 85 0x80
i2cset -y -f 0 0x18 81 0x80
i2cset -y -f 0 0x18 84 0x80
i2cset -y -f 0 0x18 89 0x80
i2cset -y -f 0 0x18 92 0x80
i2cset -y -f 0 0x18 88 0x80
i2cset -y -f 0 0x18 91 0x80
i2cset -y -f 0 0x18 86 0x09
i2cset -y -f 0 0x18 93 0x09
Is there any issue with this register configuration? Is it possible to reduce the noise by adjusting any filter-related registers?
Thanks,
Pravin
 
				 
		 
					 
                          