National Semiconductor LP3936 Technical data

June 2005
LP3936 Lighting Management System for Six White LEDs and One RGB or FLASH LED
LP3936Lighting Management System for Six White LEDs and One RGB or FLASH LED

General Description

LP3936 is a complete lighting management system de­signed for portable wireless applications. It contains a boost DC/DC converter, 4 white LED drivers to drive the main LCD panel backlight, 2 white LED drivers for sub-LCD panel and 1 set of RGB LED drivers.
Both WLED groups have 8-bit programmable constant cur­rent drivers that are separately adjustable and matched to 1% (typ.). For efficient backlighting the backlight intensity can be adjusted using the 8-bit ADC with ambient light detection circuit.
The RGB LED drivers are PWM-driven with programmable color, intensity and blinking patterns. In addition, they feature a FLASH function to support picture taking with camera­enabled cellular phones.
An efficient magnetic boost converter provides the required bias operating from a single Li-Ion battery. The DC/DC con­verter output voltage is user programmable for adapting to different LED types and for efficiency optimization. All func­tions are software controllable through an I MicroWire/SPI compatible interface and 16 internal regis­ters.
2
C and

Typical Application

Features

n High Efficiency 250 mA Magnetic Boost DC-DC
Converter with Programmable Output Voltage
n PWM controlled RGB LED drivers with programmable
color, brightness, turn on/off slopes and blinking
n FLASH function with 3 drivers, each up to 120 mA
current
n 4 constant current White LED drivers with
programmable 8-bit adjustment (0 … 25 mA/LED)
n 2 constant current White LED drivers with
programmable 8-bit adjustment (0 … 25 mA/LED)
n 8-bit ADC for ambient light sensor with averaging n Combined MicroWire/SPI and I
interface
n Low current Standby mode (software controlled) n Low voltage digital interface down to 1.8V n Space efficient 32-pin thin CSP laminate package
2
C compatible serial

Applications

n Cellular Phones n PDAs
20081401
© 2005 National Semiconductor Corporation DS200814 www.national.com

Connection Diagrams and Package Mark Information

LP3936
32-Lead Thin CSP Package, 4.5 x 5.5 x 0.8 mm, 0.5 mm pitch
See NS Package Number SLD32A
Top View
20081402
20081404
Note: The actual physical placement of the package marking will vary from part to part. The package marking “XY” designates the date code. “UZ” and “TT” are NSC internal codes for die manufacturing and assembly traceability. Both will vary considerably.
Bottom View
20081403
Package Mark — Top View

Ordering Information

Order Number Package Marking Supplied As
LP3936SL LP3936SL 1000 units, Tape-and-Reel
LP3936SLX LP3936SL 2500 units, Tape-and-Reel
www.national.com 2

Pin Description

Pin Name Type Description
1 GND_BOOST Ground Power Switch Ground
2 FB Input Boost Converter Feedback
3V
DD2
4 GND2 Ground Ground Return for V
5 WLED1 LED Output Open Drain, White LED1 Output
6 WLED2 LED Output Open Drain, White LED2 Output
7 WLED3 LED Output Open Drain, White LED3 Output
8 WLED4 LED Output Open Drain, White LED4 Output
9 GND_WLED Ground 4+2 White LED Driver Ground
10 WLED5 LED Output Open Drain, White LED5 Output
11 WLED6 LED Output Open Drain, White LED6 Output
12 V
DDA
13 GND1 Ground Ground Return for V
14 V
DD1
15 AIN Input Ambient Light Sensor Input
16 AREF Output Reference Voltage for Ambient Light Sensor, 1.23V
17 GND_T Ground Ground
18 V
REF
19 RT Input Oscillator Resistor
20 MW_SEL Logic Input MicroWire — I
21 NRST Logic Input Low Active Reset Input
22 CS Logic
23 DO Logic Output MicroWire Data Output
24 DI Logic Input MicroWire Data Input
25 SCL Logic Input MicroWire Clock / I
26 RGB_EN Logic Input LED Control for On/Off or PWM Dimming
27 V
DD_IO
28 ROUT LED Output Open Drain Output, Red LED
29 GOUT LED Output Open Drain Output, Green LED
30 BOUT LED Output Open Drain Output, Blue LED
31 GND_RGB Ground Ground for RGB Drivers
32 OUT Output Open Drain, Boost Converter Power Switch
Power Supply Voltage for Internal Digital Circuits
(Internal Digital)
DD2
Output Internal LDO Output, 2.8V
(Internal Analog)
DD1
Power Supply Voltage for Internal Analog Circuits
Output Internal Reference Bypass Capacitor
2
C select (MW_SEL=1 in MicroWire Mode)
MicroWire Chip-Select (in) / I
2
C SDA (in/out)
Input/Output
2
C SCL Input
Power Supply Voltage for Logic IO signals
LP3936
www.national.com3

