Examples
20
SNVU495 – March 2016
Copyright © 2016, Texas Instruments Incorporated
LP8580 Evaluation Board
02C 0081 ;enable VCOMTRIM
202 00FF ;set VCOM_TRIM_ADJ0 to 00FFhex
020 0582 ;enable backlight
6.9.2
Evaluation Software Example Macros
A few example macros are supplied in the evaluation software package. After the evaluation software is
installed, the example macros can be found in the
Macro
folder in the installation path.
The 4_String_Config.txt macro file shows an example of how to reprogram the LP8580 EEPROM settings.
This macro configures a backlight for 4 strings. Because the evaluation software of the LP8580 does not
have delay command, dummy writes are used to generate enough delay for EEPROM programming. This
macro does not turn on the backlight.
6_String_Config.txt macro file shows an example how to reprogram LP8580 EEPROM settings. This
macro configures backlight for 6 strings. Because the evaluation software of the LP8580 does not have
delay command, dummy writes are used to generate enough delay for EERPROM programming. This
macro does not turn on the backlight.
PWM_BrightnessControl.txt macro file configures uniform values for LED currents and regional brightness.
It turns on the backlight with PWM brightness control. Overall brightness can be controlled with the
dimming control of the evaluation software. This macro requires that the LP8580EVM and software are set
for I2C interface.
RegisterBrightnessControl.txt macro file configures different regional brightness value for each output.
LED output 0 has the lowest brightness. Brightness of the other strings increases towards output 5. The
backlight is turned on with the register brightness control. Overall brightness can be controlled with
BASE_BRT register (register 0x0026). Both the SPI interface and the I2C interface can be used with this
macro.
RegisterBrightnessControl.txt macro file configures uniform values for LED currents and regional
brightness. It turns on the backlight with register brightness control. Overall brightness can be controlled
with BASE_BRT register (register 0x0026). Both the SPI interface and the I2C interface can be used with
this macro.
UnlockEEPROM.txt macro opens the LP8580 EEPROM lock. EEPROM can be re-locked by writing any
value to the EEPROM_UNLOCK register (register 0x0278).