austriamicrosystems AG
is now
ams AG
The technical content of this austriamicrosystems datasheet is still valid.
Contact information:
Headquarters:
ams AG
Tobelbaderstrasse 30
8141 Unterpremstaetten, Austria
Tel: +43 (0) 3136 500 0
e-Mail:
ams_sales@ams.com
Please visit our website at
www.ams.com
D ata s hee t
AS3661
P r o g r a m m a b l e 9- ch a n n el L E D D r i ve r
1 General Description
The AS3661 is a 9-channel LED driver designed to
produce lighting effects for mobile devices. A high-
efficiency charge pump enables LED driving over full Li-
Ion battery voltage range. The device is equipped with
an internal program memory, which allows operation
without processor control. The AS3661 maintains
excellent efficiency over a wide operating range by
autonomously selecting the best charge pump gain
based on LED forward voltage requirements. AS3661 is
able to automatically enter power-save mode when LED
outputs are not active, thus lowering idle current
consumption down to 10 µA (typ).
The AS3661 has an I2C-compatible control interface
with four pin selectable addresses. Also, the device has
a flexible General Purpose Output (GPO), which can be
used as a digital control pin for other devices. INT pin
can be used to notify processor when a lighting
sequence has ended (interrupt - function). Also, the
device has a trigger input interface, which allows
synchronization between multiple devices.The device
requires only four small and low-cost ceramic
capacitors.
The AS3661 is available in a tiny WL-CSP-25
(2.285x2.285mm) 0.4mm pitch package.
2 Key Features
Built-in LED test
Figure 1. AS3661 LED Driver Block Diagram
Te
c
<:
:+
' -
'
' "
(!$
)!$ !
*"
!
' 2
' 6
'
' 7
&$"
www.austriamicrosystems.com
Revision 1.3
'=& '
hn
ic a
al m
co s
A
nt G
en
ts
til
Flexible instruction set
Large SRAM program memory
Small application circuit
Source (high side) drivers
Minimum number of external components
Architecture supports color control
Automatic power save mode; IVDD = 10 µA (typ.)
Two wire, I2C-compatible, control interface
3 Applications
The product is ideal for fun and indicator lights, LED
backlighting, and programmable current source.
0 1
23-!0
0 1
23-!0
8
9
8
9
-.0
+,
-.0
' 3
'
'
!"#$
;5 ;
%!$
""!
!" &
' 4
' 5
!#
"
!
lv
1 - 85
Charge pump with soft start and overcurrent/short
circuit protection
al
Adaptive charge pump with 1x and 1.5x gain
provides up to 95% LED drive efficiency
id
Three independent program execution engines; 9
programmable outputs with 25.5 mA full-scale
current, 8- bit current setting resolution and 12-bit
PWM control resolution
AS3661
Datasheet
Contents
1 General Description
2 Key Features
3 Applications
4 Pinout
............................................................................................................................ 1
.......................................................................................................................................1
........................................................................................................................................ 1
................................................................................................................................................... 5
...............................................................................................................................................5
4.2 Pin Description
6 Electrical Characteristics
8 Detailed Description
8.1 Programming
8.2 LED Error Detection
8.3 Energy Efficiency
................................................................................................................... 8
7 Typical Operating Characteristics
................................................................................................... 12
.........................................................................................................................14
.....................................................................................................................................14
........................................................................................................................14
...............................................................................................................................................14
.........................................................................................................................................14
.....................................................................................................................................16
8.4 Temperature Compensation
8.5 Modes of Operation
8.5.1
8.5.2
8.5.3
8.5.4
8.5.5
8.6 Charge Pump Operational Description
8.6.1
8.6.2
8.6.3
8.6.4
8.6.5
8.6.6
8.6.7
8.7 LED Driver Operational Description
8.8 I2C Compatible Control Interface
8.8.1
8.8.2
8.8.3
8.8.4
8.8.5
8.8.6
8.8.7
2
Te
c
8.9 Register Set
8.10.1
8.10.2
8.10.3
8.10.4
8.10 Control Register Details
www.austriamicrosystems.com
hn
ic a
al m
co s
A
nt G
en
ts
til
Revision 1.3
RESET .................................................................................................................................................16
STANDBY ............................................................................................................................................16
STARTUP ............................................................................................................................................16
NORMAL ..............................................................................................................................................16
POWER SAVE .....................................................................................................................................16
........................................................................................................17
Overview ..............................................................................................................................................17
Output Resistance ................................................................................................................................17
Controlling the Charge Pump ...............................................................................................................18
LED Forward Voltage Monitoring .........................................................................................................18
Gain Change Hysteresis ......................................................................................................................18
Automatic Power Save Mode ...............................................................................................................19
PWM Power Save Mode ......................................................................................................................19
.............................................................................................................20
8.7.1 Powering LEDs ....................................................................................................................................21
8.7.2 Controlling the High-side LED Drivers ..................................................................................................21
.................................................................................................................22
I C Address selection ...........................................................................................................................22
Bus Not Busy .......................................................................................................................................22
Start Data Transfer ...............................................................................................................................22
Stop Data Transfer ...............................................................................................................................22
Data Valid .............................................................................................................................................22
Acknowledge ........................................................................................................................................22
Program Downloading ..........................................................................................................................25
.................................................................................................................................................25
.............................................................................................................................35
ENABLE/ ENGINE CONTROL1 .........................................................................................................35
ENGINE CNTRL2 ..............................................................................................................................36
OUTPUT DIRECT/RATIOMETRIC MSB and LSB .............................................................................37
OUTPUT ON/OFF CONTROL MSB and LSB ....................................................................................38
lv
al
2 - 85
5 Absolute Maximum Ratings
............................................................................................................... 7
id
4.1 Pin Assignment
..............................................................................................................................................5
AS3661
Datasheet
8.11 Instruction Set
8.12.1
8.12.2
8.12.3
8.12.4
8.12.5
8.12 LED Driver Instructions
8.13 LED Mapping Instructions
Te
c
www.austriamicrosystems.com
hn
ic a
al m
co s
A
nt G
en
ts
til
Revision 1.3
8.10.5 LEDx Control ......................................................................................................................................39
8.10.6 LEDx PWM .........................................................................................................................................45
8.10.7 LEDx CURRENT CONTROL .............................................................................................................48
8.10.8 MISC ..................................................................................................................................................51
8.10.9 ENGINEx PC ......................................................................................................................................52
8.10.10 STATUS/INTERRUPT .....................................................................................................................52
8.10.11 GPO .................................................................................................................................................54
8.10.12 VARIABLE ........................................................................................................................................54
8.10.13 RESET .............................................................................................................................................54
8.10.14 TEMP ADC CONTROL .................................................................................................................55
8.10.15 TEMPERATURE READ .................................................................................................................55
8.10.16 TEMPERATURE WRITE ...............................................................................................................56
8.10.17 LED TEST CONTROL ...................................................................................................................56
8.10.18 LED TEST ADC ............................................................................................................................57
8.10.19 ENGINE1 VARIABLE A .................................................................................................................58
8.10.20 ENGINE2 VARIABLE A .................................................................................................................58
8.10.21 ENGINE3 VARIABLE A .................................................................................................................58
8.10.22 MASTER FADER1 .........................................................................................................................58
8.10.23 49 MASTER FADER2 ....................................................................................................................59
8.10.24 4A MASTER FADER3 ......................................................................................................................59
8.10.25 ENG1 PROG START ADDR ............................................................................................................59
8.10.26 ENG2 PROG START ADDR ..........................................................................................................59
8.10.27 ENG3 PROG START ADDR ..........................................................................................................59
8.10.28 PROG MEM PAGE SELECT .........................................................................................................60
8.10.29 ENG1 MAPPING MSB ...................................................................................................................60
8.10.30 71H ENG1 MAPPING LSB ..............................................................................................................60
8.10.31 ENG2 MAPPING MSB .....................................................................................................................61
8.10.32 ENG2 MAPPING LSB ......................................................................................................................61
8.10.33 ENG3 MAPPING MSB .....................................................................................................................61
8.10.34 ENG3 MAPPING LSB ....................................................................................................................62
8.10.35 GAIN CHANGE CTRL ......................................................................................................................63
............................................................................................................................................64
..............................................................................................................................67
RAMP (Numerical Operands) ............................................................................................................67
RAMP (Variables) ..............................................................................................................................68
SET PWM (Numerical Operands) ......................................................................................................69
SET PWM (Variables) ........................................................................................................................70
WAIT ..................................................................................................................................................70
..........................................................................................................................71
8.13.1 MUX_LD_START ...............................................................................................................................71
8.13.2 MUX_LD_END ...................................................................................................................................71
8.13.3 MUX_MAP_START ............................................................................................................................72
8.13.4 MUX_SEL ..........................................................................................................................................72
8.13.5 MUX_CLR ..........................................................................................................................................72
8.13.6 MUX_MAP_NEXT ..............................................................................................................................73
8.13.7 MUX_MAP_PREV ..............................................................................................................................73
8.13.8 MUX_LD_NEXT .................................................................................................................................74
8.13.9 MUX_LD_PREV .................................................................................................................................74
8.13.10 MUX_MAP_ADDR ...........................................................................................................................74
lv
al
3 - 85
id
AS3661
Datasheet
8.13.11 MUX_LD_ADDR ..............................................................................................................................74
8.14 Branch Instructions
8.14.1
8.14.2
8.14.3
8.14.4
8.14.5
8.14.6
8.14.7
8.15.1
8.15.2
8.15.3
8.15.4
8.15.5
....................................................................................................................................75
RST ....................................................................................................................................................75
BRANCH (Numerical) ........................................................................................................................75
BRANCH (Variables) ..........................................................................................................................76
INT .....................................................................................................................................................76
END ....................................................................................................................................................76
TRIGGER ...........................................................................................................................................76
JNE/JL/JGE/JE ..................................................................................................................................77
...............................................................................................................................78
9.1 Recommended External Components
10 Package Drawings and Markings
11 Ordering Information
Te
c
www.austriamicrosystems.com
hn
ic a
al m
co s
A
nt G
en
ts
til
Revision 1.3
9 Typical Application
........................................................................................................................... 81
.........................................................................................................82
.................................................................................................. 83
...................................................................................................................... 84
lv
LD .......................................................................................................................................................78
ADD (Numerical Operands) ...............................................................................................................78
ADD (Variables) .................................................................................................................................78
SUB (Numerical) ................................................................................................................................79
SUB (Variables) .................................................................................................................................79
al
4 - 85
8.15 Arithmetic Instructions
id