Absolute Maximum Ratings (Notes 1,

2)
LP3936
If Military/Aerospace specified devices are required, please contact the National Semiconductor Sales Office/ Distributors for availability and specifications.
V
DD1,VDD2,VDD_IO
Voltage on Logic Pins -0.3V to V
Voltage on LED Output Pins -0.3V to V(FB) +
Voltage on All Other Pins -0.3V to V
I (ROUT, GOUT, BOUT) 150 mA
I(V
)10µA
REF
, V(OUT, FB) -0.3V to 6.0V
0.3V, with 6.0V max
0.3V, with 6.0V max
0.3V, with 6.0V max
DD_IO
DD1,2
+
+
Maximum Lead Temperature 260˚C
(Reflow soldering, 3 times) (Note 4)
ESD Rating (Note 5)
Human Body Model: 2 kV
Machine Model: 200V
Operating Ratings (Notes 1, 2)
V
DD1,VDD2
V
DD_IO
Recommended Load Current 0 mA to 250 mA
Junction Temperature (T
Ambient Temperature (T
) Range −40˚C to +125˚C
J
) Range
A
(Note 6) −40˚C to +85˚C
3.0V to 6.0V
1.65V – V
Continuous Power Dissipation
(Note 3) Internally Limited
Junction Temperature (T
) 125˚C
J-MAX
Storage Temperature Range −65˚C to +150˚C

Thermal Properties

Junction-to-Ambient Thermal Resistance (θJA),
SLD32A Package (Note 7) 72˚C/W
Electrical Characteristics (Notes 2, 8)
Limits in standard typeface are for TJ= 25˚C. Limits in boldface type apply over the operating ambient temperature range (−40˚C T = 3.6V, C
Symbol Parameter Condition Min Typ Max Units
V
DD1,2
I
DD
I
DD_IO
V
REF
V
DDA
Note 1: Absolute Maximum Ratings indicate limits beyond which damage to the component may occur. Operating Ratings are conditions under which operation of the device is guaranteed. Operating Ratings do not imply guaranteed performance limits. For guaranteed performance limits and associated test conditions, see the Electrical Characteristics tables.
Note 2: All voltages are with respect to the potential at the GND pins (GND1, GND2, GND_T, GND_BOOST, GND_WLED, GND_RGB).
Note 3: Internal thermal shutdown circuitry protects the device from permanent damage. Thermal shutdown engages at T
140˚C (typ.).
Note 4: For detailed soldering specifications and information, please refer to National Semiconductor Application Note 1125: Laminate CSP/FBGA Package (AN-1125).
Note 5: The Human body model is a 100 pF capacitor discharged through a 1.5 kresistor into each pin. The machine model is a 200 pF capacitor discharged directly into each pin. MIL-STD-883 3015.7
+85˚C). Unless otherwise noted, specifications apply to the Section Block Diagram with: V
A
VDD1,CVDD2,CVDDIO
= 1 µF, CIN,C
OUT
= 10 µF, C
VDDA
= 1 µF, C
VREF
= 0.1 µF, L
BOOST
DD1=VDD2=VDD_IO
= 10 µH (Note 9).
Supply Voltage 3.0 3.6 6.0 V
Standby Supply Current (V
DD1
and V
DD2
current)
No-Load Supply Current (V
DD1
and V
current, boost off)
DD2
NSTBY = L (register) CS, SCL, DI, NRST = H V
DD1,VDD2
= 3.6V
NSTBY = H (reg.) EN_BOOST = L (reg.)
1 7 µA
170 300 µA
SCL, CS, DI, NRST = H
Full Load Supply Current (V
DD1
and V
current, boost on)
DD2
NSTBY = H (register) NRST, CS, SCL, DI = H
1mA
RGB_EN = L WLED1…6=L EN_AMBADC = L
V
Standby Supply Current NSTBY = L (register)
DD_IO
A
CS, SCL, DI, NRST = H
Operating Supply Current 1 MHz Clock Frequency
V
DD_IO
=50pFatDOpin
C
L
Reference Voltage (Note 10) I
REF
1 nA,
Test Purposes Only
LDO Output Voltage IV
DDA
<
1.205
−2
1µA 2.688
–4
20 µA
1.23 1.255
+2
2.8 2.912 +4
= 160˚C (typ.) and disengages at TJ=
J
DD1,2
V
%
%V
www.national.com 4
Electrical Characteristics (Notes 2, 8) (Continued)
Note 6: In applications where high power dissipation and/or poor package thermal resistance is present, the maximum ambient temperature may have to be
derated. Maximum ambient temperature (T dissipation of the device in the application (P following equation: T
Note 7: Junction-to-ambient thermal resistance is highly application and board-layout dependent. In applications where high maximum power dissipation exists, special care must be paid to thermal dissipation issues in board design.
Note 8: Min and Max limits are guaranteed by design, test, or statistical analysis. Typical numbers are not guaranteed, but do represent the most likely norm.
Note 9: Low-ESR Surface-Mount Ceramic Capacitors (MLCCs) are used in setting electrical characteristics.
Note 10: V
A-MAX=TJ-MAX-OP
pin (Bandgap reference output) is for internal use only. A capacitor should always be placed between V
REF
) is dependent on the maximum operating junction temperature (T
A-MAX
), and the junction-to ambient thermal resistance of the part/package in the application (θJA), as given by the
D-MAX
−(θJAxP
D-MAX
).
= 125˚C), the maximum power
J-MAX-OP
and GND1.
REF

Block Diagram

LP3936
20081405
www.national.com5

Modes of Operation

