
TPS659037EVM Graphical User Interface (GUI)
5.2
Running a Script with the GUI
The script editor is used to automate a series of register writes, static bit writes, and delays. To launch the
script window from the main GUI menu, go to
Tools
→
Show Script Window
. The Script Editor opens with
a blank window. To record a script, click
Start/Rec
, and run the commands from the main GUI. After each
register write or static bit, the script editor records the command that was run. When finished, click
Stop
.
To run the script again, click
Run
. To save the script that was created, click
Save
, and select the
destination for the script file. Click Load to load a previously saved script.
The two commands are:
•
tlv_write_reg_i2c1(REGISTER_NAME, VALUE), where the value is the decimal value to write.
•
wait(TIME_IN_MS)
The script in
turns on SMPS12 to 1.1 V, waits 2 ms, and then turns on SMPS3 to 1.35 V. These
commands can be used to run a power up and power down sequence quickly, eliminating the need to
manually turn on each rail.
Figure 7. Sample Script
14
TPS659037 EVM User’s Guide
SLIU016 – November 2015
Copyright © 2015, Texas Instruments Incorporated