Other Parts Discussed in Thread: TAS5713, TAS5825M, TAS5822M, TAS5805M
Hello. I'm trying to configure the TAS5731M Amplifier, but I can only initialize it, but nothing sounds.
It goes from 0mA to 45mA when I start it, but I don't get any sound.
delay(50);
//Trim oscillator (write 0x00 to register 0x1B) and wait at least 50 ms.
res |= adac_write_byte(TAS5713, TAS5713_SERIAL_DATA_INTERFACE, 0x03); /* I2S LJ 16 bit */
res |= adac_write_byte(TAS5713, TAS5713_SYSTEM_CTRL2, 0x00); /* exit all channel shutdown */
res |= adac_write_byte(TAS5713, TAS5713_SOFT_MUTE, 0x00); /* unmute */
res |= adac_write_byte(TAS5713, TAS5713_VOL_MASTER, 0x20);
res |= adac_write_byte(TAS5713, TAS5713_VOL_CH1, 0x0);
res |= adac_write_byte(TAS5713, TAS5713_VOL_CH2, 0x0);
res |= adac_write_byte(TAS5713, TAS5713_VOL_HEADPHONE, 0);
if (res != ESP_OK) {
Serial.printf("could not intialize TAS5713 %d\n", res);
}
delay(400);
I have a big doubt. What do I do with MCLK and SCLK, since I normally use SCLK, not MCLK (three lines SCLK, LRC and DATA).
Do I need to join it into a single cable, or is some additional configuration required?
It really only increases consumption, gets warm, but doesn't make any noise. I have tested the I2S routines with the MAX98357a and the PT8211, and they work well.
But with the TAS5731M, it doesn't ring a bell. NOTE: The MCLK pin has a 10K resistor to GND.
Thank you for you help