RESET: In the RESET mode all the internal registers are reset to the default values. Boost output register is set to
LP3936
STANDBY: The STANDBY mode is entered if the register bit NSTBY is LOW and Reset is not active. This is the low
STARTUP: INTERNAL STARTUP SEQUENCE powers up all the needed internal blocks (V
BOOST STARTUP: Soft start for boost output is generated in the BOOST STARTUP mode. In this mode the boost output is
NORMAL: During NORMAL mode the user controls the chip using the Control Registers. The registers can be written
4.55V (register 0Dh = 07h), ext_pwm is enabled for color outputs (register 2Bh = 1Ch), EN_BOOST bit is high (register 0Bh bit 5) and all other registers are set to 00h. Reset is entered always if input NRST is LOW or internal Power On Reset is active.
power consumption mode, when all circuit functions are disabled. Registers can be written in this mode and the control bits are effective immediately after start up.
, Bias, Oscillator, etc.).
REF
To ensure the correct oscillator initialization, a 10 ms delay is generated by the internal state-machine. Thermal shutdown (THSD) disables the chip operation and Startup mode is entered until no thermal shutdown event is present.
raised in PFM mode during the 10 ms delay generated by the state-machine. The Boost startup is entered from Internal Startup Sequence if EN_BOOST is HIGH or from Normal mode when EN_BOOST is written HIGH. During Boost Startup all LEDs are turned off to reduce the loading.
in any sequence and any number of bits can be altered in a register in one write.
www.national.com 6
20081406
LP3936
Logic Interface Characteristics (1.8V V
DD_IO
V
DD1,2
) (Note 11)
Symbol Parameter Conditions Min Typ Max Units
LOGIC INPUTS DI, SCL, NRST, RGB_EN, CS, MW_SEL
V
V
I
f
IL
IH
I
SCL
Input Low Level 0.5 V
Input High Level V
− 0.5 V
DD_IO
Logic Input Current −1.0 1.0 µA
Clock Frequency I2C Mode 400 kHz
MicroWire Mode 8 MHz
LOGIC OUTPUTS DO, CS
V
OL
V
OH
I
L
Logic Interface Characteristics (1.65V V
Output Low Level I
Output High Level IDO=−3mA V
=3mA 0.3 0.6 V
DO, CS
DD_IO
− 0.6 V
− 0.3 V
DD_IO
Output Leakage Current VDO= 2.8V 1.0 µA
DD_IO
1.8V) (Note 11)
Symbol Parameter Conditions Min Typ Max Units
LOGIC INPUTS DI, SCL, NRST, RGB_EN, CS, MW_SEL
V
V
I
f
IL
IH
I
SCL
Input Low Level 0.35 V
Input High Level V
− 0.35 V
DD_IO
Logic Input Current −1.0 1.0 µA
Clock Frequency I2C Mode 200 kHz
MicroWire Mode 4 MHz
LOGIC OUTPUTS DO, CS
V
OL
V
OH
I
L
Note 11: In I2C mode operating ratings are limited to 3.0V V
Output Low Level I
Output High Level IDO= − 2mA V
= 2mA 0.3 0.6 V
DO, CS
DD_IO
− 0.6 V
− 0.3 V
DD_IO
Output Leakage Current VDO= 2.8V 1.0 µA
4.5V and –20˚C TA≤ +85˚C.
DD1,2

Control Interface

The LP3936 supports two different interfaces modes:
1) MicroWire/SPI interface
2
2) I
C compatible interface
User can define the interface by MW_SEL pin. The pin configuration will also change depending on which interface
MW_SEL Interface Pin Configuration Comment
1 MicroWire/SPI SCL
DI DO CS
2
0I
C Compatible SCL
CS = SDA
(clock) (data in) (data out) (chip select)
(clock) (data in/out)
is selected. The following table shows the selections for both interface modes.
Use pull up resistor for SCL Use pull up resistor for SDA
www.national.com7

MicroWire/SPI Interface

The Microwire transmission consists of 16-bit Write and
LP3936
Read Cycles. One cycle consists of 7 Address bits, 1 Read/ Write (R/W) bit and 8 Data bits. Read is done in two cycles: address is provided in the first cycle and the data is sent out on the next cycle. R/W bit high state defines a Write Cycle and low defines a Read Cycle. DO output is normally in high-impedance state and it is active only during Write and Read Cycles. A pull-up or pull-down resistor may be needed in DO line if a floating logic signal can cause unintended current consumption in other circuits where DO is con­nected.
The Address and Data are transmitted MSB first. The Chip Select signal CS must be low during the Cycle transmission. CS resets the interface when high and it has to be taken high between successive Cycles. Data is clocked in on the rising edge of the SCL clock signal, while data is clocked out on the falling edge of SCL.
The MicroWire interface mode can also support SPI inter­face. The difference with normal SPI interface is that in LP3936 the Read operation from a new address needs two read cycles. If repetitive reads are made from the same address, a correct value is obtained on every read cycle.
MicroWire Write Cycle
20081407
MicroWire Read Cycle 1
MicroWire Read Cycle 2
www.national.com 8
20081408
20081409
MicroWire/SPI Interface (Continued)
MicroWire Timing Diagram

MicroWire Timing Parameters

V
= 3.0V – 6V, V
DD1,2
DD_IO
= 1.8V – V
DD1,2
LP3936
20081410
Symbol Parameter
Limit
Min Max
Units
1 Cycle Time 120 ns
2 Enable Lead Time 60 ns
3 Enable Lag Time 60 ns
4 Clock Low Time 60 ns
5 Clock High Time 60 ns
6 Data Setup Time 0 ns
7 Data Hold Time 10 ns
8 Data Access Time 35 ns
9 Disable Time 30 ns
10 Output Data Valid 55 ns
11 Output Data Hold Time 15 ns
12 CS Inactive Time 10 ns
Note: Data guaranteed by design.

