7 / 31 page

MBI5171
August 2004, VA.00
- 7 -
8-Bit Constant Current LED Driver with
LED Error Detection and Run-Time Current Adjustment
Switching to Special Mode
The above shows an example of the signal sequence that can set the next operation mode of MBI5171 to be the
Special Mode. The LE/MOD/CA active pulse here would not latch any serial data.
Note:
After entering the Special Mode, MBI5171 can detect LED error and adjust current gain.
Writing Configuration Code (In Special Mode)
In the Special Mode, by sending the positive pulse of LE/MOD/CA, the content of the Shift Register with a
Configuration Code will be written to the 8-bit Configuration Latch.
Reading Error Status Code (In Special Mode)
When MBI5171 is working in the Special Mode, the above signal sequence example can let a system controller
read the Error Status codes via the pin SDO.
LE/MOD/CA
CLK
1
2
3
4
5
1
0
1
1
1
0
0
0
1
0
ED
/SW/
OE
: don’t care
Bit6
Error Status Code
Bit5
Bit4
Bit3
CLK
SDO
ED
/SW/
OE
Bit7
At least 2
μs
N = 0
1
Bit7
Bit6
Bit5
Bit4
Bit3
Bit2
Bit1
Bit0
7
CLK
LE/MOD/CA
SDI
8-Bit
Configuration
Code
2
3
4
5
6