AMSCO AS3682-EA2

a u s t ri a m i c r o s y s t e m s
AS3682
D a ta S he e t
480mA Camera Lighting Management Unit
1 General Description
2 Key Features
The AS3682 is a low-noise, high-current charge pump
designed for camera flash LEDs and LCD backlighting
applications. The device is capable of driving up to
480mA of load current.
The AS3682 integrates two independent LED blocks for
driving a single flash LED (CURR11 to CURR13) with up
to 480mA, and general purpose LEDs (CURR2 to
CURR4) with up to 160mA/LED. The general purpose
LEDs are controlled individually and can be used for
backlighting, but also in support of an RGB fun-light or a
movie indicator lamp.
The AS3682 utilizes austriamicrosystems' patent-pending Intelligent Adaptive Mode Setting (IAMS) to switch
between 1:1, 1:1.5, and 1: 2 modes. In combination with
very-low-drop-out current sinks, the device achieves
high efficiency over the full single-cell Li+ battery voltage
range. The charge pump operates at a fixed frequency
of 1MHz allowing for tiny external components and its
design ensures low EMI and low input-ripple.
The ultra-flexible brightness control scheme allows for
simple adaptation of the device to different system architectures.
In Normal and Soft Flash Modes the device is controlled
by an I2C interface. In these modes the LED brightness,
flash duration, GPIOs and various charge pump states
are controlled by internal register settings. The GPIO
pins can act as programmable input or output pins and
can also be set to trigger preview and flash light directly
by a camera module.
In Hard Flash Mode, the LED brightness is controlled by
the Enable pins. Those programming pins can be used
as simple enable pins, as PWM input, again offering
ample flexibility for setting the LED brightness.
!
High-Efficiency High-Power Charge Pump
- 1:1, 1:1.5, and 1:2 Intelligent Adaptive Mode Setting (IAMS)
- Efficiency up to 95%
- Soft Start to Reduce Inrush Current
- Low-Noise Constant-Frequency Operation
!
Current Sinks
- 400mA Continuous Flash Current (@VIN = 3.2 to
5V, VOUT = 5V)
- 480mA Maximum Pulsed Flash Current
- Programmable: 0 to 160mA, 0.625mA Resolution
!
Flexible Brightness Control
- Three 0 to 160mA LEDs
- Individually Addressable via I2C Interface
!
Three Operating Modes
- Normal Mode (I2C Interface)
- Soft Flash Mode (I2C Interface)
- Dedicated Control Pins for Hard Flash Modes
!
Two General Purpose Inputs/Outputs
- Digital Input, Output, and Tristate
- Programmable Pull-Up and Pull-Down
- Strobe Pin can be used for Camera Flash Control
!
LED Disconnect in Shutdown
!
Open LED Detection
!
Low Stand-By Current (6µA), Interface Fully
Operating
!
Low Shut-Down Current (0.2µA)
!
Wide Battery Supply Range: 3.0 to 5.5V
!
Thermal Protection
!
24-Pin, Small Form-Factor QFN Package
- 4 x 4 x 0.85mm, 0.5mm Pitch
- Enhanced Thermal Characteristics
3 Applications
Lighting management for cameras, mobile telephones,
PDAs, and other 1-cell Li+ or 3-cell NiMH powered
devices.
www.austriamicrosystems.com
Revision 2.21
1 - 43
austriam i c r o systems
AS3682
Data Sheet
4 Block Diagram
Figure 1. AS3682 Block Diagram
V2_5
22
AS3682
2
Digital
Supply
RBIAS
23
Bandgap
and
Current
Reference
Charge Pump
1:1, 1:1.5, 1:2
VBAT1
6
VBAT2
5
C2_P
7
C2_N
3
C1_P
C1_N
ADR
1
24
VDD_GPIO
12
4
CP_OUT
CLK/P2
8
DATA/P1
9
13
CURR11
14
CURR12
15
CURR13
19
CURR2
20
CURR3
21
CURR4
Digital
Part
Mode
Selector
Serial
Interface
Current Source
STROBE/F2
11
GPIO0/P0
10
SFL/F1
16
T1/F0
17
HFL
18
Current Source
GND
Exposed Pad
5 Application Diagrams
Figure 2. Normal and Soft Flash Mode Application Diagram
Battery
V2_5
22
C3
1µF
RBIAS
2
VBAT1
6
VBAT2
5
C2_P
7
C2_N
ADR
3
C1_P
VDD_GPIO
Interface
Current
Sinks
C4
1µF
12
DATA/P1
9
CLK/P2
8
AS3682
4
C1_N
13
Flash LEDs
CURR11
STROBE/F2
11
GPIO0/P0
10
15
CURR13
SFL/F1
16
19
CURR2
T1/F0
17
20
CURR3
HFL
18
21
CURR4
Addressable
Strobe
Trigger
C5
1µF
CP_OUT
Flash &
Preview
Soft Flash
Mode
I2C
I 2C
3
3
Camera C6
Flash 2.2µF
LED
General Purpose
LEDs (CURR2,
CURR3, CURR4)
Block
0 to 480mA
Block
STROBE/F2 STROBE/F2
or software or software
Strobe
Preview
GPIO0/P0
or software
GPIO0/P0
or software
Current
Sinks
3
3
Current per
Sink
0 to 37.5mA 0 to 160mA
14 CURR12
Addressable
SFL Mode:
SFL/F1 = VDD_GPIO
Normal Mode:
SFL/F1 = GND
Normal
Mode
Total Current 0 to 450mA
1
24
R4
1 - 10kΩ
C1
2.2µF
23
R1
240kΩ
V2.5 = 41h
GND = 40h
Feature
Individual
Individual
Battery or
CP_OUT
GND
www.austriamicrosystems.com
Exposed Pad
Revision 2.21
2 - 43
austriam i c r o systems
AS3682
Data Sheet
Figure 3. Hard Flash Mode 1 Application Diagram
V2_5
22
RBIAS
23
2
VBAT1
6
VBAT2
Feature
Battery
Interface
C3
1µF
R1
240kΩ
ADR
C1
2.2µF
5
1
12
7
C2_N
3
C1_P
24
C1_N
Selectable
DATA/P1
9
MSB Preview
CLK/P2
8
AS3682
4
C4
1µF
10
C5
1µF
CP_OUT
11
MSB Flash
SFL/F1
Strobe Control
(Active Low)
13
CURR11
14
CURR12
15
CURR13
19
CURR2
20
CURR3
21
CURR4
Camera C6
Flash 2.2µF
LED
T1/F0
Strobe: 0 to 450mA
Preview: 0 to 400mA
Addressable
Block
Strobe Preview
By Preview Control
Pins
Current Sinks
N/A
Current per
Sink
N/A
Addressable
N/A
General Purpose
LEDs (CURR2,
CURR3, CURR4)
LSB Preview
STROBE/F2
6
Total Current
Strobe Trigger By Strobe Control Pins
Flash &
Preview
GPIO0/P0
Current Sinks
C2_P
Flash LEDs
VDD_GPIO
Preview Control
(Active Low)
Hard Flash Mode 1
Dedicated Control Pins
for Strobe (3x) &
Preview (3x)
16
17
LSB Flash
GND
Battery
HFL
18
Exposed Pad
Figure 4. Hard Flash Mode 2 Application Diagram
Feature
Battery
C3
1µF
R1
240kΩ
V2_5
22
RBIAS
23
ADR
12
DATA/P1
9
MSB Preview
CLK/P2
8
VBAT1
6
VBAT2
Interface
C1
2.2µF
1
VDD_GPIO
2
5
C2_P
7
C2_N
3
C1_P
24
C1_N
Flash LEDs
C4
1µF
Backlight Control
(Active Low)
Selectable
AS3682
10
Flash: 0 to 450mA
Addressable
Block
4
Current Sinks
General Purpose
LEDs (CURR2, Current per Sink
CURR3, CURR4)
Addressable
By Flash Control Pin
3
0 to 20/37.5mA
Block
CP_OUT
13
CURR11
14
CURR12
15
CURR13
19
CURR2
20
CURR3
21
CURR4
Camera
Flash
LED
C6
2.2µF
LSB Preview
STROBE/F2
11
MSB Flash
SFL/F1
Flash Control
(Active Low)
3
Total Current
Strobe Preview
Flash &
Preview
GPIO0/P0
Current Sinks
Strobe Trigger
C5
1µF
Hard Flash Mode 2
Dedicated Control Pins
for Flash (3x) & General
Purpose (3x)
T1/F0
16
17
LSB Flash
Battery
HFL
18
GND
Exposed Pad
www.austriamicrosystems.com
Revision 2.21
3 - 43
austriam i c r o systems
AS3682
Data Sheet
Revision History
Revision
Date
Owner
2.1
10 February 2005
ptr
- Various minor updates implemented.
2.2
16 August 2005
ptr
- Updated exposed pad size (D2 x E2).
- Updated parameter VIH max value.
- Updated parameter VIL max value.
- Added parameter VPOR_VBAT min and max values.
- Added bit Curr234_gpio0_ctrl (page 29).
- Added bit Curr234_strobe_ctrl (page 29).
- Added Fixed ID Register (Addr: 15).
2.21
6 July 2006
ptr
- Updated gpio0_pulls bit settings.
- Updated strobe_pulls bit settings.
- Updated data sheet status to public viewable.
www.austriamicrosystems.com
Description
Revision 2.21
4 - 43
austriam i c r o systems
AS3682
Data Sheet
Table of Contents
1 General Description ................................................................................................................................ 1
2 Key Features .......................................................................................................................................... 1
3 Applications ............................................................................................................................................ 1
4 Block Diagram ........................................................................................................................................ 2
5 Application Diagrams .............................................................................................................................. 2
6 Characteristics ........................................................................................................................................ 6
6.1 Absolute Maximum Ratings (Non-Operating) .................................................................................................. 6
6.2 Operating Conditions ....................................................................................................................................... 6
6.3 Electrical Characteristics ................................................................................................................................. 7
7 Typical Operation Characteristics ........................................................................................................... 9
8 Detailed Functional Descriptions .......................................................................................................... 11
8.1 Charge Pump ................................................................................................................................................ 11
8.1.1 Intelligent Adaptive Mode Switching (IAMS) ....................................................................................... 11
8.1.2 Soft Start ............................................................................................................................................. 11
8.1.3 Open LED Detection ........................................................................................................................... 11
9 Mode Settings ....................................................................................................................................... 12
10 Hard Flash Modes .............................................................................................................................. 14
10.1 Hard Flash Mode 1 ...................................................................................................................................... 15
10.2 Hard Flash Mode 2 ...................................................................................................................................... 17
11 Normal and Soft Flash Modes ............................................................................................................ 19
11.1 Current Settings in Normal Mode ................................................................................................................ 20
11.2 Current Settings in Soft Flash Mode ............................................................................................................ 23
11.3 Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode ................................ 24
11.4 Control of CURR2, CURR3, CURR4 in Normal Mode and Soft Flash Mode ................................................ 29
11.5 Charge Pump Control Registers ................................................................................................................. 30
11.6 General Purpose Inputs/Outputs ................................................................................................................. 31
11.7 Power-On Reset .......................................................................................................................................... 32
11.8 Temperature Supervision ............................................................................................................................. 32
11.9 Serial Interface ............................................................................................................................................. 33
11.9.1
11.9.2
11.9.3
11.9.4
Features ............................................................................................................................................
Device Address Selection .................................................................................................................
Data Transfer Formats ......................................................................................................................
Fixed ID Register ..............................................................................................................................
33
33
33
35
11.10 Register Map ............................................................................................................................................. 36
12 External Components ......................................................................................................................... 37
12.1 Capacitor and Resistor Selection ................................................................................................................ 37
12.2 Usage of PCB Wire Inductance ................................................................................................................... 37
12.3 External Component Specifications ............................................................................................................. 37
13 Pinout and Packaging ......................................................................................................................... 38
13.1 Hard Flash Modes Pin Descriptions .............................................................................................................. 38
13.2 Normal Mode and Soft Flash Mode Pin Descriptions .................................................................................. 39
13.3 Package Drawings and Markings ................................................................................................................ 40
14 Ordering Information ........................................................................................................................... 42
www.austriamicrosystems.com
Revision 2.21
5 - 43
austriam i c r o systems
AS3682
Data Sheet
Absolute Maximum Ratings (Non-Operating)
6 Characteristics
6.1 Absolute Maximum Ratings (Non-Operating)
Stresses beyond those listed in Table 1 may cause permanent damage to the device. These are stress ratings only,
and functional operation of the device beyond those indicated in Table 2 is not implied.
Caution: Exposure to absolute maximum rating conditions may affect device reliability.
Table 1. Absolute Maximum Ratings
Symbol
Parameter
Min
Max
Unit
Notes
VIN_MV
5V Pins
-0.3
7.0
V
Applicable for 5V pins1
VIN_LV
3.3V Pins
-0.3
5.0,
VDD_GPIO + 0.3
V
Applicable for 3.3V pins2
IIN
Input Pin Current
-25
+25
mA
At 25ºC, Norm: Jedec 17
TSTRG
Storage Temperature Range
-55
125
ºC
Humidity
5
85
%
Non condensing
VESD
Electrostatic Discharge
-1000
1000
V
Norm: MIL 883 E Method 3015
PT
Total Power Dissipation
1
W
TAMB = 70º
TBODY
Body Temperature
260
º
IPC/JEDEC J-STD-020C
Notes:
1. 5V pins are VBAT1, VBAT2, HFL, current sink pins (CURR11, CURR12, CURR13, CURR2, CURR3, and CURR4)
and the charge pump pins (C1_N, C2_N, C1_P, C2_P, and CP_OUT).
2. 3.3V pins are GPIO0/P0, STROBE/F2, interface pins (CLK/P2, DATA/P1, ADR) and all other pins.
6.2 Operating Conditions
Table 2. Operating Conditions
Symbol
Parameter
Min
Typ
Max
Unit
VBAT
Battery Voltage
3.0
3.6
5.5
V
VDD_GPIO
Periphery Supply Voltage
1.5
3.3
V
V2_5
Voltage on Pin V2_5
2.4
2.5
2.6
V
TAMB
Ambient Temperature
-30
25
85
ºC
IBAT
Operating Current
1
A
Depending on load current and charge
pump mode.
µA
Current consumption in standby mode;
Only 2.5V regulator on; temperature
supervision off.
VDD_GPIO (page 8) > VGPIO_Vdd_TH_RISING
(page 8).
Standby Mode Current
6
10.5
ISTANDBY
ISHUTDOWN
Notes
VBAT1 and VBAT2
Internally generated; Hard Flash Mode:
always on; Soft Flash Mode: always on
except in shutdown.
Standby Mode Current
including Temperature
Supervision
8
14.5
µA
Current consumption in standby mode;
Only 2.5V regulator on and temperature
supervision on.
VDD_GPIO > VGPIO_Vdd_TH_RISING.
This is also the minimum current
consumption in Hard Flash Mode.
Shutdown Mode Current
0.2
1.5
µA
Current consumption in shutdown mode;
VDD_GPIO < 0.3v.
www.austriamicrosystems.com
Revision 2.21
6 - 43
austriam i c r o systems
AS3682
Data Sheet
Electrical Characteristics
6.3 Electrical Characteristics
Table 3. Charge Pump Electrical Characteristics
Symbol
Parameter
Min
Typ
Output Voltage
Without Load
Output Limitation
Unit
V
5.6
V
5.3
VCPOUT
Output Voltage
With Load (I = 400mA)
RCP
Max
VBAT x
CP-mode
Charge Pump
Effective Resistance
Notes
Internally regulated.
3.32
1:1 Mode; VBAT = 3.5V
4.31
1:1.5 Mode; VBAT = 3.5V
5.24
1:2 Mode; VBAT = 3.5V
0.5
1:1 Mode; VBAT = 3.0V, ILOAD = 400mA
Ω
2.6
1:1.5 Mode; VBAT = 3.0V, ILOAD = 400mA
1:2 Mode; VBAT = 3.0V, ILOAD = 400mA
2.5
ICPOUT
ICP
Continuous Output Current
400
In automatic mode only; VBAT ≤ 4.2V.
mA
1:1 mode
0.1
Power Consumption
Without Load,
FCLK = 1 MHz
4.5
1:1.5 mode
mA
1:2 mode
5
Eta_1
Efficiency11
75
Eta_2
Efficiency21
65
tR
Rising Time
VORIP
Output Ripple
fCLK
Clock Frequency
%
VIN = 3.0 to 4.5V, IOUT = 100mA
82
%
VIN = 3.0 to 4.5V, IOUT = 10 to 350mA
1.0
ms
93
10
-20%
mVpp
1.0
20%
VIN = 3.0 to 4.5V,
IOUT = 350mA, CP = 2.2uF, X5R
MHz
Notes:
1. This parameter describes the efficiency of the charge pump only.
Table 4. Current Sink Electrical Characteristics
Symbol
Parameter
ICURR1x-MAX
CURR1x Maximum
Output Current
Min
Typ
Max
Unit
Normal Mode
150
ICURR1x-RES
160
mA
Hard Flash Mode
15
Normal Mode low range (I < 240mA)
mA
0.625
ICURR2,3,4-MAX
160
mA
Delta-abs
Absolute Accuracy
Normal Mode
0.625
mA
Delta-rel
Relative Accuracy
VPROTECT
Voltage Above VBAT for
Protection
VCOMPL
Voltage Compliance
0.2
V_LOW
Under-Voltage Detection
50
www.austriamicrosystems.com
+20
5
150
Soft Flash Mode
Hard Flash Mode
20
-20
Soft Flash Mode
Hard Flash Mode
2.5
CURR2,3,4 Resolution
Soft Flash Mode
Normal Mode
150
ICURR2,3,4-RES
Normal Mode high range (I > 240mA)
Hard Flash Mode
20
37.5
CURR2,3,4 Maximum
Output Current
Soft Flash Mode
150
30
CURR1x Resolution
Notes
%
All current sinks
%
VBAT + 2.0
V
ISINK >= 20mA
VBAT + 0.5
V
During normal operation
200
mV
Revision 2.21
7 - 43
austriam i c r o systems
AS3682
Data Sheet
Electrical Characteristics
Table 5. GPIO0/P0 and STROBE/F2 Electrical Characteristics
Symbol
Parameter
Min
Max
Unit
VDD_GPIO
Supply Voltage
1.5
3.3
V
VIH
High Level Input Voltage
VDD_GPIO
V
VIL
Low Level Input Voltage
0.0
0.3 x VDD_GPIO
V
VHYS
Hysteresis
0.1 x VDD_GPIO
0.4
V
ILEAK
Input Leakage Current (if
not configured as
Pullup/Pulldown)
-5
5
µA
To VDD_GPIO and VSS.
IPD
Pulldown Current
(if configured as Pulldown)
50
150
µA
To VSS.
IPU
Pullup Current
(if configured as Pullup and
in Hard Flash Modes)
20
347
µA
To VDD_GPIO (1.5 to 3.3V)
VOH
High Level Output Voltage
0.8 x VDD_GPIO
VOL
Low Level Output Voltage
IOUT
Driving Capability
CLOAD
Capacitive Load
0.7 x VDD_GPIO
1.3V
Notes
VDD_GPIO > 1.85V
VDD_GPIO < 1.85V
V
0.2 x VDD_GPIO
4
V
mA
50
VDD_GPIO = 2.8V
pF
Table 6. CLK/P2, DATA/P1, SFL/F1, and T1/F0 Electrical Characteristics
Symbol
Parameter
VDD_GPIO
Supply Voltage
Min
Max
Unit
1.5
3.3
V
VDD_GPIO
V
0.7 x VDD_GPIO
Notes
VDD_GPIO > 1.85V
VIH
High Level Input Voltage
VIL
Low Level Input Voltage
0.0
0.3 x VDD_GPIO
V
VHYS
Hysteresis
0.07 x VDD_GPIO
0.5
V
ILEAK
Input Leakage Current (in
Soft Flash and Normal
Modes)
-5
5
µA
To VDD_GPIO and VSS.
IPU
Pullup Resistor (in Hard
Flash Modes)
50k
200k
Ω
To VDD_GPIO.
1.3V
VDD_GPIO < 1.85V
Table 7. Power-On Reset Electrical Characteristics
Symbol
Parameter
VPOR_VBAT
Overall Power-On Reset
VVDD_GPIO_TH_
Reset Level for
VDD_GPIO Rising
Reset Level for
VDD_GPIO Falling
RISING
VVDD_GPIO_TH_
FALLING
Min
1.5
Typ
Max
Unit
Notes
V
Monitors voltage on pin V2_5;
power-on reset for all internal
functions.
1.3
V
Monitors voltage on VDD_GPIO; rising
level.
1.0
V
Monitors voltage on VDD_GPIO;
falling level.
2.0
2.38
Table 8. Over-Temperature Detection Electrical Characteristics
Symbol
Parameter
Min
Typ
Max
Unit
T140
ov_temp Rising Threshold
130
140
150
ºC
THYST
ov_temp Hysteresis
www.austriamicrosystems.com
5
Revision 2.21
Notes
ºC
8 - 43
austriam i c r o systems
AS3682
Data Sheet
7 Typical Operation Characteristics
Figure 5. Efficiency vs. VBAT (with 1 Flash LED, Type LumiLed PWF-1)
100
113mA Total
195mA Total
Efficiency Pled/Pbat
90
330mA Total
80
70
450mA Total
60
50
3.2
3.4
3.6
3.8
4
4.2
VBAT[V]
Figure 6. Battery Current vs. VBAT (with 1 Flash LED, Type LumiLed PWF-1)
1.0
0.9
450mA Total
0.8
IBAT[A]
0.7
0.6
330mA Total
0.5
0.4
195mA Total
0.3
0.2
112.5mA Total
0.1
0.0
3
3.2
3.4
3.6
3.8
4
4.2
VBAT[V]
Figure 7. Efficiency vs. VBAT (with 1 Flash LED, Type Osram LWW5SG LED)
150mA Total
210mATotal
300mA Total
Efficiency Pled/Pbat
90
452mA Total
80
70
60
50
3.2
3.4
3.6
3.8
4
4.2
VBAT [V]
www.austriamicrosystems.com
Revision 2.21
9 - 43
austriam i c r o systems
AS3682
Data Sheet
Figure 8. Battery Current vs. VBAT (with 1 Flash LED, Type Osram LWW5SG LED)
1000
900
452mA Total
800
IBAT [mA]
700
600
500
300mA Total
400
300
210mA Total
200
105mA Total
100
0
3
3.2
3.4
3.6
3.8
4
4.2
VBAT[V]
Figure 9. Linearity of 1 Current Sink with 10mA and 100mA Load
120
100mA
Icurrentsink [mA]
100
80
60
40
20
10mA
0
0
200
400
600
800
Vcurrentsink[mV]
www.austriamicrosystems.com
Revision 2.21
10 - 43
austriam i c r o systems
AS3682
Data Sheet
Charge Pump
8 Detailed Functional Descriptions
8.1 Charge Pump
The AS3682 charge pump uses two external flying capacitors to generate output voltages higher than the battery voltage.
The charge pump can operate in three different modes:
!
1:1 Bypass Mode
- Battery input and output are connected by a low-impedance switch
- Battery current = output current
!
1:1.5 Mode
- The output voltage is 1.5 times the battery voltage (without load)
- Battery current = 1.5 times output current
!
1:2 Mode
- The output voltage is 2 times the battery voltage (without load)
- Battery current = 2 times output current
8.1.1 Intelligent Adaptive Mode Switching (IAMS)
The integrated charge pump determines the best compromise between the required LED supply voltage (Vf) and the
lowest internal power dissipation. The AS3682 examines the voltage at each current sink and automatically switches
into a higher charge pump mode; the switch-down procedure is achieved after the AS3682 performs analog signal processing of all relevant parameters: the battery voltage, the actual charge pump voltage, the load current, and the resistance of the next charge pump mode. By predicting the efficiency of the next state, the AS3682 will accurately
determine the switching point.
8.1.2 Soft Start
An implemented soft start mechanism reduces the inrush current. Battery current is smoothed when switching the
charge pump on and also at each switching condition. This precaution reduces electromagnetic radiation significantly.
8.1.3 Open LED Detection
The voltages at the current sinks are used to determine the mode switching of the charge pump up, thus an open wire
to the LED could lead to a to high-power dissipation of the circuit.
The AS3682 scans and compares all voltages on the current sinks continuously, so that if the charge pump is already
at 1:2 mode and the required current cannot be provided, the circuit stops that current sink sensing until the next
power-on condition. Using the circuit via the I2C interface (Normal Mode and Soft Flash Mode) the system can get
information on the failing path from the GPIO_output (page 31) register.
Scanning occurs automatically upon first entering 1:2 mode.
www.austriamicrosystems.com
Revision 2.21
11 - 43
austriam i c r o systems
AS3682
Data Sheet
9 Mode Settings
The AS3682 can operate in four different application modes which can be easily selected either by external pins or will
be factory preset.
!
Normal Mode – The AS3682 is fully programmable via an I2C interface allowing for access to all control registers.
The maximum total Flash Current of 450mA can be set in 15 or 30mA steps. Preview and strobe timing can be controlled either by internal registers or by dedicated pins (STROBE/F2, GPIO0/P0) connected to the BB or a camera
module. The 3 Flash LED current sinks can only be addressed as a single block.
The three General Purpose LED current sinks can be addressed individually allowing for the realization of Backlighting, Movie Indicator LEDs or an RGB Fun Light or can be connected to the Flash LED. The maximum current
per sink is 37.5mA whereas the current can be set in 2.5mA steps per channel.
!
Soft Flash Mode – The AS3682 is fully programmable via an I2C interface allowing for access to all control registers. The maximum total Flash Current of 480mA can be set in 1.875mA steps. Preview and strobe timing can be
controlled either by internal registers or by dedicated pins (STROBE/F2, GPIO0/P0) connected to the BB or a Camera Module. The 3 Flash LED current sinks can only be addressed as a single block.
The three General Purpose LED current sinks can be addressed individually allowing for the realization of Backlighting, Movie Indicator LEDs or an RGB Fun Light or can be connected to the Flash LED. The maximum current
per sink is 160mA whereas the current can be set in 2.5mA steps per channel.
!
Hard Flash Mode 1 – All AS3682 functions are controlled by dedicated Enable Pins. Seven different current levels
can be set independently for Preview and Flash by the Preview pins (GPIO0/P0, DATA/P1, CLK/P2) and the Flash
pins (T1/F0, SFL/F1, STROBE/F2). The maximum total current is 450mA for strobe and 240mA for preview when
connecting 3 current sinks to the LED. Since Hard Flash Mode 1 addresses all 6 current sinks, higher preview and
strobe currents can be programmed, however the total absolute maximum current must not exceed 480mA.
!
Hard Flash Mode 2 – All AS3682 functions are controlled by dedicated Enable Pins. The three Flash Current sinks
(Curr11, Curr12, Curr13) act as a single block being controlled by the Flash control pins (T1/F0, SFL/F1, STROBE/
F2). The maximum total Flash current of 450mA can be adjusted in 60mA steps.
The three General Purpose LED current sinks (Curr11, Curr12, Curr13)) can be addressed independently from the
Flash LEDs by dedicated pins (GPIO0/P0, DATA/P1, CLK/P2). The current per-sink can be adjusted in 6 levels up
to 20mA per channel with a resolution of 2.5mA. A seventh level allows for a maxim of 37.5mA which can be used
www.austriamicrosystems.com
Revision 2.21
12 - 43
austriam i c r o systems
AS3682
Data Sheet
to address e.g., six white LEDs. After presetting the current with the dedicated pins the actual brightness can also
be adjusted by PWM applied to the related pins.
Note: The Hard Flash Modes are factory preset. Refer to Ordering Information on page 42.
Table 9. AS3682 Function Settings
Normal Mode
Soft Flash
Mode
I2C
I 2C
Current Sinks
3
3
6
3
Total Current
0 to 450mA
0 to 480mA
Strobe:
0 to 450mA
Preview:
0 to 400mA
Flash:
0 to 450mA
Block
Feature
Interface
Flash LEDs
Hard Flash Mode 1
Hard Flash Mode 2
Dedicated Control Dedicated Control Pins
Pins for Strobe (3x)
for Flash (3x) and
and Preview (3x)
General Purpose (3x)
Addressable
Block
Block
Block
Strobe Trigger
STROBE/F2
or software
STROBE/F2
or software
By Strobe
Control Pins
Strobe Preview
GPIO0/P0
or software
GPIO0/P0
or software
By Preview
Control Pins
General Purpose Current Sinks
LEDs (CURR2, Current per Sink
CURR3, CURR4)
Addressable
3
3
N/A
3
0 to 37.5mA
0 to 160mA
N/A
0 to 20/37.5mA
Individual
Individual
N/A
Block
By Flash Control Pin
Note: The AS3682 has been designed and qualified for the following operating conditions:
- Continuous output current of 400mA if operated in automatic switch mode at VBAT = 3.2 to 4.2V.
- Maximum Pulsed Output current: 480mA.
www.austriamicrosystems.com
Revision 2.21
13 - 43
austriam i c r o systems
AS3682
Data Sheet
Charge Pump
10 Hard Flash Modes
The Hard Flash Modes allow for simple and efficient control of the AS3682 using dedicated Enable Pins. While the
Hard Flash Mode can be selected by defined pin connections (see Table 10 Hard Flash Mode Setting by Pin Configuration) the distinction between Hard Flash Mode 1 and Hard Flash Mode 2 is set by the factory (refer to Ordering Information on page 42 for more information).
An integrated temperature sensor provides over-temperature protection for the AS3682. If the device temperature
exceeds the value of T140 (page 8), the current sources will be switched off. The device will resume operation when the
temperature drops below T140 - THYST (page 8).
!
Hard Flash Mode 1 (page 15) Allows for individual control of Strobe and Preview Signals or in other words Flash
and Torch engaging all 6 current sinks.
!
Hard Flash Mode 2 (page 17) Addresses the Flash LEDs and General Purpose LEDs independently of each other
providing the possibility to realize Flash and Backlight Functions in parallel.
Note: In both Hard Flash Modes pins STROBE/F2, SFL/F1, T1/F0, CLK/P2, DATA/P1, and GPIO0/P0 are Active-Low
(with internal pull-up resistors).
Hard Flash Modes 1 and 2 are factory preset. See Ordering Information on page 42.
Table 10. Hard Flash Mode Setting by Pin Configuration
Pin HFL
Pin SFL/F1
Mode
GND
GND
Normal Mode
GND
VDD_GPIO
Soft Flash Mode
VBAT
Don't Care
Hard Flash Mode
www.austriamicrosystems.com
Revision 2.21
14 - 43
austriam i c r o systems
AS3682
Data Sheet
Hard Flash Mode 1
10.1 Hard Flash Mode 1
Table 11. Hard Flash Mode 1 Functions
Feature
Hard Flash Mode 1
Dedicated Control Pins for Strobe
(3x) and Preview (3x)
Hard Flash Mode 2
Dedicated Control Pins for Flash
(3x) and General Purpose (3x)
Current Sinks
6
3
Total Current
Strobe: 0 to 450mA
Preview: 0 to 400mA
Flash: 0 to 450mA
Total Current Resolution
Strobe: 60mA
Preview: 30mA
Flash: 60mA
Addressable
Block
Block
Interface
Flash LEDs
General Purpose
LEDs (CURR2,
CURR3, CURR4)
Strobe Trigger
By Strobe Control Pins
Strobe Preview
By Preview Control Pins
By Flash Control Pin
Current Sinks
N/A
3
Current per Sink
N/A
0 to 20/37.5mA
Addressable
N/A
Block
Figure 10. Hard Flash Mode 1 Functional Diagram
C3
1µF
R1
240kΩ
V2_5
22
RBIAS
23
ADR
VDD_GPIO
2
VBAT1
6
VBAT2
5
C2_P
7
C2_N
3
C1_P
24
C1_N
C1
2.2µF
1
12
Selectable
DATA/P1
9
MSB Preview
CLK/P2
8
AS3682
4
Preview Control
(Active Low)
10
STROBE/F2
SFL/F1
13
CURR11
11
14
CURR12
15
CURR13
19
CURR2
20
CURR3
21
CURR4
Camera C6
Flash 2.2µF
LED
T1/F0
16
17
LSB Flash
GND
Battery
HFL
www.austriamicrosystems.com
C5
1µF
LSB Preview
MSB Flash
Strobe Control
(Active Low)
C4
1µF
CP_OUT
Flash &
Preview
GPIO0/P0
Battery
18
Exposed Pad
Revision 2.21
15 - 43
austriam i c r o systems
AS3682
Data Sheet
Hard Flash Mode 1
Figure 11. Hard Flash Mode 1 Timing Diagram
I
Strobe Current. See
Table 12 on page 16
Preview Current. See
Table 13 on page 16
t
Preview Control. See
Figure 10 on page 15
Strobe Control. See
Figure 10 on page 15
Table 12. Hard Flash Mode 1 Strobe Current
STROBE/
F2 Bit 2
SFL/F1
Bit 1
T1/F0
Bit 0
Current/
Current
Sink
CURR11
CURR12
CURR13
CURR2
CURR3
CURR4
1
1
1
0mA
0mA
0mA
0mA
0mA
0mA
0mA
1
1
0
30mA
30mA
60mA
90mA
120mA
150mA
180mA
1
0
1
50mA
50mA
100mA
150mA
200mA
250mA
300mA
1
0
0
70mA
70mA
140mA
210mA
280mA
350mA
420mA
0
1
1
90mA
90mA
180mA
270mA
360mA
450mA
540mA
0
1
0
110mA
110mA
220mA
330mA
440mA
550mA
660mA
0
0
1
130mA
130mA
260mA
390mA
520mA
650mA
780mA
0
0
0
150mA
150mA
300mA
450mA
600mA
750mA
900mA
Cumulative Active Current Sink1
Notes:
1. Do not exceed maximum current of 480mA.
Table 13. Hard Flash Mode 1 Preview Current
CLK/P2
Bit 2
DATA/P1 GPIO0/P0 Current/
Current
Bit 1
Bit 0
Sink
Cumulative Active Current Sink
CURR11
CURR12
CURR13
CURR2
CURR3
CURR4
0mA
0mA
0mA
1
1
1
0mA
0mA
0mA
0mA
1
1
0
20mA
20mA
40mA
60mA
80mA
100mA
120mA
1
0
1
30mA
30mA
60mA
90mA
120mA
150mA
180mA
1
0
0
40mA
40mA
80mA
120mA
160mA
200mA
240mA
0
1
1
50mA
50mA
100mA
150mA
200mA
250mA
300mA
0
1
0
60mA
60mA
120mA
180mA
240mA
300mA
360mA
0
0
1
70mA
70mA
140mA
210mA
280mA
350mA
420mA
0
0
0
80mA
80mA
160mA
240mA
320mA
400mA
480mA
Note: Do not exceed maximum current of 400mA in Preview Mode (continuous operation).
The AS3682 allows for the parallel connection of up to six current sinks to obtain the desired current range in Hard
Flash Mode (unused current sinks can be left open). For example, to obtain 280mA for Preview current, connect
CURR11, CURR12, CURR13, and CURR2 together and set CLK/P2 and DATA/P1 = 0 and GPIO0/P0 = 1.
www.austriamicrosystems.com
Revision 2.21
16 - 43
austriam i c r o systems
AS3682
Data Sheet
Hard Flash Mode 2
10.2 Hard Flash Mode 2
Table 14. Hard Flash Mode 2 Functions
Feature
Hard Flash Mode 1
Dedicated Control Pins for Strobe
(3x) and Preview (3x)
Interface
Addressable
Strobe Trigger
By Strobe Control Pins
Strobe Preview
By Preview Control Pins
Current Sinks
N/A
3
Current per Sink
N/A
0 to 20/37.5mA
Addressable
N/A
Block
Total Current
General Purpose
LEDs (CURR2,
CURR3, CURR4)
Dedicated Control Pins for Flash
(3x) and General Purpose (3x)
6
Strobe: 0 to 450mA
Preview: 0 to 400mA
Strobe: 60mA
Preview: 30mA
Block
Current Sinks
Flash LEDs
Hard Flash Mode 2
Total Current Resolution
3
Flash: 0 to 450mA
Flash: 60mA
Block
By Flash Control Pin
Figure 12. Hard Flash Mode 2 Functional Diagram
Battery
C3
1µF
R1
240kΩ
V2_5
22
RBIAS
23
ADR
12
DATA/P1
9
MSB Preview
CLK/P2
8
VBAT1
6
VBAT2
5
C2_P
7
C2_N
3
C1_P
24
C1_N
C1
2.2µF
1
VDD_GPIO
2
AS3682
4
C4
1µF
C5
1µF
CP_OUT
Flash &
Preview
Backlight Control
(Active Low)
Selectable
GPIO0/P0
10
CURR11
14
CURR12
15
CURR13
19
CURR2
20
CURR3
21
CURR4
C6
2.2µF
LSB Preview
STROBE/F2
11
MSB Flash
Flash Control
(Active Low)
13
Camera
Flash
LED
SFL/F1
16
T1/F0
17
LSB Flash
Battery
HFL
18
GND
Exposed Pad
www.austriamicrosystems.com
Revision 2.21
17 - 43
austriam i c r o systems
AS3682
Data Sheet
Figure 13. Hard Flash Mode 2 Timing Diagram
I
Strobe Current. See
Table 15 on page 18
t
Flash Control. See
Figure 12 on page 17
Backlight Current. See
Table 16 on page 18
t
Backlight Control. See
Figure 12 on page 17
Table 15. Hard Flash Mode 2 Strobe Current
Current/
Current Sink
Cumulative Active Current Sink
(CURR11, CURR12, CURR13)
STROBE/F2
Bit 2
SFL/F1
Bit 1
T1/F0
Bit 0
1
1
1
0mA
0mA
0mA
0mA
1
1
0
30mA
30mA
60mA
90mA
1
0
1
50mA
50mA
100mA
150mA
1
0
0
70mA
70mA
140mA
210mA
0
1
1
90mA
90mA
180mA
270mA
0
1
0
110mA
110mA
220mA
330mA
0
0
1
130mA
130mA
260mA
390mA
0
0
0
150mA
150mA
300mA
450mA
11
12
13
The AS3682 allows for the parallel connection of up to three current sinks in Hard Flash Mode to obtain the desired
current range for the strobe current (unused current sinks can be left open).
Table 16. Hard Flash Mode 2 Backlight Current
CLK/P2
Bit 2
DATA/P1
Bit 1
GPIO0/P0
Bit 0
Current/Current Sink
(CURR2, CURR3, CURR4)
1
1
1
0mA
1
1
0
5mA
1
0
1
7mA
1
0
0
10mA
0
1
1
12mA
0
1
0
15mA
0
0
1
17mA
0
0
0
37mA
www.austriamicrosystems.com
Revision 2.21
18 - 43
austriam i c r o systems
AS3682
Data Sheet
Hard Flash Mode 2
11 Normal and Soft Flash Modes
Table 17. Normal and Soft Flash Mode Settings
Pin HFL
Pin SFL/F1
Mode
GND
GND
Normal Mode
GND
VDD_GPIO
Soft Flash Mode
VBAT
Don't Care
Hard Flash Mode
Table 18. Normal Mode and Soft Flash Mode Functions
Feature
Normal Mode
Soft Flash Mode
I2C
I2C
Interface
Current Sinks
3
3
Total Current
0 to 450mA
0 to 480mA
Total Current Resolution
4-Bit: 15/30mA
8-Bit: 1.875mA
Addressable
Block
Block
Strobe Trigger
Pin STROBE/F2 (active high)
or software
Pin STROBE/F2 (active low)
or software
Strobe Preview
Pin GPIO0/P0 (active high)
or software
Pin GPIO0/P0 (active low)
or software
Current Sinks
3
3
Flash LEDs
General Purpose
LEDs (CURR2,
CURR3, CURR4)
Current per Sink
0 to 37.5mA
0 to 160mA
Current Resolution per Sink
4-Bit: 2.5mA
8-Bit: 0.625mA
Addressable
Individual
Individual
Figure 14. Normal Mode and Soft Flash Mode Functional Diagram
Battery
V2_5
22
RBIAS
23
C3
1µF
2
VBAT1
6
VBAT2
5
C2_P
7
C2_N
3
C1_P
24
C1_N
R1
240kΩ
ADR
V2.5 = 41h
GND = 40h
VDD_GPIO
R4
1 - 10kΩ
C4
1µF
1
12
DATA/P1
9
CLK/P2
8
AS3682
4
Flash &
Preview
13
C5
1µF
CP_OUT
CURR11
STROBE/F2
11
GPIO0/P0
10
15
CURR13
SFL/F1
16
19
CURR2
T1/F0
17
20
CURR3
HFL
18
21
CURR4
SFL Mode:
SFL/F1 = VDD_GPIO
Normal Mode:
SFL/F1 = GND
C1
2.2µF
Camera C6
Flash 2.2µF
LED
14 CURR12
Battery or
CP_OUT
GND
www.austriamicrosystems.com
Revision 2.21
Exposed Pad
19 - 43
austriam i c r o systems
AS3682
Data Sheet
Current Settings in Normal Mode
11.1 Current Settings in Normal Mode
Table 19. Current Sink_1x Preview Current Definition Register
Current1_preview
This register sets the current values of the current sinks used during preview.
Bit Name Default
Access Description
curr_hp
Used with bits current1_preview.
0
R/W
N/A
curr_hp = 0
MSB (Bit 7)
LSB (Bit 4)
mA
0
0
0
0
0
0
0
0
1
15
0
0
1
0
30
0
0
1
1
45
0
1
0
0
60
0
1
0
1
75
0
1
1
0
90
current1_
0
R/W
preview
0
1
1
1
105
1
0
0
0
120
1
0
0
1
135
1
0
1
0
150
1
0
1
1
165
1
1
0
0
180
1
1
0
1
195
1
1
1
0
210
1
1
1
1
225
Addr: 01
Bit
0
3:1
7:4
curr_hp = 1
mA
0
30
60
90
120
150
180
210
240
270
300
330
360
390
420
450
Table 20. Current Sink_1x Strobe Current Definition Register
Addr: 02
Bit
0
3:1
7:4
Bit Name
curr_hs
N/A
current1_strobe
Current1_strobe
This register sets the current values of the current sinks used during strobe.
Default Access Description
0
R/W Used with bits current1_strobe.
0
www.austriamicrosystems.com
R/W
MSB (Bit 7)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
Revision 2.21
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
LSB (Bit 4)
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
curr_hs = 0
mA
0
15
30
45
60
75
90
105
120
135
150
165
180
195
210
225
curr_hs = 1
mA
0
30
60
90
120
150
180
210
240
270
300
330
360
390
420
450
20 - 43
austriam i c r o systems
AS3682
Data Sheet
Current Settings in Normal Mode
Table 21. Current Sink2,3,4 Control Registers
Current2
This register sets the current values of the CURR2. Any value not equal 0 activates the sink.
Addr: 06
Bit
Bit Name
3:0
Current2
7:4
N/A
Default
0h
Access
R/W
Description
MSB (Bit 3)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
LSB (Bit 0)
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
Current3
This register sets the current values of CURR3. Any value not equal 0 activates the sink.
Bit Name
Default
Access
Description
MSB (Bit 3)
LSB (Bit 0)
0
0
0
0
0
0
0
1
0
0
1
0
0
0
1
1
0
1
0
0
0
1
0
1
0
1
1
0
Current3
R/W
0h
0
1
1
1
1
0
0
0
1
0
0
1
1
0
1
0
1
0
1
1
1
1
0
0
1
1
0
1
1
1
1
0
1
1
1
1
N/A
mA
0.0
2.5
5.0
7.5
10.0
12.5
15.0
17.5
20.0
22.5
25.0
27.7
30.0
32.5
35.0
37.5
Addr: 07
Bit
3:0
7:4
www.austriamicrosystems.com
Revision 2.21
mA
0.0
2.5
5.0
7.5
10.0
12.5
15.0
17.5
20.0
22.5
25.0
27.7
30.0
32.5
35.0
37.5
21 - 43
austriam i c r o systems
AS3682
Data Sheet
Current4
This register sets the current values of CURR4. Any value not equal 0 activates the sink.
Addr: 08
Bit
Current Settings in Normal Mode
Bit Name
3:0
Current4
7:4
N/A
Default
0h
www.austriamicrosystems.com
Access
R/W
Description
MSB (Bit 3)
0
0
0
0
0
0
0
0
1
1
1
1
1
1
1
1
Revision 2.21
0
0
0
0
1
1
1
1
0
0
0
0
1
1
1
1
0
0
1
1
0
0
1
1
0
0
1
1
0
0
1
1
LSB (Bit 0)
0
1
0
1
0
1
0
1
0
1
0
1
0
1
0
1
mA
0.0
2.5
5.0
7.5
10.0
12.5
15.0
17.5
20.0
22.5
25.0
27.7
30.0
32.5
35.0
37.5
22 - 43
austriam i c r o systems
AS3682
Data Sheet
Current Settings in Soft Flash Mode
11.2 Current Settings in Soft Flash Mode
Table 22. Current Sink_1x Preview Current Definition Register
Current1_preview
This register sets the current values of the current sinks CURR1x used during preview.
Bit Name
Default
Access
Description
00h = 0mA
current1_preview
0
R/W
FFh = 160mA per current sink
Addr: 01
Bit
7:0
Table 23. Current Sink_1x Strobe Current Definition Register
Addr: 02
Bit
Bit Name
7:0
current1_strobe
Current1_strobe
This register sets the current values of the current sinks CURR1x used during strobe.
Default
Access
Description
00h = 0mA
0
R/W
FFh = 160mA per current sink
Table 24. Current Sink_2 Control Register
Current2
Addr: 06
Bit
Bit Name
7:0
current2
This register sets the current values of current sink CURR2. Any value ≠ 0 activates the
sink. Exceptions are Curr234_gpio0_ctrl (page 29) and Curr234_strobe_ctrl (page 29).
Default
Access
Description
00h = 0mA
0
R/W
FFh =160mA
Table 25. Current Sink_3 Control Register
Addr: 07
Bit
Bit Name
7:0
current3
Current3
This register sets the current values of current sink CURR3. Any value not-equal 0
activates the sink. Exceptions are Curr234_gpio0_ctrl (page 29) and
Curr234_strobe_ctrl (page 29).
Default
Access
Description
00h = 0mA
0
R/W
FFh = 160mA
Table 26. Current Sink_4 Control Register
Addr: 08
Bit
Bit Name
7:0
current4
Current4
This register sets the current values of current sink CURR4. Any value not-equal 0
activates the sink. Exceptions are Curr234_gpio0_ctrl (page 29) and
Curr234_strobe_ctrl (page 29).
Default
Access
Description
00h = 0mA
0
R/W
FFh = 160mA
Caution: The total current of the charge pump (480mA) must not be exceeded.
www.austriamicrosystems.com
Revision 2.21
23 - 43
austriam i c r o systems
AS3682
Data Sheet
Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode
11.3 Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash
Mode
Connecting the Current Sinks
The load of current sinks CURR11, CURR12, and CURR13 must be connected to the charge pump output (CP_OUT).
Setting the Current Values
Current sinks CURR11, CURR12, and CURR13 are all programmed by the same register settings (registers
current1_preview (page 20) and Current1_strobe (page 20)). They should be connected in parallel (pins CURR11,
CURR12, and CURR13 must be connected externally) to increase the driving capability, e.g., for a photo camera flash
LED.
The current defined in these registers (current1_preview and Current1_strobe) is the total current, which means each
current sink contributes one-third of the preset current value.
Turning the Current Sinks On/Off in Preview Mode
The current sinks in preview mode are controlled programmatically by bit preview_on (page 25) or by pin GPIO0/P0. Bit
preview_on defines which sink is selected.
Turning the Current Sinks On/Off in Strobe Mode
The current sinks in strobe mode are controlled by pin STROBE/F2. This signal is called STROBE_SIGNAL. The duration
of the strobe current is dependent on the following parameters:
!
In Mode 1 (selected by bit Strobe_mode (page 25)) the strobe current is started by the rising edge of the
STROBE_SIGNAL. The duration of the strobe current is defined by the value in register Strobe_mode1 (page 25) only.
The minimum duration of the strobe current is 100ms, the maximum is 800ms.
!
In Mode 2 (selected by bit Strobe_mode (page 25)) the strobe current is started by the rising edge of the
STROBE_SIGNAL. The duration of the strobe current is dependent on the length of the STROBE_SIGNAL and the value in
register Strobe_mode2 (page 26).
If register Strobe_mode2 setting = 000 to 111, strobe current stops with the falling edge of STROBE_SIGNAL but is limited to the value defined in the register (100ms to 800ms).
!
In Mode 3 (selected by bit Strobe_mode (page 25)) the strobe current is started by the rising edge of the
STROBE_SIGNAL and it stops with the falling edge of the STROBE_SIGNAL. In Mode 3 there is no limitation of the strobe
time.
Table 27. Current Sink_1x Control Register
Addr: 00
Bit
0
Bit Name
cp_led_on
1
curr11_on
2
curr12_on
3
curr13_on
7:4
N/A
Powerdown_control
This register switches the charge pump and current sinks 1x on and off.
Default
Access
Description
See cp_led_on (page 30).
CURR11 enable/disable signal.
0 = Switch CURR11 off.
0
R/W
1 = Switch CURR11 on.
CURR12 enable/disable signal.
0 = Switch CURR12 off.
0
R/W
1 = Switch CURR12 on.
CURR13 enable/disable signal.
0 = Switch CURR13 off.
0
R/W
1 = Switch CURR13 on.
www.austriamicrosystems.com
Revision 2.21
24 - 43
austriam i c r o systems
AS3682
Data Sheet
Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode
Table 28. Current Sink_1x Mode and Control Registers
Addr: 03
Bit
Bit Name
1:0
Strobe_mode
3:2
N/A
Current1_control
This register controls the function of the current sinks.
Default
Access
Description
00 = Strobe mode 1 is selected. The strobe time is defined by
the value in register Strobe_mode1 (page 25) the maximum
strobe time is limited to 800ms.
01 = Strobe mode 2 is selected. The strobe time is defined by
the pulse length of the STROBE_SIGNAL and in addition it is
01b
R/W
affected by the setting of register Strobe_mode2 (page 26).
1x = Strobe mode 3 is selected. The strobe time is defined by
the pulse length of STROBE_SIGNAL. The maximum strobe time
is unlimited.
4
preview_on
0
R/W
5
preview_ctrl
0
R/W
6
strobe_on
0
R/W
7
xstrobe_ctrl
0
R/W
Addr: 04
Bit
Bit Name
2:0
Strobe_mode
7:3
N/A
www.austriamicrosystems.com
0 = Current of current sinks is 0mA.
1 = Current of current sinks is defined by register
current1_preview. If preview is controlled via pin GPIO0/P0
(see bit preview_ctrl), this bit has no effect.
0 = Preview mode is controlled by bit preview_on (page 25).
1 = Preview mode is controlled by pin GPIO0/P0.
0 = Current of current sinks is 0mA.
1 = Current of current sinks is defined by register
Current1_strobe (page 20). If preview mode is controlled via
pin STROBE/F2 (see bit xstrobe_ctrl), this bit has no effect
0 = Strobe mode is controlled by pin STROBE/F2.
1 = Strobe mode is controlled by bit strobe_on (page 25).
Strobe_mode1
This register sets the strobe time in mode 1.
Default
Access
Description
000 = TS is equal to 100ms.
001 = TS is equal to 200ms.
010 = TS is equal to 300ms.
011 = TS is equal to 400ms.
001b
R/W
100 = TS is equal to 500ms.
101 = TS is equal to 600ms.
110 = TS is equal to 700ms.
111 = TS is equal to 800ms.
Revision 2.21
25 - 43
austriam i c r o systems
AS3682
Data Sheet
Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode
Addr: 05
Bit
Bit Name
2:0
Mode2
7:3
N/A
Strobe_mode2
This register sets the strobe time in mode 2.
Default
Access Description
000 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL. ≤ 100ms.
000 = TS is equal to 100ms is T_STROBE_SIGNAL ≥ 100ms.
001 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 200ms.
001 = TS is equal to 200ms if T_STROBE_SIGNAL ≥ 200ms.
010 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 300ms.
010 = TS is equal to 300ms if T_STROBE_SIGNAL ≥ 300ms.
011= TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 400ms.
011 = TS is equal to 400ms if T_STROBE_SIGNAL ≥ 400ms.
111
R/W
100 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 500ms.
100 = TS is equal to 500ms if T_STROBE_SIGNAL ≥ 500ms.
101 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 600ms.
101 = TS is equal to 600ms if T_STROBE_SIGNAL ≥ 600ms.
110 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 700ms.
110 = TS is equal to 700ms if T_STROBE_SIGNAL ≥ 700ms.
111 = TS is equal to TSTROBE_SIGNAL if T_STROBE_SIGNAL ≤ 800ms.
111 = TS is equal to 800ms if T_STROBE_SIGNAL ≥ 800ms.
Table 29. Current Sink_1x Undervoltage Indication Register
Curr_voltage_control
This register indicates if the voltage at any current sink has dropped below a predefined
value. If the charge pump is operating in automatic-mode (default), the contents of this
Addr: 0F
register can be disregarded. The voltages at current sinks 1x are used for automatic
mode selection of the charge pump. The voltages at current sinks 2, 3, and 4 can be
optionally used for automatic mode selection of the charge pump (see register
Curr234_ctrl (page 29)).
Bit
Bit Name
Default
Access
Description
0 = Normal operation.
curr11_low_voltage
0
N/A
R
1 = Undervoltage occurred.
0 = Normal operation.
curr12_low_voltage
1
N/A
R
1 = Undervoltage occurred.
0 = Normal operation.
curr13_low_voltage
2
N/A
R
1 = Undervoltage occurred.
Curr2_low_voltage
See Curr2_low_voltage (page 29).
3
N/A
R
Curr3_low_voltage
See Curr3_low_voltage (page 29).
4
N/A
R
Curr4_low_voltage
See Curr4_low_voltage (page 29).
5
N/A
R
cp_status
See cp_status (page 30).
7:6
N/A
R
www.austriamicrosystems.com
Revision 2.21
26 - 43
austriam i c r o systems
AS3682
Data Sheet
Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode
Figure 15. Preview and Strobe Timing – Mode 1
I
Normal Mode: See Register
Current1_strobe (page 20).
Soft Flash Mode: See Register
Current1_strobe (page 23).
Normal Mode: See Register
Current1_preview (page 20).
Soft Flash Mode: See Register
Current1_preview (page 23).
t
TS
Bit preview_on (page 25)
or Pin GPIO0/P0
Normal Mode
Bit strobe_on (page 25)
or Pin STROBE/F2
TSTROBE_SIGNAL
TS
TSTROBE_SIGNAL
Bit preview_on (page 25)
or Pin GPIO0/P0
Soft Flash Mode
Bit strobe_on (page 25)
or Pin STROBE/F2
Maximum Strobe Time is 800ms
Strobe Time (TS) is Controlled by
Register Strobe_mode1 (page 25)
TSTROBE_SIGNAL
TS
TSTROBE_SIGNAL
TS
Figure 16. Preview and Strobe Timing – Mode 2
Normal Mode: See Register
Current1_strobe (page 20).
Soft Flash Mode: See Register
Current1_strobe (page 23).
I
Normal Mode: See Register
Current1_preview (page 20).
Soft Flash Mode: See Register
Current1_preview (page 23).
t
Bit preview_on (page 25)
or Pin GPIO0/P0
Normal Mode
Bit strobe_on (page 25)
or Pin STROBE/F2
TS
TS
TSTROBE_SIGNAL
Bit preview_on (page 25)
or Pin GPIO0/P0
Soft Flash Mode
Bit strobe_on (page 25)
or Pin STROBE/F2
Maximum Strobe Time is 800ms
Strobe Time (TS) is Controlled by
Register Strobe_mode2 (page 26)
www.austriamicrosystems.com
TS
TS
Revision 2.21
TSTROBE_SIGNAL
27 - 43
austriam i c r o systems
AS3682
Data Sheet
Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode
Figure 17. Preview and Strobe Timing – Mode 3
Normal Mode: See Register
Current1_strobe (page 20).
Soft Flash Mode: See Register Current1_strobe (page 23).
I
Normal Mode: See Register
Current1_preview (page 20).
Soft Flash Mode: See Register
Current1_preview (page 23).
t
Bit preview_on (page 25)
or Pin GPIO0/P0
Normal Mode
Bit strobe_on (page 25)
or Pin STROBE/F2
TS =
TSTROBE_SIGNAL
TS =
TSTROBE_SIGNAL
Bit preview_on (page 25)
or Pin GPIO0/P0
Soft Flash Mode
Bit strobe_on (page 25)
or Pin STROBE/F2
TS =
TSTROBE_SIGNAL
TS =
TSTROBE_SIGNAL
Maximum Strobe Time is Unlimited
www.austriamicrosystems.com
Revision 2.21
28 - 43
austriam i c r o systems
AS3682
Data Sheet
Control of CURR2, CURR3, CURR4 in Normal Mode and Soft Flash Mode
11.4 Control of CURR2, CURR3, CURR4 in Normal Mode and Soft Flash Mode
CURR2, CURR3, and CURR4 are independent current sinks. The current value is determined by registers
Current2 (page 21), Current3 (page 21), and Current4 (page 22).
Any value other than zero will start the current sink. To stop the current, the register value must be set to zero.
Note: Unused current sinks should be left open and any associated register values must be set to 0mA.
Table 30. Current Sink2,3,4 Undervoltage Indication Registers
Addr: 0F
Bit
Bit Name
0 curr11_low_voltage
1 curr12_low_voltage
2 Curr13_low_voltage
3
Curr2_low_voltage
4
Curr3_low_voltage
5
Curr4_low_voltage
7:6
cp_status
Addr: 09
Bit
Bit Name
0
Curr2_onCP
1
Curr3_onCP
2
Curr4_onCP
3
Curr234_gpio0_ctrl
6:4
N/A
7
Curr_voltage_control
This register indicates if the voltage at any current sink has dropped below a predefined
value. If the charge pump is operating in automatic-mode (default), the contents of this
register can be disregarded. The voltages at current sinks 1x are used for automatic mode
selection of the charge pump. The voltages at current sinks 2, 3, and 4 can be optionally
used for automatic mode selection of the charge pump (see register Curr234_ctrl (page
29)).
Default
Access
Description
See curr11_low_voltage (page 26).
N/A
R
See curr12_low_voltage (page 26).
N/A
R
See curr12_low_voltage (page 26).
N/A
R
0 = Normal operation.
N/A
R
1 = Undervoltage occurred.
0 = Normal operation.
N/A
R
1 = Undervoltage occurred.
0 = Normal operation.
N/A
R
1 = Undervoltage occurred.
See cp_status (page 30).
N/A
R
Curr234_ctrl
This register defines wether the load of the current sink is connected to pin VBAT or to pin
CP_OUT. If the load of the current sink is connected to CP_OUT, that current sink will
contribute to the charge pump mode-selection algorithm.
Default
Access Description
0 = The output of the current sink will not be used for automatic
mode selection of the charge pump.
0
R/W
1 = The output of the current sink is used for automatic mode
selection of the charge pump.
0 = The output of the current sink will not be used for automatic
mode selection of the charge pump.
0
R/W
1 = The output of the current sink is used for automatic mode
selection of the charge pump.
0 = The output of the current sink will not be used for automatic
mode selection of the charge pump.
0
R/W
1 = The output of the current sink is used for automatic mode
selection of the charge pump.
0 = Curr2, Curr3, and Curr4 are switched on/off directly by
registers Current2 (page 23), Current3 (page 23), and
Current4 (page 23).
0
R/W
1 = Curr2, Curr3, Curr4 are switched on/off by pin GPIO0/P0 (set
bit preview_ctrl (page 25) = 1 and bit Curr234_strobe_ctrl = 0.
Curr234_strobe_ctrl
www.austriamicrosystems.com
0
R/W
0 = Curr2, Curr3, and Curr4 are switched on/off directly by
registers Current2 (page 23), Current3 (page 23), and
Current4 (page 23).
1 = Curr2, Curr3, Curr4 are controlled by Strobe mode (enable at
least one of curr11_on (page 24), curr12_on (page 24), or
curr13_on (page 24).
Revision 2.21
29 - 43
austriam i c r o systems
AS3682
Data Sheet
Charge Pump Control Registers
11.5 Charge Pump Control Registers
Addr: 00
Bit
Bit Name
0
cp_led_on
1
2
3
7:4
curr11_on
curr12_on
curr13_on
N/A
Addr: 0D
Bit
Bit Name
0
cp_clk
1
cp_man
3:2
cp_mode
4
5:7
cp_mode2
N/A
Powerdown_control
This register switches the charge pump and current sinks_1x on and off.
Default
Access
Description
Charge pump enable/disable.
0
R/W
0 = Switches the charge pump off.
1 = Switches the charge pump on.
See curr11_on (page 24).
See curr12_on (page 24).
See curr13_on (page 24).
CP_control
This register sets the charge pump mode and reads the current charge pump mode.
Default
Access
Description
Charge pump clock frequency selection.
0
R/W
0 = 1MHz
1 = 500 kHz
Charge pump mode control.
0
R/W
0 = Automatic mode.
1 = Manual mode.
Charge pump mode selection.
01 = N/A
01 = Charge pump mode 1:1.
00b
R/W
10 = Charge pump mode 1:1.5.
11 = Charge pump mode 1:2.
0
R/W
Used for test purposes only.
Curr_voltage_control
This register indicates if the voltage at any current sink has dropped below a predefined
value. If the charge pump is operating in automatic-mode (default), the contents of this
Addr: 0F
register can be disregarded. The voltages at current sinks 1x are used for automatic
mode selection of the charge pump. The voltages at current sinks 2, 3, and 4 can be
optionally used for automatic mode selection of the charge pump (see register
Curr234_ctrl (page 29)).
Bit
Bit Name
Default
Access
Description
curr11_low_voltage
See curr11_low_voltage (page 26).
0
N/A
R
curr12_low_voltage
See curr12_low_voltage (page 26).
1
N/A
R
See curr13_low_voltage (page 26).
2 Curr13_low_voltage
N/A
R
Curr2_low_voltage
See Curr2_low_voltage (page 29).
3
N/A
R
Curr3_low_voltage
See Curr3_low_voltage (page 29).
4
N/A
R
Curr4_low_voltage
See Curr4_low_voltage (page 29).
5
N/A
R
01 = Charge pump mode 1:1.
cp_status
10 = Charge pump mode 1:1.5.
7:6
N/A
R
11 = Charge pump mode 1:2.
www.austriamicrosystems.com
Revision 2.21
30 - 43
austriam i c r o systems
AS3682
Data Sheet
General Purpose Inputs/Outputs
11.6 General Purpose Inputs/Outputs
The general purpose input/output pins (GPIO0/P0, STROBE/F2) are highly configurable and can be used for the following functionality:
!
Digital Schmidt-Trigger Input
!
Digital Output with 4mA Driving Capability at 2.8V Supply (VDD_GPIO)
!
Tristate Output
!
Current Selection for CURR1x
The default mode for pins GPIO0/P0 and STROBE/F2 is input (pull-down for normal mode and pull-up for soft flash or
hard flash modes).
Note:
Each general purpose pin is independent of the other general purpose pin.
Table 31. GPIO Registers
Addr: 0A
Bit
Bit Name
1:0
gpio0_mode
3:2
gpio0_pulls
5:4
strobe_mode
7:6
strobe_pulls
Addr: 0B
Bit
Bit Name
0
gpio0_out
1
strobe_out
2:7
N/A
Addr: 0C
Bit
0
1
Bit Name
gpio0_in
strobe_in
GPIO_control
This register controls pins GPIO0/P0 and STROBE/F2.
Default
Access
Description
Defines the direction for pin GPIO0/P0.
00 = Input only.
01 = Output (push and pull).
00b
R/W
10 = Output (open drain, only NMOS is active).
11 = Output (open drain, only PMOS is active).
Adds pullup/pulldown functionality to pin GPIO0/P0.
01b Normal
00 = None
Mode
01 = Pulldown
R/W
10b Soft Flash
10 = Pullup
Mode
11 = Analog input (for test purposes only).
Defines the direction for pin STROBE/F2.
00 = Input only.
01 = Output (push and pull).
00b
R/W
10 = Output (open drain, only NMOS is active).
11 = Output (open drain, only PMOS is active).
Adds pullup/pulldown functionality to pin STROBE/F2.
01b Normal
00 = None
Mode
01 = Pulldown
R/W
10b Soft Flash
10 = Pullup
Mode
11 = Analog input (for test purposes only)
GPIO_output
This register selects internal signals to be switched to pins GPIO0/P0 and STROBE/F2
(if selected as output).
Default
Access
Description
In normal mode, if pin GPIO0/P0 is set to output, this bit is
0
R/W
transferred to that output.
In normal mode, if pin STROBE/F2 is set to output, this bit
0
R/W
is transferred to that output.
GPIO_input
This register reads the signals at pins GPIO0/P0 and STROBE/F2 (if selected as input).
Default
Access
Description
N/A
R
N/A
R
www.austriamicrosystems.com
Revision 2.21
31 - 43
austriam i c r o systems
AS3682
Data Sheet
Power-On Reset
11.7 Power-On Reset
The internal reset is controlled by two inputs:
!
VBAT1 Supply
!
VDD_GPIO
If either of these voltages is lower than their limit, an internal reset is forced.
The reset levels control the state of all registers. As long as VBAT and VDD_GPIO are below their reset thresholds, the
register contents are set to default.
Access by serial interface is possible once the reset thresholds are exceeded.
Table 32. Reset Control
Reset Control
Register State (All Registers)
VBAT < VPOR_VBAT and VVDD_GPIO < VGPIO_VDD_TH
Undefined
VBAT < VPOR_VBAT and VVDD_GPIO > VGPIO_VDD_TH
Undefined
VBAT > VPOR_VBAT and VVDD_GPIO < VGPIO_VDD_TH
Default
VBAT > VPOR_VBAT and VVDD_GPIO > VGPIO_VDD_TH
Default
Access by serial interface possible.
Note: VVDD_GPIO_TH – Use rising or falling threshold levels, depending on the slope of VDD_GPIO (power up/power
down).
11.8 Temperature Supervision
An integrated temperature sensor provides over-temperature protection for the AS3682. This sensor generates a flag
if the device temperature reaches the over-temperature threshold (T140 page 8). The threshold has a hysteresis
(T140 page 8) to prevent oscillation effects.
If the device temperature exceeds the T140 threshold, the current sources are switched off, and bit ov_temp in register
Overtemp_control (page 32) is set to 1.
After decreasing the temperature by THYST, the current sources resume operation.
The ov_temp flag will only be reset (by the circuit when the temperature has reached operating condition again) after
the software has written a 1 and then a 0 to bit rst_ov_temp (page 32).
Bit ov_temp_on activates temperature supervision.
Table 33. Overtemperature Bit Definitions
Addr: 0E
Bit
Bit Name
0
ov_temp_on
1
ov_temp
2
rst_ov_temp
7:3
N/A
Overtemp_control
This register reads and resets the overtemperature flag.
Default
Access
Description
Activates/deactivates device temperature supervision.
0 = Temperature supervision is disabled. No current source
will be switched off if the device temperature exceeds the
1
R/W
over-temperature rising threshold (T140).
1 = Temperature supervision is enabled.
1 = Indicates that the over-temperature rising threshold
(T140) has been reached. To clear this flag, it is mandatory
NA
R
to use bit rst_ov_temp. Bit ov_temp is only active if
temperature supervision is activated.
The ov_temp flag is cleared by first setting this bit to 1, and
then setting this bit to 0. Bit rst_ov_temp is only active if
NA
R/W
temperature supervision is activated.
www.austriamicrosystems.com
Revision 2.21
32 - 43
austriam i c r o systems
AS3682
Data Sheet
Serial Interface
11.9 Serial Interface
The AS3682 is controlled by serial interface pins DATA/P1 and CLK/P2.
11.9.1 Features
!
Fast Mode Capability (Maximum Clock Frequency is 400 kHz)
!
7-Bit Addressing Mode
!
4 x 8-Bit Read/Write Data Registers (Word Address 0x0 to 0x3)
!
Write Formats
- Single-Byte Write
- Page-Write
!
Read Formats
- Current-Address Read
- Random-Read
- Sequential-Read
!
Asynchronous Reset Input (Active 0)
!
No Internal System Clock
!
DATA/P1 Input Delay and CLK/P2 Spike Filtering by Integrated RC Components
11.9.2 Device Address Selection
The serial interface address of the AS3682 can be selected between two fixed settings. The address is selected by
connecting pin ADR to either GND or to V2_5 as shown in Table 34.
Table 34. AS3682 Device Address Selection
ADR Connected To
Serial Interface Address
GND
40h
V2_5 (Max Voltage = 2.5V)
41h
11.9.3 Data Transfer Formats
Definitions used in the serial data transfer format diagrams (Figures 19 to 23) are listed in Table 35.
Table 35. Serial Data Transfer Byte Definitions
Symbol
S
Sr
DA
WA
A
N
P
White Field
Grey Field
WA++
Definition
Start Condition after Stop
Repeated Start
Device Address
Word Address
Acknowledge
Not Acknowledge
Stop Condition
Slave as Receiver
Slave as Transmitter
Increment Word Address Internally
www.austriamicrosystems.com
Revision 2.21
33 - 43
austriam i c r o systems
AS3682
Data Sheet
Serial Interface
Figure 18. Complete Data Transfer
SDA
SCL
1-7
8
9
Address
R/W
ACK
S
Start
Condition
8
1-7
Data
9
1-7
ACK
Data
8
9
ACK
P
Stop
Condition
Figure 19. Byte Write
S
DA
W A
WA
A
reg_data
A P
Write Register
WA++
Figure 20. Page Write
S
DA
W A
WA
A
reg_data 1
A
reg_data 2
Write Register
WA++
A
…
Write Register
WA++
reg_data n
A P
Write Register
WA++
Byte Write and Page Write are used to write data to the slave.
The transmission begins with the START condition, which is generated by the master when the bus is in IDLE state
(the bus is free). The device-write address is followed by the word address. After the word address any number of data
bytes can be send to the slave. The word address is incremented internally, in order to write subsequent data bytes on
subsequent address locations.
For reading data from the slave device, the master has to change the transfer direction. This can be done either with a
repeated START condition followed by the device-read address, or simply with a new transmission START followed by
the device-read address, when the bus is in IDLE state. The device-read address is always followed by the 1st register
byte transmitted from the slave. In Read Mode any number of subsequent register bytes can be read from the slave.
The word address is incremented internally.
The following diagrams show the various read formats available.
Figure 21. Random Read
S
DA
W A
WA
A Sr
DA
R A
data
Read Register
WA++
N P
WA++
Random Read and Sequential Read are combined formats. The repeated START condition is used to change the
direction after the data transfer from the master.
The word address transfer is initiated with a START condition issued by the master while the bus is idle. The START
condition is followed by the device-write address and the word address.
www.austriamicrosystems.com
Revision 2.21
34 - 43
austriam i c r o systems
AS3682
Data Sheet
Serial Interface
In order to change the data direction a repeated START condition is issued on the 1st SCL pulse after the ACKNOWLEDGE bit of the word address transfer. After the reception of the device read address, the slave becomes the transmitter. In this state the slave transmits register data located by the previous received word address vector. The master
responds to the data byte with a NOT ACKNOWLEDGE, and issues a STOP condition on the bus.
Figure 22. Sequential Read
S
DA
W A
WA
A Sr
DA
R A
data 1
A
data 2
...
A
data n
N P
Read Register
WA++
WA++
Sequential Read is the extended form of Random Read, as multiple register-data bytes are subsequently transferred.
In contrast to the Random Read, in a Sequential Read the transferred register-data bytes are responded to by an
ACKNOWLEDGE from the master. The number of data bytes transferred in one sequence is unlimited (consider the
behavior of the word-address counter). To terminate the transmission the master has to send a not-acknowledge following the last data byte and subsequently generate the STOP condition.
Figure 23. Current Address Read
S
DA
R A
data 1
Read Register
WA++
A
data 2
Read Register
WA++
…
A
data n
N P
Read Register
WA++
WA++
To keep the access time as small as possible, this format allows a read access without the word address transfer in
advance to the data transfer. The bus is idle and the master issues a START condition followed by the Device Read
address. Analogous to Random Read, a single byte transfer is terminated with a not-acknowledge after the first register byte. Analogous to Sequential Read an unlimited number of data bytes can be transferred, where the data bytes
must be responded to with an ACKNOWLEDGE from the master. For termination of the transmission the master sends
a NOT ACKNOWLEDGE following the last data byte and a subsequent STOP condition.
11.9.4 Fixed ID Register
Reading register 15h always returns CDh and can be used to verify the correct operation of the serial interface.
Table 36. Fixed ID Register
Addr: 15
Bit
7:0
Bit Name
Device_ID
Fixed_ID
This register holds the device ID value.
Default
Access
Description
This is the device ID.
11001101
R
www.austriamicrosystems.com
Revision 2.21
35 - 43
austriam i c r o systems
AS3682
Data Sheet
Register Map
11.10 Register Map
The AS3682 control register addresses, default values, and pages where they are described are listed in Table 37
(Normal Mode) and Table 38 (Soft Flash Mode).
Table 37. Register Summary – Normal Mode
Register Name
Address Default
B7
B6
B5
B4
B3
B2
B1
B0
Page
curr13_on
curr12_on
curr11_on
cp_led_on
24,
30
Powerdown_control
Addr: 00
00h
N/A
Current1_preview
Addr: 01
00h
current1_preview
N/A
curr_hp
20
Current1_strobe
Addr: 02
00h
current1_strobe
N/A
curr_hs
20
Current1_control
Addr: 03
01h
Strobe_mode1
Addr: 04
07h
N/A
Strobe_mode
Strobe_mode2
Addr: 05
07h
N/A
Mode2
Current2
Addr: 06
00h
N/A
Current2
21
Current3
Addr: 07
00h
N/A
Current3
21
Current4
Addr: 08
00h
N/A
Current4
22
xstrobe_ctrl
strobe_on preview_ctrl preview_on
Curr234_str
obe_ctrl
N/A
Curr234_g
pio0_ctrl
Strobe_mode
25
25
26
Curr234_ctrl
Addr: 09
00h
GPIO_control
Addr: 0A
44h
GPIO_output
Addr: 0B
00h
N/A
strobe_out
gpio0_out
31
GPIO_input
Addr: 0C
N/A
N/A
strobe_in
gpio0_in
31
CP_control
Addr: 0D
00h
Overtemp_control
Addr: 0E
01h
Curr_voltage_control
Addr: 0F
N/A
N/A
strobe_pulls
strobe_mode
N/A
Curr4_onCP Curr3_onCP Curr2_onCP
gpio0_pulls
cp_mode2
gpio0_mode
cp_mode
N/A
rst_ov_temp
29
31
cp_man
cp_clk
30
ov_temp
ov_temp_on
32
cp_status
Curr4_low_
voltage
Curr3_low_ Curr2_low_ curr13_low_
voltage
voltage
voltage
curr12_low_ curr11_low_
voltage
voltage
30
Curr3_low_ Curr2_low_ curr13_low_
voltage
voltage
voltage
curr12_low_ curr11_low_
voltage
voltage
26
Curr3_low_ Curr2_low_ curr13_low_
voltage
voltage
voltage
curr12_low_ curr11_low_
voltage
voltage
Curr_voltage_control
Addr: 0F
N/A
cp_status
Curr4_low_
voltage
Curr_voltage_control
Addr: 0F
N/A
cp_status
Curr4_low_
voltage
Fixed_ID
Addr: 15
CDh
1
1
29
0
0
1
1
0
1
35
B5
B4
B3
B2
B1
B0
Page
curr13_on
curr12_on
curr11_on
cp_led_on
24,
30
Table 38. Register Summary – Soft Flash Mode
Register Name
Address Default
B7
B6
Powerdown_control
Addr: 00
00h
Current1_preview
Addr: 01
00h
current1_preview
23
Current1_strobe
Addr: 02
00h
current1_strobe
23
Current1_control
Addr: 03
01h
Strobe_mode1
Addr: 04
07h
N/A
Strobe_mode
Strobe_mode2
Addr: 05
07h
N/A
Mode2
Current2
Addr: 06
00h
Current2
23
Current3
Addr: 07
00h
Current3
23
Current4
Addr: 08
00h
Current4
23
Curr234_ctrl
Addr: 09
00h
GPIO_control
Addr: 0A
88h
N/A
xstrobe_ctrl
strobe_on preview_ctrl preview_on
Curr234_str
obe_ctrl
Curr234_g
pio0_ctrl
N/A
strobe_pulls
N/A
strobe_mode
Strobe_mode
25
25
26
Curr4_onCP Curr3_onCP Curr2_onCP
gpio0_pulls
gpio0_mode
29
31
GPIO_output
Addr: 0B
00h
N/A
strobe_out
gpio0_out
31
GPIO_input
Addr: 0C
N/A
N/A
strobe_in
gpio0_in
31
CP_control
Addr: 0D
00h
Overtemp_control
Addr: 0E
01h
Curr_voltage_control
Addr: 0F
N/A
cp_status
Curr4_low_
voltage
Curr_voltage_control
Addr: 0F
N/A
cp_status
cp_status
Curr_voltage_control
Addr: 0F
N/A
Fixed_ID
Addr: 15
CDh
www.austriamicrosystems.com
N/A
cp_mode2
cp_mode
cp_man
cp_clk
30
ov_temp
ov_temp_on
32
Curr3_low_ Curr2_low_ curr13_low_
voltage
voltage
voltage
curr12_low_ curr11_low_
voltage
voltage
30
Curr4_low_
voltage
Curr3_low_ Curr2_low_ curr13_low_
voltage
voltage
voltage
curr12_low_ curr11_low_
voltage
voltage
26
Curr4_low_
voltage
Curr3_low_ Curr2_low_ curr13_low_
voltage
voltage
voltage
curr12_low_ curr11_low_
voltage
voltage
29
N/A
1
1
0
rst_ov_temp
0
Revision 2.21
1
1
0
1
35
36 - 43
austriam i c r o systems
AS3682
Data Sheet
Capacitor and Resistor Selection
12 External Components
12.1 Capacitor and Resistor Selection
Use low-ESR ceramic capacitors with X7R or X5R dielectric – these capacitors allow good filtering and have a wide
temperature range. The connections of all external capacitors should be kept as short as possible.
All resistors should have a tolerance of ±1%.
12.2 Usage of PCB Wire Inductance
The inductance between the battery and pins VBAT1 and VBAT2 can be used as a filter to reduce disturbance on the battery. Instead of using one capacitor (C1) it is recommended to split C1 into C11 and C12 with the capacitance equal:
(EQ 1)
C11 = C12 = 1/2 x C1
It is recommended to apply a minimum of 20nH (maximum 200nH) with low impedance. This inductance can be realized on the PCB without any discrete coil. Assuming that 1mm signal line corresponds to approximately 1nH (valid if
the length (L) is significantly bigger than the width (W) of the line (L/W <10)). Thus a line length of:
20mm < L < 200mm
is recommended. The shape of the line is not important.
(EQ 2)
Figure 24. PCB Wire Inductance Example 1
L
Pins VBAT1
PIN VBAT
and VBAT2
BATTERY
Connector
C11
Cbat
C1
2
Cin
GND
L_total=L
GND
Figure 25. PCB Wire Inductance Example 2
L1
Pins VBAT1
and VBAT
VBAT2
PIN
BATTERY
Connector
C11
Cbat
C1
Cin2
GND
L_total=L1+10xL2
GND
L2
12.3 External Component Specifications
Table 39. External Components List
Part
Number
C11
C3
C4
C5
C6
R1
Min
Value
Typ
2.2µF
1µF
Max
4.7µF
1µF
1µF
2.2µF
240kΩ
Tol
(Min)
Rating
(Max)
±20%
±20%
±20%
±20%
±20%
±1%
6.3V
6.3V
6.3V
6.3V
6.3V
Notes
Package
(Min)
Ceramic, X5R
Ceramic, X5R
Ceramic, X5R
Ceramic, X5R
Ceramic, X5R
Bias Resistor
0603
0603
0603
0603
0603
0201
Notes:
1. See Usage of PCB Wire Inductance on page 37.
www.austriamicrosystems.com
Revision 2.21
37 - 43
austriam i c r o systems
AS3682
Data Sheet
Hard Flash Mode Pin Descriptions
13 Pinout and Packaging
Table 40. Pin Type Definitions
Type
DI
DI3
DIO3
AIO
AI
AO
S
GND
Description
Digital Input
3.3V Digital Input
3.3V Digital Input/Output
Analog Pad
Analog Input
Analog Output
Supply Pad
Ground Pad
13.1 Hard Flash Modes Pin Descriptions
Table 41. Pin List QFN24 – Hard Flash Modes
Pin
Name
Type (See
Table 40)
Description
1
ADR
DI
2
VBAT1
AIO
Charge pump supply pad; always connect to VBAT.
3
C1_P
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 2.2µF (±20%).
4
CP_OUT
AIO
Charge pump output voltage; connect to a ceramic capacitor of 1µF (±20%) or 2.2µF
(+100%/-50%).
5
C2_P
AIO
6
VBAT2
S
7
C2_N
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 1µF (±20%).
MSB of Preview Control; internal pullup, active low.
Test input.
Charge pump flying capacitor; connect to a ceramic capacitor of 2.2µF (±20%).
Charge pump supply pad; always connect to VBAT.
8
CLK/P2
DI3
9
DATA/P1
DIO3
LSB+1/MSB of Preview Control; internal pullup, active low.
10
GPIO0/P0
DIO3
LSB of Preview Control; internal pullup, active low.
11
STROBE/F2
DIO3
MSB of Flash Control; internal pullup, active low.
12
VDD_GPIO
S
GPIO and serial interface supply pad.
13
CURR11
AI
Analog current sink input.
14
CURR12
AI
Analog current sink input.
15
CURR13
AI
Analog current sink input.
16
SFL/F1
DI3
LSB+1 of Flash Control; internal pullup, active low.
17
T1/F0
DI3
LSB of Flash Control; internal pullup, active low.
18
HFL
DI
Hard Flash mode selection pin; connect to VBAT.
19
CURR2
AI
Analog current sink input.
20
CURR3
AI
Analog current sink input.
21
CURR4
AI
Analog current sink input.
22
V2_5
AO
Low-power LDO output voltage; always connect to a ceramic capacitor of 1µF
(±20%) or 2.2µF (+100%/-50%).
Caution: Do not load this pin during start-up.
23
RBIAS
AIO
External resistor; always connect to a resistor of 240kΩ (±1%) to ground.
Caution: Do not load this pin.
24
C1_N
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 1µF (±20%).
25
VSS
GND
Exposed pad.
www.austriamicrosystems.com
Revision 2.21
38 - 43
austriam i c r o systems
AS3682
Data Sheet
Normal Mode and Soft Flash Mode Pin Descriptions
13.2 Normal Mode and Soft Flash Mode Pin Descriptions
Table 42. Pin List QFN24 – Normal Mode and Soft Flash Mode
Pin
Name
Type (See
Table 40)
1
ADR
DI
Input pin to select serial interface address. Connect to V2_5 or VSS.
2
VBAT1
S
Charge pump supply pad; always connect to VBAT.
3
C1_P
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 2.2µF (±20%).
4
CP_OUT
AIO
Charge pump output voltage; connect to a ceramic capacitor of 1µF (±20%) or 2.2µF
(+100%/-50%).
5
C2_P
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 2.2µF (±20%).
Description
6
VBAT2
S
7
C2_N
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 1µF (±20%).
8
CLK/P2
DI3
Serial interface clock input.
9
DATA/P1
DIO3
Serial interface data I/O.
10
GPIO0/P0
DIO3
General purpose I/O; active high in Normal Mode, active low in Soft Flash Mode.
11
STROBE/F2
DIO3
General purpose I/O; active high in Normal Mode, active low in Soft Flash Mode.
12
VDD_GPIO
S
GPIO and serial interface supply pad.
13
CURR11
AI
Analog current sink input (intended for LED flash).
14
CURR12
AI
Analog current sink input (intended for LED flash).
15
CURR13
AI
Analog current sink input (intended for LED flash).
16
SFL/F1
DI3
Soft Flash mode selection pin.
17
T1/F0
DI3
Test input.
18
HFL
DI
Hard Flash mode selection pin; active high.
19
CURR2
AI
Analog current sink input.
20
CURR3
AI
Analog current sink input.
21
CURR4
AI
Analog current sink input.
22
V2_5
AO
Low-power LDO output voltage; always connect to a ceramic capacitor of 1µF
(±20%) or 2.2µF (+100%/-50%).
Caution: Do not load this pin during start-up.
23
RBIAS
AIO
External resistor; always connect to a resistor of 240kΩ (±1%) to ground.
Caution: Do not load this pin.
24
C1_N
AIO
Charge pump flying capacitor; connect to a ceramic capacitor of 1µF (±20%).
25
VSS
GND
Exposed pad.
www.austriamicrosystems.com
Charge pump supply pad; always connect to VBAT.
Revision 2.21
39 - 43
austriam i c r o systems
AS3682
Data Sheet
Package Drawings and Markings
13.3 Package Drawings and Markings
Figure 26. QFN 24 – 4x4mm with Exposed Paddle
Marking:
Line 1:
Line 2:
Line 3:
Line 4:
austriamicrosystems Logo
AYWWIZZ
A = Pb-Free Identifier
Y = Year
WW = Week
I = Plant Identifier
ZZ = Letters of Free Choice
AS3682A
<Empty> = Normal Mode, Soft Flash Mode, and Hard Flash Mode 1
HFL2 = Hard Flash Mode 2
www.austriamicrosystems.com
Revision 2.21
40 - 43
austriam i c r o systems
AS3682
Data Sheet
Package Drawings and Markings
Figure 27. QFN 24 – Detail Dimensions
www.austriamicrosystems.com
Revision 2.21
41 - 43
austriam i c r o systems
AS3682
Data Sheet
14 Ordering Information
Device
ID
Part
Number
Package
Type
AS3682-EA1
AS3682-PDM
AS3682-EB1
QFN 24
Delivery
Form*
Mode
Tape and Reel
Normal Mode, Soft
Flash Mode, Hard
Flash Mode 1
Tube
AS3682-EA2
Tape and Reel
AS3682-EB2
Tube
Description
4x4x0.85mm,
Pitch = 0.5mm
Hard Flash Mode 2
Where:
P = Package Type:
E = QFN 4x4x0.85mm
D = Delivery Form:
A = Tape and Reel
B = Tube
M = Mode
1 = Normal Mode, Soft Flash Mode, and Hard Flash Mode 1
2 = Hard Flash Mode 2
* Dry-pack sensitivity level = 3 in accordance with IPC/JEDEC J-STD-033A.
www.austriamicrosystems.com
Revision 2.21
42 - 43
austriam i c r o systems
AS3682
Data Sheet
Copyrights
Copyright © 1997-2006, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, Austria-Europe.
Trademarks Registered ®. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner.
All products and companies mentioned are trademarks or registered trademarks of their respective companies.
Disclaimer
Devices sold by austriamicrosystems AG are covered by the warranty and patent indemnification provisions appearing
in its Term of Sale. austriamicrosystems AG makes no warranty, express, statutory, implied, or by description regarding
the information set forth herein or regarding the freedom of the described devices from patent infringement. austriamicrosystems AG reserves the right to change specifications and prices at any time and without notice. Therefore, prior
to designing this product into a system, it is necessary to check with austriamicrosystems AG for current information.
This product is intended for use in normal commercial applications. Applications requiring extended temperature
range, unusual environmental requirements, or high reliability applications, such as military, medical life-support or lifesustaining equipment are specifically not recommended without additional processing by austriamicrosystems AG for
each application. For shipments of less than 100 parts the manufacturing flow might show deviations from the standard
production flow, such as test flow or test location.
The information furnished here by austriamicrosystems AG is believed to be correct and accurate. However,
austriamicrosystems AG shall not be liable to recipient or any third party for any damages, including but not limited to
personal injury, property damage, loss of profits, loss of use, interruption of business or indirect, special, incidental or
consequential damages, of any kind, in connection with or arising out of the furnishing, performance or use of the technical data herein. No obligation or liability to recipient or any third party shall arise or flow out of
austriamicrosystems AG rendering of technical or other services.
Contact Information
Headquarters
austriamicrosystems AG
A-8141 Schloss Premstaetten, Austria
Tel: +43 (0) 3136 500 0
Fax: +43 (0) 3136 525 01
For Sales Offices, Distributors and Representatives, please visit:
http://www.austriamicrosystems.com
austriamicrosystems
www.austriamicrosystems.com
Revision 2.21
– a leap ahead
43 - 43