I2C Compatible Interface

I2C SIGNALS

2
In I
C mode the LP3936 pin SCL is used for the I2C clock and the pin CS is used for the I2C data signal SDA. Both these signals
need a pull-up resistor according to I
or GND.
V
DD_IO
2
I
C DATA VALIDITY
The data on SDA line must be stable during the HIGH period of the clock signal (SCL). In other words, state of the data line can only be changed when CLK is LOW.
2
C specification. Unused pin DO can be left unconnected and pin DI must be connected to
20081411
www.national.com9
I2C Compatible Interface (Continued)
2
LP3936
I
C START AND STOP CONDITIONS
START and STOP bits classify the beginning and the end of the I transitioning from HIGH to LOW while SCL line is HIGH. STOP condition is defined as the SDA transitioning from LOW to HIGH while SCL is HIGH. The I
2
C master always generates START and STOP bits. The I2C bus is considered to be busy after START condition and free after STOP condition. During data transmission, I START and repeated START conditions are equivalent, function-wise.

TRANSFERRING DATA

Every byte put on the SDA line must be eight bits long, with the most significant bit (MSB) being transferred first. Each byte of data has to be followed by an acknowledge bit. The acknowledge related clock pulse is generated by the master. The transmitter releases the SDA line (HIGH) during the acknowledge clock pulse. The receiver must pull down the SDA line during the 9th clock pulse, signifying an acknowledge. A receiver which has been addressed must generate an acknowledge after each byte has been received.
2
After the START condition, the I
C master sends a chip address. This address is seven bits long followed by an eighth bit which is a data direction bit (R/W). The LP3936 address is 36h. For the eighth bit, a “0” indicates a WRITE and a “1” indicates a READ. The second byte selects the register to which the data will be written. The third byte contains data to write to the selected register.
2
C Chip Address
I
2
C session. START condition is defined as SDA signal
2
C master can generate repeated START conditions. First
20081412
20081413
I2C Write Cycle
w = write (SDA = “0”) r = read (SDA = “1”) ack = acknowledge (SDA pulled down by either master or slave) rs = repeated start id = chip address, 36h for LP3936
20081414
When a READ function is to be accomplished, a WRITE function must precede the READ function, as shown in the Read Cycle waveform.
www.national.com 10
I2C Compatible Interface (Continued)
I2C Timing Diagram
2
I
C Read Cycle
LP3936
20081415
20081432

I2C Timing Parameters

V
= 3.0V to 4.5V, V
DD1, 2
Symbol Parameter
1 Hold Time (repeated) START Condition 0.6 µs
2 Clock Low Time 1.3 µs
3 Clock High Time 600 ns
4 Setup Time for a Repeated START Condition 600 ns
5 Data Hold Time (output direction, delay generated by LP3936) 300 900 ns
5 Data Hold Time (input direction) 0 900 ns
6 Data Setup Time 100 ns
7 Rise Time of SDA and SCL 20 + 0.1C
8 Fall Time of SDA and SCL 15 + 0.1C
9 Set-Up Time for STOP Condition 600 ns
10 Bus Free Time between a STOP and a START Condition 1.3 µs
C
Note: Data guaranteed by design.
Capacitive Load for Each Bus Line 10 200 pF
b
DD_IO
= 1.65V to V
DD1, 2
Limits
Min Max
b
b
300 ns
300 ns
Units
www.national.com11

A/D Converter for Ambient Light Measurement

LP3936

Electrical Characteristics

Symbol Parameter Conditions Min Typ Max Units
V
IN RANGE
DNL Differential Non-Linearity –1.5
GE Gain Error −5 +5 LSB
PSS Power Supply Sensitivity 3.1V V
f(conv) Conversion Rate Without Averaging 217 Hz
t
STARTUP
I
AIN
I
AREF
R
AREF
ADC output AIN[7:0] can be read from address 0CH after startup time. Overflow bit can be read from bit D7 in address 0BH. The overflow bit indicates that input voltage exceeds the input voltage range of the ADC. The ADC output value in this case is FFH. When averaging is on, the overflow is high, if any of the 64 conversion results in the averaging period overflows. Thus the averaged result may be considerably below maximum and the overflow can still be high, if the input signal is noisy.
Examples for optical sensor are photodiode SHF2400 and phototransistor SFH3410 from Osram or BSC 3216 G1 optical sensor from TDK.
ADC can be used for temperature measurement with a thermistor. It enables temperature compensated LED driving. If ADC is not used, it should be disabled by writing en_ambadc bit low. AIN and AREF pins can be left unconnected
Input Voltage AD Output: 00h 1.23 V
AD Output: FFh 2.46 V
±
1 +1.5 LSB
4.2V
DD
With Averaging (64 samples)
±
1/2 LSB
3.4 Hz
Startup Time 100 ms
Input Current 1.23<AIN<2.6V
±
0.1 µA
Maximum Output Current AREF Output Current Sink 200 µA
AREF Output Resistance 110
www.national.com 12
20081416

Magnetic Boost DC/DC Converter

