Datasheet
2.1.4 Using the I
2
C Programming Function
www.ti.com
Operation
9. Adjust the volume for input amplifiers by sliding the bar in Stereo 1 Volume, Stereo 2 Volume or Mono
Volume.
10. Select the Class-D gain at Speaker Gain.
11. Adjust the headphone gain by sliding the bar in Headphone Gain.
12. Total System Gain shows the total gain of speaker output and headphone output.
13. Toggle Limiter Enable/Disable to enable/disable limiter.
14. Select the Class-D limiter level by clicking Class-D Limiter and select the levels at Class-D limiter.
15. The Class-D limiter power level is calculated at Class-D Limiter. Change Load Resistance value to
calculate different limiter power.
16. Select the headphone limiter level by clicking Headphone Limiter and select the levels at HP limiter.
17. The headphone limiter power level is calculated at Headphone Limiter. Change Load Resistance value
to calculate different limiter power.
18. Change the attack time and release time at Limiter Response.
19. I2C Status box reports the status of I
2
C communications. An error or failure has occurred if it turns
red.
20. Thermal box reports the status of thermal failure. A thermal fault has occurred if it turns red.
21. PA Fault reports the status of Class-D amplifier. A short-circuit fault has occurred if it turns red.
The GUI has a built-in I
2
C programming interface. It has a log feature to record the configuration
selections made in the GUI.
To use the I
2
C programming function:
1. At the top left corner of the GUI, click File to access the I2C programming interface.
2. To save the current register values in a script.
a. Select Save Script button.
b. Click the folder icon to navigate to the folder where the script is to be stored.
c. Provide a name for the file and save as text (txt) format.
d. Select OK to save.
3. To load the previously saved script to program the entire register file.
a. Select Load Script button.
b. Click the folder icon to navigate to the folder where the script text file is located.
c. Select the desired filename.
d. Click OK.
e. Click Load button.
4. I2C interface can program individual register values of TPA2051D3. Select I2C Interface >> I2C
address is xE0, which is the address of TPA2051D3. Device address is from 1 to 6, which is the
register address of TPA2051D3.
5. To record all the changes made in the GUI and store the changes in a text file.
a. Select Record Script button.
b. Click the folder icon to navigate to the folder where the GUI changes are recorded.
c. Provide a name for the file and save as text (txt) format.
d. Click Record Off that toggles to Record On. The green light turns red to indicate active recording of
the GUI changes.
e. Click Exit button.
f. Make changes in the TPA2051D3 software GUI.
g. Select Record Script button.
h. Click Record On that toggles to Record Off. The red light turns green to indicate the GUI changes
are no longer recording.
i. Click Exit button. All the changes are recorded in the selected text file that was named in the third
step.
SLOU254 – June 2009 TPA2051D3EVM 7
Submit Documentation Feedback