AN002 EN

Application Note
Programmable Dual LDO Output Voltage and WLED Current
with I2C Interface
Bear Huang, August 2007
1. Introduction
The RT9367A is an integrated solution for panel backlighting and phone camera application. The part contains a charge
pump white LED driver and dual low dropout linear regulators. The RT9367A application mechanism and I2C compatible
interface are introduced in this application note.
2. Dual LDO Camera Supply Input
In the section of linear regulator, the RT9367A comprises a dual channel, low noise, and low dropout regulator sourcing
up to 300mA at each channel for phone camera input voltage supply. The output voltage range of each channel can be
configured from 1.1V to 3.3V by I2C interface. The latest cell-phone usually integrates two sets of embedded cameras.
One is major camera and the other one is the secondary camera. For camera phone users, those two camera sets will
not be used at the same time. Beside, each camera needs two different input voltages. In order to achieve the abovementioned goal, four different voltage linear regulators are needed in traditional power management topology, and this
will increase space and cost. However, the RT9367A can realize this application by its integrated programmable Dual
LDO. Figure 1 shows the application circuit of dual LDO. The inputs of Camera A and Camera B are connected in parallel
to LDO1 and LDO2. The input voltage level of Camera A and B could be different. Users can change the LDO1 and LDO2
output voltage for Camera A or Camera B via I2C interface. Notice that, both of Camera A and Camera B must be able to
withstand the maximum input voltage (3.3V). Due to the above-mentioned reason, the RT9367A provides a highly
integrated solution that greatly reduces components and PCB space.
Figure 1. Dual LDO Camera Supply Input Applicaiton Circuit
AN002
www.richtek.com
1
Application Note
3. Charge Pump LED Driver
The part contains highly integrated, 1MHz, low noise, high efficiency 1x/1.5x/2x multimode charge pumps and low
dropout current regulators for driving W-LED backlighting. The RT9367A can power up 4 white LEDs with regulated
constant current for uniform intensity as shown in the figure 2. Each channel (LED1-LED4) can support current up to
25mA. An internal 5-bit DAC is used for brightness control, so that users can easily configure up to 32-step of LED
current by the I2C interface. The RT9367A charge pumps feature low-noise constant-frequency operation and automatically
optimize efficiency based on VIN and LED forward voltage conditions. The devices power up in 1x mode and automatically
switch to boost mode (1.5x) when any enabled LED current source approaches dropout; a subsequent dropout switches
the parts into 2x mode. The internal circuitry prevents inrush current and excessive input noise during start-up and mode
switching. In addition, the device has short circuit, thermal and open/short LED protection.
Figure 2. Charge Pump LED Driver Application Circuit
4. I2C Compatible Interface
4-1. I2C Interface Timing Diagram
The RT9367A acts like an I2C -bus slave. The I2C -bus master configures the settings for Dual LDO and the LED outputs
by sending command bytes to the RT9367A via the 2-wire I2C -bus. Figure 3 shows the timing diagram of I2C interface.
After the START condition, the I2C 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 second byte selects the register to which the data will be written. The third
byte contains data to write to the selected register.
www.richtek.com
2
AN002
Application Note
The 1st Word (Chip
Address, R/W)
I2C Adress
The 2nd Word (Sub
Address, Data)
Sub
Adress
R/W
The 3rd Word (data)
Channel
selection ON/OFF Test Mode
Data II
Start
A6 A5 A4 A3 A2 A1 A0 0
B7 B6 B5 B4 B3 B2 B1 B0
C7 C6 C5 C4 C3 C2 C1 C0
Stop
Start
A6 A5 A4 A3 A2 A1 A0 0
B7 B6 B5 B4 B3 B2 B1 B0
0 0 0 C4 C3 C2 C1 C0
Stop
S
P
SCL
1
SDA
0
S
W
R
ACK
P
2
3
4
5
6
7
8
A6 A5 A4 A3 A2 A1 A0
9
1
2
3
W ACK B7 B6 B5
4
0
5
6
7
8
9
1
2
3
B3 B2 B1 B0 ACK 0
0
C5 C4 C3 C2 C1 C0 ACK
4
5
6
7
8
9
= Start Condition
= Write (SDA = “0")
= Read (SDA = “1")
= Acknowledge
= Stop Condition
Figure 3. I2C Interface Timing Diagram
4-2. LDO Output Voltage and LED Current Setting
In the first byte, the RT9367A address is 1010100(54h) and a receive-only device. Figure 4 shows the writing information
for RT9367A dual LDO output voltage setting and LED current setting. In the second byte, the sub-address of dual LDO
is “001” and the sub-address of LED Driver is “010”. For LDO channel setting, the LDO1 is defined as “000” and the
LDO2 is defined as “001”. For the last bit of second byte, a “0” indicates a DISABLE and a “1” indicates an ENABLE
function. The sub-address of LED is “010”. For the last 4 bits (B0 to B3) represent the channels of LED (LED1 to LED4),
a “0” indicates turn off and a “1” indicates turn on. The data of third byte (C0 to C4) indicates a 32-steps setting of
LDO1, LDO2 output voltage or the LED current of backlight
Figure 4. I2C Writing Cycles for LDO and LED Driver
AN002
www.richtek.com
3
Application Note
2.5
1.75
0
0F
1F
LED Current vs Input Code
3.3
25
Typical LDO Current (mA)
3.3
LDO2 Output Voltage vs Input Code
Typical LDO Output Voltage (V)
Typical LDO Output Voltage (V)
LDO1 Output Voltage vs Input Code
2.5
1.8
1.1
0
0E 0F
HEX Code
15
0.9375
1F
0
HEX Code
0F
1F
HEX Code
Figure 5. LDO Voltage Setting and LED Current Setting
Table1. LDO Voltage Setting
Code
Voltage(V)
Code
Voltage(V)
Code
Voltage(V)
Code
Voltage(V)
LDO1 LDO2
C4~C0
LDO1
LDO2
C4~C0
LDO1
LDO2
C4~C0
LDO1
LDO2
C4~C0
00000
1.75
1.10
01000
2.15
1.50
10000
2.55
2.55
11000
2.95
2.95
00001
1.80
1.15
01001
2.20
1.55
10001
2.60
2.60
11001
3.00
3.00
00010
1.85
1.20
01010
2.25
1.60
10010
2.65
2.65
11010
3.05
3.05
00011
1.90
1.25
01011
2.30
1.65
10011
2.70
2.70
11011
3.10
3.10
00100
1.95
1.30
01100
2.35
1.70
10100
2.75
2.75
11100
3.15
3.15
00101
2.00
1.35
01101
2.40
1.75
10101
2.80
2.80
11101
3.20
3.20
00110
2.05
1.40
01110
2.45
1.80
10110
2.85
2.85
11110
3.25
3.25
00111
2.10
1.45
01111
2.50
2.50
10111
2.90
2.90
11111
3.30
3.30
Table2. LED Current Setting
Code
LED
Code
LED
Code
LED
Code
LED
C4~C0
Current(mA)
C4~C0
Current(mA)
C4~C0
Current(mA)
C4~C0
Current(mA)
00000
0.8
01000
7.0
10000
13.3
11000
19.5
00001
1.6
01001
7.8
10001
14.0
11001
20.3
00010
2.3
01010
8.6
10010
14.8
11010
21.1
00011
3.1
01011
9.4
10011
15.6
11011
21.8
00100
3.9
01100
10.1
10100
16.4
11100
22.6
00101
4.7
01101
10.9
10101
17.2
11101
23.4
00110
5.5
01110
11.7
10110
17.9
11110
24.2
00111
6.2
01111
12.5
10111
18.7
11111
25.0
Note: The data in Table1 and Table2 may have some deviations with tolerance.
Figure5, Table1 and Table2 illustrate the dual LDO output voltage and LED current setting information. The output voltage
of the LDO1 could be divided to 32-step levels between 1.75V(HEX Code = 0) and 3.3V(HEX Code = 1F). And the output
voltage of the LDO2 is separated into two regions, one is from 1.1V(HEX Code = 0) to 1.8V(HEX Code = 0E) and the
other is from 2.5V(HEX Code = 0F) to 3.3V(HEX Code = 1F). In additional, the LED current could be divided into 32-step
levels between 0.8mA(HEX Code = 0) and 25mA(HEX Code = 1F).
www.richtek.com
4
AN002
Application Note
4-3. Design Examples
An example shows as below to demonstrate the setting of RT9367A LED current and the Dual LDO output voltage. For
the following examples the RT9367A address is 1010100 (54h) which is the first byte. As shown in above-mentioned, the
sub-address of Dual LDO is 001 and LED is 010.
Example: LDO1 output voltage = 2.8V
LDO2 output Voltage = 1.2V
LED1 to LED3 ON current = 25mA
LED4 OFF
Figure 6. LDO Voltage and LED Current Programming via I2C
5. Layout Consideration
The RT9367A is a high-frequency switched-capacitor converter and a careful PCB layout is necessary for optimal
performance. At first, place all peripheral components as close to the IC as possible. And then place CIN1, CIN2, COUT,
CLDO1, CLDO2, CFLY1, and CFLY2 near to AVIN, PVIN, VOUT, LDO1, LDO2, C1P, C1N, C2P, C2N, and GND pin respectively.
Besides, a shorter connection is highly recommended. The following guidelines should be strictly followed when designing
a PCB layout for the RT9367A.
z
The exposed GND pad must be soldered to a large ground plane for heat sinking and noise prevention.
z
VIN traces should be wide enough to minimize inductance and handle the high currents.
z
The input and output capacitors must be placed close to the part.
z
The flying capacitors must be placed close to the part. The traces running from the pins to the capacitor pads should
be as wide as possible. Long traces will also produce large noise radiation caused by the large dv/dt on these pins. So
the short trace is recommended.
z
All the traces of LED and VIN running from pins to LCM module should be shielded and isolated by ground plane. The
shielding prevents the interference of high frequency noise coupled from the charge pump.
z
The output capacitor must be placed between GND and VOUT to reduce noise coupling from charge pump to LEDs
AN002
www.richtek.com
5
Application Note
Output capacitor must be
placed between GND and
VOUT to reduce noise coupling
from charge pump to LEDs.
GND Plane
4
C1P
The exposed pad, GND pad
should be connected to a
strong ground plane for heat
sinking and noise
prevention.
LED3
LED2
14
13
12
LED4
11
LDO2
10
AVIN
9
LDO1
C LDO2
All the traces of LED
and VIN running from
chip to LCM module
should be shielded and
isolated by ground
plane.
Battery
8
C2P
SDA
3
7
PGND
GND
SCL
2
6
C2N
PVIN
1
15
VOUT
C FLY2
C1N
5
C FLY1
16
The traces running from pins
to flying capacitor should be
short and wide to reduce
parasitic resistance and
prevent noise radiation.
LED1
C OUT
GND Plane
C IN2
C LDO1
C IN1
GND Plane
6. Conclusion
The I2C interface is widely adopted on smart hand-held devices due to its convenience and stability. The RT9367A
adopts I2C programming mechanism to provide an excellent solution with advantages in terms of component reducing,
PCB space saving, and convenient control.
Related Parts
RT9367
I2C Programmable White LED Driver with Dual LDO
RT9367A
I2C Programmable White LED Driver with Dual LDO
RT9904
PMIC for CDMA Phone
RT9926
CDMA Phone Power Management IC
More Information
For more information, please find the related datasheet or application notes from Richtek website :
http://www.richtek.com
Richtek Technology Corporation
Richtek Technology Corporation
Headquarter
Taipei Office (Marketing)
5F, No. 20, Taiyuen Street, Chupei City
8F, No. 137, Lane 235, Paochiao Road, Hsintien City
Hsinchu, Taiwan, R.O.C.
Taipei County, Taiwan, R.O.C.
Tel: (8863)5526789 Fax: (8863)5526611
Tel: (8862)89191466 Fax: (8862)89191465
Email: [email protected]
www.richtek.com
6
AN002