The LP3936 Boost DC/DC Converter generates a 4.1V–5.3V supply voltage for the LEDs from single Li-Ion battery (3V … 4.5V). The output voltage is controlled with an 8-bit register in 9 steps. The converter is a magnetic switching PFM/PWM mode DC/DC converter with a current limit. The converter has a 1 MHz switching frequency when timing resistor RT is 82 k.
The topology of the magnetic boost converter is called CPM control, current programmed mode, where the inductor current is measured and controlled with the feedback. The user can program the output voltage of the boost converter. The control changes the resistor divider in the feedback loop.
The following figure shows the boost topology with the protection circuitry. Three different protection schemes are implemented:
1) Over voltage protection, limits the maximum output voltage a. Keeps the output below breakdown voltage. b. Prevents boost operation if battery voltage is much higher than desired output.
2) Over current protection, limits the maximum inductor current a. Voltage over switching NMOS is monitored; too high voltages turn the switch off.
3) Duty cycle limiting, done with digital control.
LP3936

Boost Output Voltage Control

User can control the boost output voltage by boost output 8-bit register.
Boost[7:0]
Register 0Dh
Binary Hex
0000 0000 00 4.10
0000 0001 01 4.25
0000 0011 03 4.40
0000 0111 07 4.55 Default
0000 1111 0F 4.70
0001 1111 1F 4.85
00 11 1111 3F 5.00
0111 1111 7F 5.15
1111 1111 FF 5.30
BOOST Output
Voltage
(typical)
20081417
Boost Output Voltage Control
20081418
www.national.com13

Magnetic Boost DC/DC Converter Electrical Characteristics

LP3936
Symbol Parameter Conditions Min Typ Max Units
I
LOAD
V
OUT
RDS
f
PWF
Load Current 3.0V VIN≤ 4.5V
V
OUT
Output Voltage Accuracy (FB Pin) 1 mA I
3.0V V V
OUT
Output Voltage (FB Pin) 1 mA I
3.0V V
(SCHOTTKY)
1mA≤ I V
IN
Switch ON Resistance V
ON
DD1,2
= 4.55V
225 mA
LOAD
V (FB)−0.5V
IN
= 4.55V
250 mA
LOAD
<
<
V
4.55V +
IN
250 mA
LOAD
>
4.55V + V
(SCHOTTKY)
= 3.6V, ISW= 0.5A 0.4 0.5
0 250 mA
−5 +5 %
4.55 V
VIN–V
(SCHOTTKY)
PWM Mode Switching Frequency RT = 82 k 1 MHz
Frequency Accuracy RT = 82 k −6
±
3+6
−10 +10
t
STARTUP
I
CL_OUT
Startup Time 25 ms
OUT Pin Current Limit VDD= 3.6V 600 750 1050
400 1200

PFM/PWM Mode

User can change the Boost converters mode between PWM (Pulse Width Modulation) and PFM (Pulse Frequency Modulation). The startup is done on PFM mode and then the device runs on PWM mode (as a default). User can set PFM mode by turning “pfm_mode” register bit HIGH. PFM is recommended to use with light loads and PWM with high loads.
V
%
mA

Boost Standby Mode

User can set boost converter to STANDBY mode by writing register bit EN_BOOST low. This mode can be useful when driving LEDs directly from battery voltage. This may be possible if LED forward voltage is low, battery voltage is high and LED current is low.
When EN_BOOST is written high, the converter starts for 10 ms in PFM mode and then goes to PWM mode if PWM mode has been selected (default). During Boost Start-up all LEDs are turned off to reduce the load.

Unused Boost Converter

If the boost converter is not used, it should be disabled by writing bit en_boost low. OUT pin should be connected to GND and FB pin to the LED supply voltage.

Boost Converter Typical Performance Characteristics V

otherwise stated.
Boost Converter Efficiency Boost Frequency vs RT Resistor
= 3.6V, V
IN
= 4.55V if not
OUT
20081419
www.national.com 14
20081420
LP3936
Boost Converter Typical Performance Characteristics V
IN
otherwise stated. (Continued)
Battery Current vs Voltage Battery Current vs Voltage
20081421 20081422
Boost Typical Waveforms at 100 mA Load Boost Startup with No Load
= 3.6V, V
= 4.55V if not
OUT
20081423
20081424
Boost Line Regulation Boost Load Regulation, 50 mA–100 mA
20081425
20081426
www.national.com15

RGB LED Driver

The RGB driver has three outputs that can independently
LP3936
drive one RGB LED or three LEDs of any kind. User has control over the following parameters separately for each LED:
ON and OFF (start and stop time in blinking cycle)
DUTY (PWM brightness control)
SLOPE (dimming slope)
ENABLE (direct enable control)
The main blinking cycle is controlled with 2-bit CYCLE con­trol (0.25 / 0.5 / 1.0 / 2.0s).
RGB PWM Operating Principle
RGB_START is the master enable control for the whole RGB function. The internal PWM and blinking control can be disabled by setting the RGB_PWM control LOW. In this case the individual enable controls can be used to switch outputs on and off. RGB_EN input can be used for external hardware PWM control. RGB_EN input can be used as direct on/off or brightness (PWM) control. If RGB_EN input is not used, it must be tied to V
. Recommended maximum frequency
DD_IO
of RGB LED external PWM control is 1 MHz. In the normal PWM mode the R, G and B switches are
controlled in 3 phases (one phase per driver). During each phase the peak current set by external resistor is driven through the LED for the time defined by DUTY setting (0 µs–50 µs). As a time averaged current this means 0%–33% of the peak current. The PWM period is 150 µs and the pulse frequency is 6.67 kHz in normal mode.
20081427
In the FLASH mode all the outputs are controlled in one phase and the PWM period is 50 µs. The time averaged FLASH mode current is three times the normal mode current at the same DUTY value.
Blinking can be controlled separately for each output. On and OFF times determine, when a LED turns on and off within the blinking cycle. When both ON and OFF are 0, the LED is on and doesn’t blink. If ON equals OFF but is not 0, the LED is permanently off.
20081429
Example Blinking Waveforms
Normal Mode PWM Waveforms at different duty
20081428
settings
www.national.com 16

