Using the LP8580EVM Evaluation Software
10
SNVU495 – March 2016
Copyright © 2016, Texas Instruments Incorporated
LP8580 Evaluation Board
Figure 6. SW SPI Settings
To use the I2C interface shunts of the LP8580 must be set as shown in
and the
Interface
button
in the Digital control area of the evaluation software must be in an ON state. To use I2C interface with
0x2C address
Addr1
button must be in OFF state.
Figure 7. I2C Settings With 0x2C Address
To use the I2C interface with 0x3C address the
Interface
and
Addr1
buttons must be in an ON state.
Interface selection must be made with I2C (0x3C).
Figure 8. I2C Settings With 0x3C Address
5.3
Register View
The register view shows the content of all the registers in the LP8580 IC. Registers are grouped into
logical register blocks. Each block can be opened or closed by clicking the arrow on the left side of the
block name. Register view is not automatically updated. When evaluation software is started up all register
values are shown as zeros. To read the content of the LP8580 registers into register view, click
Operation
→
Read All Registers
.
5.4
Register Control Area
When any of the registers is selected it appears in the register control area. All registers of the LP8580 are
16 bits long, but the unused bits are hidden in the register control. Changing the register bit settings does
not automatically update the register value. Once all the register bits are set the
WR
button must be
pressed to write the new value into the register. Register values can be read by clicking the
RD
button on
the right side of the register control area.
5.5
Direct Register Control
Single register values can be written or read with the direct register control area. To read a register value,
set the register address in an address field in a 16-bit hexadecimal value, and click the
Read
button. The
register value appears in the Data field. To write a new value to a register, write the new data into the data
field and click the
Write
button.
5.6
EEPROM Control Area
The EEPROM control area can be used to read and write the whole content or a specific area of the
EEPROM. Clicking the
Read
button reads the content of the LP8580 EEPROM to the EEPROM content
window where start and end addresses can be defined. This is useful if only part of the EEPROM must be
updated.