
Block Diagram
20186111
Modes of Operation
LP5520 has three different operating modes: Manual mode,
Automatic mode and Stand-Alone mode. The Automatic
mode has two sub modes, normal mode and sequential
mode. In manual and automatic modes the chip is controlled
through the serial interface. In standalone mode only BRC
input needs to be controlled and all registers have the default
values.The modes are controlled according to the following
table.
<RGB_auto>
(RBG control bit 3)
<seq_mode[0:1]>
(RBG control bits 6 and 7)
00
00
01, 10 or 11
LP5520 Operating Mode
0
1
1
Manual mode
Automatic mode, normal operation (overlapping)
Automatic mode, sequential operation with 2, 3 or 4 pulses per sequence
MANUAL MODE
In the manual mode the automatic LED intensity adjustment
is not in use. The internal PWM control is disabled and the
LEDs are driven with DC current. The user can set the LED
currents through the serial port using three Current Control
registers,
current_control_R/G/B
, and use the external
PWM control inputs to adjust LED intensities if needed. There
is an independent PWM control pin for each output. If PWM
control is not used, the PWMR, PWMG and PWMR inputs
should be tied to the V
. All the functions implemented with
the internal PWM control are unavailable in manual mode
(logarithmic brightness control from PWM Control register,
temperature compensation, fading, sequential mode).
AUTOMATIC MODE
In the automatic mode the LED intensities are controlled with
the 12-bit PWM values obtained from the EEPROM memory
according to the temperature information. PWM values are
stored at 16°C intervals for the –40 to 120°C temperature
range, and the PWM values for the intermediate temperatures
are linearly interpolated.
When creating white light from a RGB LED, the intention is to
program PWM values, which keep the individual LED inten-
sities constant in all temperatures. For possible other appli-
cations, other kind of PWM behavior can be programmed, and
also the variable can be other than temperature if the sensor
is changed to e.g. a light sensor.
12-bit ADC is used for the measurements. The ADC has two
inputs S1_IN and S2_IN. The temperature measurement re-
sult from the S1_IN input is converted to EEPROM address
5
www.national.com
L