Datasheet
2.1.4 Using the I
2
C Programming Function
www.ti.com
Operation
a. Display the Control Panel.
b. Select the Sounds, Speech, and Audio Device item under the Control Panel.
c. Click Sounds and Audio Device Properties link.
d. Select the Audio tab.
e. Verify that the Default device under Sound playback is the audio driver of the PC HW, not the
USBMODEVM TPA2054D4 GUI driver.
f. Change the driver in the menu to the PC Audio HW driver.
g. Click OK.
4. Click the HW Reset button to reset the device.
5. Turn off Software Shutdown.
6. Click the Speaker Output button to enable or disable speaker output.
7. Click the HP Output button to enable or disable headphone output.
a. Check/uncheck HP Left Mute to place headphone left output in/out of mute.
b. Check/uncheck HP Right Mute to place headphone right output in/out of mute.
8. Select input mode in the Channel Mode.
9. Adjust the volume for both channels of the speaker amplifier by sliding the bar in Chan 1, Chan 2 or
Mono.
10. Adjust the headphone gain in HP Gain by sliding the bar.
11. The speaker gain and headphone gain are displayed at Total Gain.
12. Select the headphone limiter level by clicking the voltage limit.
13. Select the headphone impedance in Load Resistance, the Headphone Limiter Power Level will be
displayed.
14. I2C Status box reports the status of I
2
C communications. An error or failure has occurred if it turns
red.
15. Thermal box reports the status of thermal failure. A thermal 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 TPA2054D4. Select I2C Interface >> I2C
address is xE0, which is the address of TPA2054D4. Device address is from 1 to 7, which is the
register address of TPA2054D4.
5. To record all the changes made in the GUI and store the changes in a text file.
a. Select Record Script button.
SLOU249 – April 2009 TPA2054D4EVM 7
Submit Documentation Feedback