Datasheet
26 Atmel LED Drivers-MSL2160/MSL2161
REGISTER NAME
AND ADDRESS
POWER-UP CONDITION
REGISTERS INITIALIZED
FROM EEPROM
REGISTER DATA
D7 D6 D5 D4 D3 D2 D1 D0 HEX
0x27 PHICTRL
External signal at PHI selected for input to PWM engine
PWM engine is synchronized to the falling edge of PHI
PHI maximum count fault detect is disabled
Although disabled, PHI max count monitors f
pPHI
0 0 0 0 0 0 0 0 00
0x28
PHICNTR
Although disabled, internal PHI frequency
f
PGEN
= 20MHz / (8 * (10416 + 1)) = 240Hz
1 0 1 1 0 0 0 0 B0
0x29 0 0 1 0 1 0 0 0 28
0x2A PHIMUL PHI multiplier = 1 (register setting + 1) 0 0 0 0 0 0 0 0 00
0x2B
PHIMAX Although disabled, PHI maximum count = 4148
0 0 1 1 0 1 0 0 34
0x2C 0 0 0 1 0 0 0 0 10
0x2D PWMCTRL0
PWM operation enabled
Individual LED string drive pulse widths internally determined
PWM input does not gate the output of the PWM engine
String on times allowed to extend beyond end of PWM frame
String on times allowed to extend into frame zero
Alternate timing not used
Global intensity (GINT) disabled
Although disabled, (GINT + 1) is provided to the PWM engine
String drive phasing enabled
Delayed string turn on beginning after PWM frame allowed
Delayed turn on occurring in frame zero allowed
Alternate timing not selected by PWM input state
1 0 0 1 1 0 0 1 99
0x2E PWMCTRL1 0 0 0 0 0 1 1 1 07
0x2F GINT
Although disabled, global intensity set to (127 + 1) / 256 = 50%
(1 added in numerator because bit D7 of 0x2D = 1)
0 1 1 1 1 1 1 1 7F
0x30 ALTGINT
Although disabled, alternate global intensity set to
(95 + 1) / 256 = 37.5%
(1 added in numerator because bit D7 of 0x2D = 1)
0 1 0 1 1 1 1 1 5F
0x31 ISTR Strings current scaled to 50% of R
Sn
setting 0 1 1 1 1 1 1 1 7F
0x40
STR0SET
All strings set to zero phase delay
Strings assigned as follows:
FBO1: All strings
FBO2: None
FBO3: None
0 0 0 0 0 0 0 0 00
0x41 0 1 0 0 0 0 0 0 40
↓ ↓ ↓
0x5E
STR15SET
0 0 0 0 0 0 0 0 00
0x5F 0 1 0 0 0 0 0 0 40
0x60
PWM0
All strings have PWM t
ON
= 512 GSC cycles
0 0 0 0 0 0 0 0 00
0x61 0 0 0 0 0 0 1 0 02
↓ ↓ ↓
0x7E
PWM15
0 0 0 0 0 0 0 0 00
0x7F 0 0 0 0 0 0 1 0 02
Table 5. Atmel LED Drivers-MSL2160/1 Register Power-up Defaults