GUI Overview
3.3
Console
To show or hide the console, toggle the option in View pull-down menu. The console can be used to
access the LP8754 registers. Registers can be read or written simply by referring to the logical registers
by their name. The console has a number of integrated macros that are listed in
.
Table 3. Console Macros
Command
Parameters
Explanation
register_name
= register value | -
Write a value to writable I
2
C register or logical register. If no parameter given, will
return the current register value. The logical register names are the same as
given in the datasheet, and must be in uppercase.
Example: VSET_B0 = 40
wait
(time)
Wait for time given in ms. Useful in loops.
advanced
Change to advanced user mode.
user
Return from advanced to regular user mode.
iout
(buck number)
Returns the measured load current of the chosen buck core.
i2c_bus
sr | sys | -
Change serial bus communications from the console and the GUI to be made
with the specified bus. If called with no parameter treated as query and current
selection is returned.
0x
address = data
I
2
C read or write command.
or
addr = value
address[bits] = data
examples:
0x12 = 0xaa
0x12[7] = 1
0x12[3:0] = 15
The console supports use of scripts. If a text file containing commands supported by the console is stored
in the same folder with the evaluation software executable, then the script can be launched from the
console by typing the text file name, like script.txt. For demonstration purposes, the evaluation software
comes with a set of scripts, which are loaded when Power Saver, Balanced, or High Performance buttons
on the "Advanced" tab are clicked. These scripts (saved as script1.txt, script2.txt and script3.txt) will load a
collection of register settings that will save energy, maximize load transient performance, or achieve a
balance between the two. Clicking the User button will load a script "script4.txt". By default this file
contains a demo which loops through all output voltage settings (VSET_B0). User can modify this file for
specific register settings.
9
SNVU369 – August 2014
The LP8754 Evaluation Module
Copyright © 2014, Texas Instruments Incorporated