RGB Driver Electrical Characteristics

(R
OUT,GOUT,BOUT
Symbol Parameter Conditions Min Typ Max Units
R
DS-ON
I
LEAKAGE
I
MAX
T
SMAX
T
SMIN
T
SRES
T
START/STOP
Duty Duty Step Size 1/16
T
BLINK
D
CYCF
D
CYC
D
RESF
D
RES
F
PWMF
F
PWM
Note 12: The total load current of the boost converter should be limited to 250 mA.
outputs)
ON Resistance 2 4.5
Off State Leakage Current VFB= 5.3V 0.04 1 µA
Maximum Sink Current (Note 12) 120 mA
Maximum Slope Period Maximum Duty Setting 0.93 s
Minimum Slope Period Maximum Duty Setting 31 ms
Slope Resolution Maximum Duty Setting 62 ms
Start/Stop Resolution Cycle 1s 1/16 s
Blinking Cycle Accuracy −6
±
3+6 %
Duty Cycle Range EN_FLASH = 1 0 94 %
Duty Cycle Range EN_FLASH = 0 0 31 %
Duty Resolution EN_FLASH = 1 (4-bit) 6.27 %
Duty Resolution EN_FLASH = 0 (4-bit) 2.09 %
PWM Frequency EN_FLASH = 1 20 kHz
PWM Frequency EN_FLASH = 0 6.67 kHz
LP3936

RGB LED PWM Control (Note 13)

RDUTY[3:0] GDUTY[3:0] BDUTY[3:0]
RSLOPE[3:0] GSLOPE[3:0] BSLOPE[3:0]
RON[6:0] GON[6:0] BON[6:0]
ROFF[6:0] GOFF[6:0] BOFF[6:0]
CYCLE[1:0] CYCLE sets the blinking cycle: [00] for 0.25s, [01] for 0.5s, [10] for 1s and [11] for 2s. CYCLE setting is
RSW GSW BSW
RGB_START Master Switch:
RGB_PWM RGB_PWM = 0→RSW, GWS and BSW control directly the RGB outputs (on/off control only)
EN_FLASH Flash Mode enable control for RGB. In Flash mode (EN_FLASH = 1) RGB outputs are PWM controlled
DUTY sets the brightness of the LED by adjusting the duty cycle of the PWM driver. The minimum DUTY
A
cycle [0000] is 0% and the maximum [1111] in the Flash mode is
94% and in the normal mode 31% of the peak pulse current. The peak pulse current is determined by the external resistor, LED forward voltage drop and the boost voltage.
SLOPE sets the turn-on and turn-off slopes. Fastest slope is set by [0000] and slowest by [1111]. SLOPE changes the duty cycle at constant, programmable rate. For each slope setting the maximum slope time appears at maximum DUTY setting. When DUTY is reduced, the slope time decreases proportionally. For example, in case of maximum DUTY, the sloping time can be adjusted from 31 ms [0000] to 930 ms [1111]. For 50% DUTY [1000] the sloping time is 17 ms [0000] to 496 ms [1111]. The blinking cycle has no effect on SLOPE.
ON sets the beginning time of the turn-on slope. The on-time is relative to the selected blinking cycle length. On-setting N (N = 0–127) sets the on-time to N/128 * cycle length.
OFF sets the beginning time of the turn-off slope. Off-time is relative to blinking cycle length in the same way as on-time.
If ON=0,OFF=0and RGB_PWM = 1, then RGB outputs are continuously on (no blinking), DUTY controls the brightness and SLOPE is ignored.
If ON and OFF are the same, but not 0, RGB outputs are turned off.
common to all R, G and B drivers.
Enable for R switch Enable for G switch Enable for B switch
RGB_START = 0→RGB OFF RGB_START = 1→RGB ON, starts the new cycle fromt=0
RGB_PWM = 1→Normal PWM RGB functionality (duty, slope, on/off times, cycle)
simultaneously, not in 3-phase system as in the Normal Mode.
www.national.com17
RGB LED PWM Control (Note 13) (Continued)
LP3936
EN_RED_PWM EN_GREEN_PWM EN_BLUE_PWM
Note 13: Application Note AN-1293, “Driving RGB LEDs Using LP3936 Lighting Management System” contains a thorough description of the RGB driver functionality including programming examples.
EN_X_PWM = 0→External PWM control from RGB_EN pin is disabled EN_X_PWM = 1→External PWM control from RGB_EN pin is enabled Internal PWM control (DUTY) can be used independently of external PWM control. External PWM has the same effect on all enabled colors.

