I want to validate gain accuracy on my TPA3116D2DAD design. The chip has four selectable gain settings set by a resistor voltage divider on the GAIN/SLV pin between GVDD and GND. R19 and R20 is the voltage divider.
For this gain setting, apply a 1kHz sine wave at 100mV RMS to one channel input, single-ended, AC-coupled. Load the output with a 4Ω resistive dummy load. Power supply at 24V on PVCC.
Measure the output voltage across the load and calculate actual gain in dB. Compare against the datasheet expected values.
Two things to flag: first, if this gain setting lands outside the ±1 dB tolerance band, that points to a resistor value or GVDD voltage problem. Second, note that the gain setting is latched during power-up and cannot be changed while the device is powered, so this gain setting needs to be simulated as a separate run with the resistors configured before the supply comes up, not switched mid-simulation.
Also confirm the input bias point. The LINP, LINN, RINP, RINN input pins are internally biased at 3V, so the AC-coupled input should be sitting on a 3V DC bias at the pin. Flag if the bias point is significantly off, that would indicate the input coupling cap is loading the internal bias network incorrectly.