Datasheet

22 Atmel LED Drivers-MSL2160/MSL2161
Register Map and the EEPROM
Register Map Summary
Control the MSL2160/1 using the registers in the range 0x00 - 0xBF (Table 4). Two additional registers, 0xC0 and
0xC1, allow access to, and programming of, the EEPROM. The power-up default values for all control registers are stored
within the on-chip EEPROM, and any of these EEPROM values may 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 Conguration SLEEP - - - FLDBKEN STRSCDLY[2:0]
0x03 FLTEN Fault enable - - I
2
CTOEN PHIMAXFEN GSCMAXFEN STRSCFEN STROCFEN FBOOCFEN
0x04 FLTMASK0
String fault
mask
FEN7 FEN6 FEN5 FEN4 FEN3 FEN2 FEN1 FEN0
0x05 FLTMASK1 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 - 0x0E UNUSED
0x0F OSCFREQ
Oscillator
frequency
- - - - - OSCFREQ[2:0]
0x10 FBOCTRL0
Efciency
optimizer
control
HDRMSTEP[1:0] RECALDLY[1:0] SETTLE[1:0] IERRCONF[1:0]
0x11 FBOCTRL1 INCRSTEP[1:0] DECRSTEP[1:0] INITPWM ACAL100 ACALEN ICHKDIS
0x12 FBOCTRL2 - - - - FBO3OCEN FBO2OCEN FBO1OCEN FBOEN
0x13 FBODAC1* Efciency
optimizer
DAC
readback
FBODAC1[7:0]
0x14 FBODAC2* FBODAC2[7:0]
0x15 FBODAC3* FBODAC3[7:0]
0x16 FBOSTATUS*
Efciency
optimizer
status
FBO3OC FBO2OC FBO1OC FBO3ACT FBO2ACT FBO1ACT FBOCAL FBOINITCAL
0x17- 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]
Table 4. Atmel LED Drivers-MSL2160/1 Register Map