Other Parts Discussed in Thread: PCM5102
Hello, i am working on the prototype board with TAS5721. I have proper communication with TAS over I2C - i am able to initialize the chip and exit shutdown, but i get no audio on amplifier's output.
Here are some facts to help debugging the issue:
- board is built according to "2.1 system" application note from TAS5721 data sheet
- the chip gets all the necessary supplies (AVDD 3.3V, DVDD 3.3V, PVDD 13V)
- to initialize the chip, i am using sequence suggested previously by Shawn Zeng:
X1B 00 ! Factory trim
X21 00 00 42 03 ! Set SubChannel Mixer to (L+R)/2
X05 84 !Exit Shutdown and configure the device in 2.1 Mode
X07 30 !Set MAster Volume to 0dB
Additionally, i'm setting I2S word length to 16 bit, by writing value 0x03 to register 0x04.
- after exiting shutdown, i get 376Khz PWM on all of the OUTx pins, but duty cycle is constant 50% (despite I2S data coming into chip) and thus no signal variation can be seen after lowpass filter.
- i have checked data input pins of the chip with oscilloscope, and it seems like TAS is getting proper data on input: SCK is 1.41Mhz, LRCK is 44.1Khz, and SDIN is looking like it's feeding some data into chip
- from SCK/LRCK values, i infer that audio format is 44.1Khz I2S with 16 bit word length. I am able to get proper audio from this feed when connecting another board with PCM5102 chip configured for I2S format.
- i don't have MCLK signal (MCLK is pulled low)
- error status register 0x02 stays 0x00 all the time
Is there some additional initialization/setting that i'm missing? What to check next?
Thanks,
WM