Datasheet

Register Map and the EEPROM
Control the MSL2164/MSL2166 using the registers in the range 0x00 through 0xBF. Two additional registers, 0xC0 and 0xC1, control EEPROM
reading and writing. The control register power-on values are stored in EEPROM, and can be changed through the serial interface.
ADDRESS AND
REGISTER NAME
FUNCTION
REGISTER DATA
D7 D6 D5 D4 D3 D2 D1 D0
0x00 STRINGEN0
LED String Enables
STR7EN STR6EN STR5EN STR4EN STR3EN STR2EN STR1EN STR0EN
0x01 STRINGEN1 STR15EN STR14EN STR13EN STR12EN STR11EN STR10EN STR9EN STR8EN
0x02 CONFIG Configuration SLEEP - - - FLDBKEN STRSCDLY[2:0]
0x03 FLTEN Fault Enable - - - PHIMAXFEN GSCMAXFEN STRSCFEN STROCFEN FBOOCFEN
0x04 STRFLTEN0
String Fault Enable
FEN7 FEN6 FEN5 FEN4 FEN3 FEN2 FEN1 FEN0
0x05 STRFLTEN1 FEN15 FEN14 FEN13 FEN12 FEN11 FEN10 FEN9 FEN8
0x06 FLTSTATUS Fault Status FLTBDRV - - PHIMAXFLT GSCMAXFLT STRSCFLT STROCFLT FBOOCFLT
0x07 OCSTAT0
String Open Circuit Fault Status
OC7 OC6 OC5 OC4 OC3 OC2 OC1 OC0
0x08 OCSTAT1 OC15 OC14 OC13 OC12 OC11 OC10 OC9 OC8
0x09 SCSTAT0
String Short Circuit Fault Status
SC7 SC6 SC5 SC4 SC3 SC2 SC1 SC0
0x0A SCSTAT1 SC15 SC14 SC13 SC12 SC11 SC10 SC9 SC8
0x0B thru 0x0E UNUSED
0x0F OSCFREQ Oscillator Frequency - - - - - OSCFREQ[2:0]
0x10 FBOCTRL0
Efficiency Optimizer
Control
HDRMSTEP[1:0] RECALDLY[1:0] SETTLE[1:0] IERRCONF[1:0]
0x11 FBOCTRL1 INCRSTEP[1:0] DECRSTEP[1:0] INITPWM ACAL100 - ICHKDIS
0x12 FBOCTRL2 - ACALEN3 ACALEN2 ACALEN1 FBO3OCEN FBO2OCEN FBO1OCEN FBOEN
0x13 FBODAC0
Efficiency Optimizer DAC Readback
FBODAC1[7:0]
0x14 FBODAC1 FBODAC2[7:0]
0x15 FBODAC2 FBODAC3[7:0]
0x16 FBOSTAT Efficiency Optimizer Status FBO3OC FBO2OC FBO1OC FBO3ACT FBO2ACT FBO1ACT FBOCAL FBOINITCAL
0x17 thru 0x1F UNUSED
0x20 GSCCTRL GSC Processing Control GSCCHK-SEL - - - GSCMAXEN GSCPOL
GSCPHI-SYNCEN
GSCINTEN
0x21
GSCCNTR Internal Clock Counter for GSC
GSCCNTR[7:0]
0x22 GSCCNTR[15:8]
0x23 GSCMUL GSC Multiplier - - - GSCMUL[4:0]
0x24 GSCDIV GSC Divider GSCDIV[7:0]
0x25
GSCMAX
Max Oscillator Cycles Between
GSC Pulses
GSCMAX[7:0]
0x26 GSCMAX[15:8]
0x27 PHICTRL PHI Processing Control PHICHK-SEL - - - - PHIMAXEN PHIPOL PHIINTEN
0x28
PHICNTR Internal Clock Counter for PHI
PHICNTR[7:0]
0x29 PHICNTR[15:8]
0x2A PHIMUL PHI Multiplier - - - PHIMUL[4:0]
0x2B
PHIMAX Min GSC Pulses Over PHI Period
PHIMAX[7:0]
0x2C - - - - PHIMAX[11:8]
0x2D PWMCTRL0
PWM Control
GINT+1EN ‘1’ ALTEN OVRFLOZEN OVRFLOEN PWMGLBLEN PWMDIRECT PWMEN
0x2E PWMCTRL1 - - - - EXTALTEN
PHOVR FLOZEN
PHOVR FLOEN
PHADLYEN
0x2F UNUSED
0x30
GINT Global PWM Scaling
GINT[7:0]
0x31 - GINT[11:8]
0x32
ALTGINT Alternate Global PWM Scaling
ALTGINT[7:0]
0x33 - ALTGINT[11:8]
0x34
ISTR 9-Bit Global String Current
ISTR[7:0]
0x35 - ISTR[9:8]
0x36 PWMSTATUS PWM & Counter Status PHIMAXERRCNT[2:0] PHIMAX1FLT PHIMULFLT GSCMULFLT PHICNTRFLT GINT-MULERR
0x37 PHIPCNTR PHI Pulse Counter & Status PHICNTRMAX - - PHIMULCNTR[0:4]
0x38
GSCPCNTR GSC Pulse Counter
GSCPULSECNTR[7:0]
0x39 - - - GSCPULSECNTR[12:8]
0x3A RESERVED Reserved ‘0’ ‘0’ ‘0’
0x3B PWMMODE PWM Mode PWMMODE[1:0]
0x3C - 0x3F UNUSED
0x40
STR0SET
Phase Delay and EO Assignment
for String 0
PHDLY0[7:0]
0x41 FBOSET0[1:0] - - PHDLY0[11:8]
..thru.. …thru… …thru… …thru…
0x5E
STR15SET
Phase Delay & EO Assignment for
String 15
PHDLY15[7:0]
0x5F FBOSET15[1:0] - - PHDLY15[11:8]
0x60
PWM0
11-Bit PWM Setting
for String 0
PWM0[7:0]
0x61 - - - - PWM0[11:8]
..thru.. …thru… …thru… …thru…
0x7E
PWM15 11-Bit PWM Setting for String 15
PWM15[7:0]
0x7F - - - - PWM15[11:8]
0x80
ALTSTR0SET
Phase Delay and EO Assignment
for String 0
ALTPHDLY0[7:0]
0x81 - - - - ALTPHDLY[11:8]
..thru.. …thru… …thru…
…thru…
0x9E
ALTSTR15SET
Phase Delay and EO Assignment
for String 15
ALTPHDLY15[7:0]
0x9F - - - - ALTPHDLY[11:8]
0xA0
ALTPWM0 11-Bit PWM Setting for String 0
ALTPWM0[7:0]
0xA1 - - - - ALTPWM0[11:8]
..thru.. …thru… …thru… …thru…
0xBE
ALTPWM15 11-Bit PWM Setting for String 15
ALTPWM15[7:0]
0xBF - - - - ALTPWM15[11:8]
0xC0 E2ADDR
EEPROM Read/Write Access
- E2ADDR[6:0]
0xC1 E2CTRLSTA E2BUSY BLDACT E2ERR - - RWCTRL[2:0]