WLED Drivers

White LED drivers drive each white LED with a regulated constant current. The outputs are combined in two groups, four outputs for the main display backlight and two outputs for the sub display backlight. The current is controlled be­tween 0 and 25.5 mA using the 8-bit current mode DA­converters. WLED outputs can be used to drive any kind of LED.
Main and sub display outputs have separate enable control bits, EN_4LED and EN_2LED.
PWM control of WLED outputs for dimming or on/off control is possible using RGB_EN pin together with EN_4LED_PWM and EN_2LED_PWM enable control bits from the user register. Recommended maximum frequency of WLED external PWM control is 1 kHz.
20081430

WLED and CLED Driver Electrical Characteristics

Symbol Parameter Conditions Min Typ Max Units
I
RANGE
I
MAX
I
LEAKAGE
I
MATCH
Note 14: A minimum voltage, Dropout Voltage, is required on the WLED outputs for maintaining the LED current. The current reduction at lower voltages is shown in the graph WLED Output Current vs. Voltage.
Note 15: Match % = 100% * (Max – Min)/Min
www.national.com 18
Sink Current Range VFB= 4.55V, Control 00h–FFh 0–25.5 mA
Maximum Sink Current (Note 14) 24 25.5 27 mA
22 28 mA
Leakage Current VFB= 5V 0.04 1 µA
Sink Current Matching (Note 15)
I
= 13 mA, between
SINK
WLED1…4orWLED5 … 6
1.0 4 %

WLED Current Adjustment

WLED[7:0]
0000 0000 0 mA
0000 0001 0.1 mA
0000 0010 0.2 mA
0000 0011 0.3 mA
••
••
1111 1101 25.3 mA
1111 1110 25.4 mA
1111 1111 25.5 mA
WLED Output Current vs Voltage
Temperatures −40˚C, +25˚C, +85˚C
WLED Current
(Typical)
Units
lighter loads, the low ESR ceramics offer a much lower V
OUT
ripple than the higher ESR tantalums of the same value. At the higher loads, the ceramics offer a slightly lower V
OUT
ripple magnitude than the tantalums of the same value. However, the dv/dt of the V
ripple with the ceramics is
OUT
much lower than the tantalums under all load conditions. Capacitor voltage rating must be sufficient, 10V is recom­mended. It should be noted that with some capacitor types the actual capacitance depends heavily on the capacitor DC voltage bias.
INPUT CAPACITOR, C
IN
The input capacitor CINdirectly affects the magnitude of the input ripple voltage and to a lesser degree the V higher value C
will give a lower VINripple. Capacitor volt-
IN
OUT
ripple. A
age rating must be sufficient, 10V is recommended.
OUTPUT DIODE, D
OUT
A Schottky diode should be used for the output diode. To maintain high efficiency the average current rating of the schottky diode should be larger than the peak inductor cur­rent (1A). Schottky diodes with a low forward drop and fast switching speeds are ideal for increasing efficiency in por­table applications. Choose a reverse breakdown of the schottky diode larger than the output voltage. Do not use ordinary rectifier diodes, since slow switching speeds and long recovery times cause the efficiency and the load regu­lation to suffer.
LP3936

INDUCTOR, L

The high switching frequency enables the use of the small surface mount inductor. A 10 µH shielded inductor is sug­gested. Values below 4.7 µH should not be used. The induc­tor should have a saturation current rating higher than the peak current it will experience during circuit operation (
20081431
Less than 300 mESR is suggested for high efficiency. Open core inductors cause flux linkage with circuit compo­nents and interfere with the normal operation of the circuit. This should be avoided. For high efficiency, choose an in-

Recommended External Components

OUTPUT CAPACITOR, C
The output capacitor C the output ripple voltage. In general, the higher the value of
, the lower the output ripple magnitude. Multilayer ce-
C
OUT
OUT
directly affects the magnitude of
OUT
ductor with a high frequency core material such as ferrite to reduce the core losses. To minimize radiated noise, use a toroid, pot core or shielded core inductor. The inductor should be connected to the OUT pin as close to the IC as possible. Examples of suitable inductors are TDK types LLF4017T-100MR90C and VLF4012AT-100MR79 and Coil­craft type DO3314T-103 (unshielded).
ramic capacitors with low ESR are the best choice. At the

List of Recommended External Components

Symbol Symbol Explanation Value Unit Type
C
C
C
C
C
C
VDD1
VDD2
OUT
IN
VDDIO
VDDA
V
bypass capacitor 1 µF Ceramic, X7R
DD1
V
bypass capacitor 1 µF Ceramic, X7R
DD2
Output capacitor from FB to GND 10 µF Ceramic, X7R/Y5V
Input capacitor from Battery Voltage to GND 10 µF Ceramic, X7R/Y5V
V
bypass capacitor 1 µF Ceramic, X7R
DDIO
Internal LDO output capacitor, between V
and GND 1 µF Ceramic, X7R
DDA
RT Oscillator Frequency Bias Resistor 82 k 1% (Note 16)
RDO DO output pull-up resistor 100 k
C
VREF
L
BOOST
D
OUT
Reference Voltage Capacitor, between V
and GND 100 nF Ceramic, X7R
REF
Boost converter inductor 10 µH Shielded, Low ESR, I
Rectifying Diode, V
@
Maxload 0.3 V Schottky Diode
F
SAT
A
1A).
A
1A
www.national.com19
Recommended External Components (Continued)
LP3936
Symbol Symbol Explanation Value Unit Type
RGB RGB LED
R
,
R,RG
R
B
LEDs White LEDs
Note 16: Resistor RT tolerance change will change the timing accuracy of the RGB block. Also the boost converter switching frequency will be affected.
Current Limit Resistors
List of Recommended External Components (Continued)
User Defined
(See Application Note AN-1293 for resistor size
calculation)

