MBI5170 8-Bit Constant Current LED Sink Driver with Gain Control
Current Adjust Mode Phase and Writing Configuration Code
In the Current Adjust Mode phase, the serial data could be transferred into MBI5170 via the pin SDI, shifted in the
Shift Register, and go out via the pin SDO. The active low signal OE /SW can enable the output drivers to sink
current. These are the same as those in the Normal Mode. The difference is that the active high signal LE/MOD/CA
latches the serial data in the Shift Register to the Configuration Latch, instead of the Output Latch. The latched
serial data is regarded as the Configuration Code. The code would be memorized until power off or the
Configuration Latch is re-written. As shown above, the timing for writing the Configuration Code is the same as that
in the Normal Mode for latching output channel data.
8-Bit Configuration Code and Current Gain CG
Bit Definition of 8-Bit Configuration Code
Bit 0
Bit 1
Bit 2
Bit 3
CM
HC
CC0
CC1
August 2004, VA.00
- 18 -
Bit 4
CC2
Bit 5
CC3
Bit 6
CC4
Bit 7
CC5
Meaning
Default
Value
1
1
1
1
1
1
1
1
Bit definition of the Configuration Code in the Configuration Latch is shown above. Bit 7 is first sent into MBI5170
via the pin SDI. Bit 1 ~ 7, {HC, CC[0:5]}, would determine the voltage gain (VG), that affects the voltage at R-EXT
terminal and indirectly the reference current I
rext
flowing through the external resistor at terminal R-EXT. Bit 0 is the
Current Multiplier (CM) bit, that determines the ratio I
out
/I
rext
. Each combination of VG and CM would give a Current
Gain (CG).
l
VG: the relationship between {HC,CC[0:5]} and the Voltage Gain G can be formulated as below:
VG = (1 + HC) x (1 + D/64) / 4
D = CC0 x 2
5
+ CC1 x 2
4
+ CC2 x 2
3
+ CC3 x 2
2
+ CC4 x 2
1
+ CC5 x 2
0
where HC is 1 or 0, and D is the binary value of CC[0:5]. So, the VG could be regarded as a floating-point
number with one bit exponent HC and 6-bit mantissa CC[0:5]. {HC,CC[0:5]} divides the programmable
voltage gain VG into 128 steps and two sub-bands:
Low voltage sub-band (HC=0): VG = 1/4 ~ 127/256, linearly divided into 64 steps;
High voltage sub-band (HC=1): VG = 1/2 ~ 127/128, linearly divided into 64 steps, too.
l
CM: as well as determining the ratio I
out
/I
rext
, the CM bit would limit the output current range.
High Current Multiplier (CM=1): I
out
/I
rext
= 15 and suitable for output current range I
out
= 10 ~ 120mA.
Low Current Multiplier (CM=0): I
out
/I
rext
= 5 and suitable for output current range I
out
= 5 ~ 40mA.
N = 0
1 2
3 4
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
5 6
7
CLK
LE/MOD/CA
SDI
8-Bit Configuration Code