Other Parts Discussed in Thread: TAS5782M
Hello,
I am currently trying to output audio by connecting i2s to an amplifier (TAS5782MEVM). I am having problems with activating/enabling the device with i2c on the amplfier. I have connected i2s to the amplifier and output sound through i2s to the amplfiier and I am able to observe the signals on the i2s. However, there is no sound coming out from the speakers that I have connected to the amplifiers. I later found out that I need to communicate with the amplifier also through i2c to configure and active the different settings which I also did but still no audio coming out from the speaker.
I am outputting a signal of 44.1khz 16bit through i2s and have 3 pins; BCLK, SDOUT, and LRCLK. The datasheet for the TAS5782 mentions that to enable audio simply send to the address 0x90(slave addr+write bit): 0x00, 0x00 and then 0x7f, 0x00 and lastly 0x02, 0x00. However still I can't get any sound. Also tried a lot of different configurations without any success. I suspect that the page and book is somehow wrong therefore not writing to the device correctly.
This is the following configurations I've tried:
uint8_t configs[][2] = {
{0x00, 0x00}, // Go to page 0.
{0x7f, 0x00}, // Go to book 0.
{0x02, 0x10}, // Enter standby.
{0x03, 0x00}, // Unmute (Normal)
{0x01, 0x11}, // Reset modules and registers.
{0x0d, 0x14}, // The PLL reference clock is SCLK.
{0x22, 0x03}, // 8x interpolation & 48kHz fs speed mode
{0x07, 0x10}, // SDOUT DSP input & De-Emphasis enable
{0x09, 0x00}, // SCLK normal, input i2s slave
{0x28, 0x00}, // I2S, 16 bits.
{0x2a, 0x22}, // Left DAC to Left ch, Right DAC to right channel.
{0x02, 0x00}, // Exit standby.
};
/HDx