Control Registers

All user accessible control registers and register bits are shown in the following table.
ADDR SETUP D7 D6 D5 D4 D3 D2 D1 D0
00H Control register rgb_pwm rgb_start cycle[1] cycle[0] rsw gsw bsw pfm_mode
01H ron ron[6] ron[5] ron[4] ron[3] ron[2] ron[1] ron[0]
02H roff roff[6] roff[5] roff[4] roff[3] roff[2] roff[1] roff[0]
03H gon gon[6] gon[5] gon[4] gon[3] gon[2] gon[1] gon[0]
04H goff goff[6] goff[5] goff[4] goff[3] goff[2] goff[1] goff[0]
05H bon bon[6] bon[5] bon[4] bon[3] bon[2] bon[1] bon[0]
06H boff boff[6] boff[5] boff[4] boff[3] boff[2] boff[1] boff[0]
07H rslope, rduty rslope[3] rslope[2] rslope[1] rslope[0] rduty[3] rduty[2] rduty[1] rduty[0]
08H gslope, gduty gslope[3] gslope[2] gslope[1] gslope[0] gduty[3] gduty[2] gduty[1] gduty[0]
09H bslope, bduty bslope[3] bslope[2] bslope[1] bslope[0] bduty[3] bduty[2] bduty[1] bduty[0]]
0AH wled current 1 wled1[7] wled1[6] wled1[5] wled1[4] wled1[3] wled1[2] wled1[1] wled1[0]
0BH enables overflow nstby en_boost en_flash en_ambave en_ambadc en_4led en_2led
0CH Amb. Light data ain[7] ain[6] ain[5] ain[4] ain[3] ain[2] ain[1] ain[0]
0DH boost output boost[7] boost[6] boost[5] boost[4] boost[3] boost[2] boost[1] boost[0]
2AH wled current 2 wled2[7] wled2[6] wled2[5] wled2[4] wled2[3] wled2[2] wled2[1] wled2[0]
2BH ext pwm enable en_redpwm en_greenpwm en_bluepwm en_4ledpwm en_2ledpwm
Default value of each register is 0000 0000 except the following
— boost output default is 0000 0111 = 07h (4.55V). — enables default is x010 0000 = 20h (boost enabled) — ext_pwm_enable default is 0001 1100 = 1Ch (RGB_EN control enabled for color outputs)
Register 0Ch all bits (ain[7:0]) and bit D7 in register 0Bh (overflow) are read only. All other bits are read-write.
www.national.com 20

Physical Dimensions inches (millimeters) unless otherwise noted

LP3936Lighting Management System for Six White LEDs and One RGB or FLASH LED
32-Lead Thin CSP Package, 4.5 x 5.5 x 0.8 mm, 0.5 mm Pitch
NS Package Number SLD32A
National does not assume any responsibility for use of any circuitry described, no circuit patent licenses are implied and National reserves the right at any time without notice to change said circuitry and specifications.
For the most current product information visit us at www.national.com.
LIFE SUPPORT POLICY
NATIONAL’S PRODUCTS ARE NOT AUTHORIZED FOR USE AS CRITICAL COMPONENTS IN LIFE SUPPORT DEVICES OR SYSTEMS WITHOUT THE EXPRESS WRITTEN APPROVAL OF THE PRESIDENT AND GENERAL COUNSEL OF NATIONAL SEMICONDUCTOR CORPORATION. As used herein:
1. Life support devices or systems are devices or systems which, (a) are intended for surgical implant into the body, or (b) support or sustain life, and whose failure to perform when properly used in accordance with instructions for use
2. A critical component is any component of a life support device or system whose failure to perform can be reasonably expected to cause the failure of the life support device or system, or to affect its safety or effectiveness.
provided in the labeling, can be reasonably expected to result in a significant injury to the user.
BANNED SUBSTANCE COMPLIANCE
National Semiconductor manufactures products and uses packing materials that meet the provisions of the Customer Products Stewardship Specification (CSP-9-111C2) and the Banned Substances and Materials of Interest Specification (CSP-9-111S2) and contain no ‘‘Banned Substances’’ as defined in CSP-9-111S2.
Leadfree products are RoHS compliant.
National Semiconductor Americas Customer Support Center
Email: new.feedback@nsc.com Tel: 1-800-272-9959
www.national.com
National Semiconductor Europe Customer Support Center
Fax: +49 (0) 180-530 85 86
Email: europe.support@nsc.com Deutsch Tel: +49 (0) 69 9508 6208 English Tel: +44 (0) 870 24 0 2171 Français Tel: +33 (0) 1 41 91 8790
National Semiconductor Asia Pacific Customer Support Center
Email: ap.support@nsc.com
National Semiconductor Japan Customer Support Center
Fax: 81-3-5639-7507 Email: jpn.feedback@nsc.com Tel: 81-3-5639-7560
Loading...