0
登录后你可以
  • 下载海量资料
  • 学习在线课程
  • 观看技术视频
  • 写文章/发帖/加入社区
会员中心
创作中心
发布
  • 发文章

  • 发资料

  • 发帖

  • 提问

  • 发视频

创作活动
AS3682-EA1

AS3682-EA1

  • 厂商:

    AMSOSRAM(艾迈斯半导体)

  • 封装:

    VFQFN24_EP

  • 描述:

    LED 驱动器 IC 6 输出 DC DC 稳压器 切换式电容器(充电泵) 400mA(闪存) 24-QFN(4x4)

  • 数据手册
  • 价格&库存
AS3682-EA1 数据手册
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 a u s t ri a m i c r o s y s t e m s AS3682 Data Sheet 480mA Camera Lighting Management Unit 2 Key Features 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. 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 am lc s on A te G nt st il 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. ! al id 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. lv 1 General Description 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. Te ch ni ca 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. www.austriamicrosystems.com ! 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. Revision 2.21 1 - 43 austriam i c r o systems AS3682 Data Sheet 4 Block Diagram Figure 1. AS3682 Block Diagram 22 AS3682 2 Digital Supply RBIAS 23 Bandgap and Current Reference Charge Pump 1:1, 1:1.5, 1:2 6 VBAT2 5 C2_P 7 C2_N 3 C1_P C1_N 1 24 VDD_GPIO 12 4 CLK/P2 8 CP_OUT lv ADR Digital Part VBAT1 al id V2_5 Mode Selector Serial Interface am lc s on A te G nt st il DATA/P1 9 Current Source STROBE/F2 11 GPIO0/P0 10 SFL/F1 16 T1/F0 17 HFL 18 13 CURR11 14 CURR12 15 CURR13 19 CURR2 20 CURR3 21 CURR4 Current Source GND Exposed Pad 5 Application Diagrams Figure 2. Normal and Soft Flash Mode Application Diagram Battery V2_5 22 C3 1µF 23 R1 240kΩ ADR 1 ni V2.5 = 41h GND = 40h VDD_GPIO DATA/P1 9 CLK/P2 8 Te STROBE/F2 SFL Mode: SFL/F1 = VDD_GPIO Normal Mode: SFL/F1 = GND 6 VBAT2 5 C2_P 7 C2_N 3 C1_P 12 ch R4 1 - 10kΩ VBAT1 ca RBIAS 2 AS3682 11 24 4 C1_N C1 2.2µF Interface Current Sinks C4 1µF CURR11 Normal Mode Soft Flash Mode I2C I 2C 3 3 Total Current 0 to 450mA Flash LEDs Addressable Strobe Trigger C5 1µF CP_OUT Flash & Preview 13 Feature 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 GPIO0/P0 10 15 CURR13 SFL/F1 16 19 CURR2 T1/F0 17 20 CURR3 HFL 18 21 CURR4 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 22 RBIAS 23 2 VBAT1 6 VBAT2 Feature Battery Interface R1 240kΩ C1 2.2µF 5 1 ADR 7 C2_N 3 C1_P 24 C1_N C4 1µF Flash LEDs VDD_GPIO 12 Selectable DATA/P1 9 MSB Preview CLK/P2 AS3682 8 4 10 C5 1µF CP_OUT 11 MSB Flash Strobe: 0 to 450mA Preview: 0 to 400mA Addressable Block CURR11 14 CURR12 15 CURR13 Strobe Preview By Preview Control Pins Current Sinks N/A General Purpose LEDs (CURR2, CURR3, CURR4) Current per Sink N/A Addressable 16 N/A am lc s on A te G nt st il SFL/F1 Strobe Control (Active Low) 13 Camera C6 Flash 2.2µF LED LSB Preview STROBE/F2 6 Total Current Strobe Trigger By Strobe Control Pins Flash & Preview GPIO0/P0 Current Sinks C2_P lv C3 1µF Preview Control (Active Low) Hard Flash Mode 1 Dedicated Control Pins for Strobe (3x) & Preview (3x) al id V2_5 T1/F0 17 LSB Flash 19 CURR2 20 CURR3 21 CURR4 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 12 DATA/P1 9 MSB Preview CLK/P2 Selectable LSB Preview 8 AS3682 10 STROBE/F2 11 MSB Flash Flash Control (Active Low) T1/F0 5 C2_P 7 C2_N 3 C1_P 24 C1_N Flash LEDs C4 1µF Current Sinks 3 Total Current Flash: 0 to 450mA Addressable Block Strobe Trigger 4 Current Sinks General Purpose LEDs (CURR2, Current per Sink CURR3, CURR4) Addressable C5 1µF By Flash Control Pin 3 0 to 20/37.5mA Block CP_OUT Flash & Preview 13 CURR11 14 CURR12 15 CURR13 19 CURR2 20 CURR3 21 CURR4 Camera Flash LED C6 2.2µF 16 ch SFL/F1 VBAT2 Interface Strobe Preview ni Backlight Control (Active Low) GPIO0/P0 6 ca VDD_GPIO VBAT1 C1 2.2µF 1 ADR 2 Hard Flash Mode 2 Dedicated Control Pins for Flash (3x) & General Purpose (3x) 17 LSB Flash Te Battery HFL 18 www.austriamicrosystems.com GND Exposed Pad Revision 2.21 3 - 43 austriam i c r o systems AS3682 Data Sheet Revision History Date Owner 2.1 10 February 2005 ptr - Various minor updates implemented. Description 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. Te ch ni ca am lc s on A te G nt st il lv al id Revision www.austriamicrosystems.com 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 al id 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 lv 7 Typical Operation Characteristics ........................................................................................................... 9 8 Detailed Functional Descriptions .......................................................................................................... 11 8.1 Charge Pump ................................................................................................................................................ 11 am lc s on A te G nt st il 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 Features ............................................................................................................................................ Device Address Selection ................................................................................................................. Data Transfer Formats ...................................................................................................................... Fixed ID Register .............................................................................................................................. ni 11.9.1 11.9.2 11.9.3 11.9.4 ca 11.9 Serial Interface ............................................................................................................................................. 33 33 33 33 35 11.10 Register Map ............................................................................................................................................. 36 ch 12 External Components ......................................................................................................................... 37 12.1 Capacitor and Resistor Selection ................................................................................................................ 37 12.2 Usage of PCB Wire Inductance ................................................................................................................... 37 Te 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. al id Table 1. Absolute Maximum Ratings 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 % lv Symbol am lc s on A te G nt st il Non condensing VESD Electrostatic Discharge PT TBODY Notes: -1000 1000 V Norm: MIL 883 E Method 3015 Total Power Dissipation 1 W TAMB = 70º Body Temperature 260 º IPC/JEDEC J-STD-020C 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 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 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). ca Symbol ch ni -30 Standby Mode Current 6 10.5 Te 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 Min Typ Output Limitation Unit V 5.6 V 5.3 VCPOUT Output Voltage With Load (I = 400mA) Charge Pump Effective Resistance RCP Max VBAT x CP-mode 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 Continuous Output Current ICPOUT 400 1:1 mode 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 Notes: mA am lc s on A te G nt st il ICP In automatic mode only; VBAT ≤ 4.2V. 0.1 Power Consumption Without Load, FCLK = 1 MHz al id Parameter Output Voltage Without Load lv Symbol % 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 1. This parameter describes the efficiency of the charge pump only. Table 4. Current Sink Electrical Characteristics Symbol Parameter Min Typ Max Unit Normal Mode 150 160 CURR1x Resolution ni ICURR1x-RES CURR1x Maximum Output Current ca ICURR1x-MAX Te ICURR2,3,4-RES Delta-abs Absolute Accuracy Normal Mode low range (I < 240mA) 30 mA 0.625 mA Relative Accuracy VPROTECT VCOMPL Voltage Compliance 0.2 V_LOW Under-Voltage Detection 50 Normal Mode mA Soft Flash Mode Hard Flash Mode +20 5 150 Soft Flash Mode Hard Flash Mode 20 Voltage Above VBAT for Protection Soft Flash Mode Normal Mode 2.5 -20 Normal Mode high range (I > 240mA) Hard Flash Mode 20 0.625 Delta-rel www.austriamicrosystems.com Hard Flash Mode 15 150 CURR2,3,4 Resolution Soft Flash Mode 150 160 ch ICURR2,3,4-MAX mA 37.5 CURR2,3,4 Maximum Output Current 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 VOH High Level Output Voltage 0.8 x VDD_GPIO VOL Low Level Output Voltage IOUT Driving Capability CLOAD Capacitive Load To VDD_GPIO (1.5 to 3.3V) am lc s on A te G nt st il V al id 1.3V VDD_GPIO > 1.85V VDD_GPIO < 1.85V lv 0.7 x VDD_GPIO Notes 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 VIH High Level Input Voltage VIL Low Level Input Voltage 0.0 0.3 x VDD_GPIO V 1.3V Notes VDD_GPIO > 1.85V VDD_GPIO < 1.85V 0.07 x VDD_GPIO 0.5 V ILEAK -5 5 µA To VDD_GPIO and VSS. IPU Pullup Resistor (in Hard Flash Modes) 50k 200k Ω To VDD_GPIO. ca Hysteresis Input Leakage Current (in Soft Flash and Normal Modes) VHYS Table 7. Power-On Reset Electrical Characteristics Symbol Parameter Overall Power-On Reset VVDD_GPIO_TH_ Reset Level for VDD_GPIO Rising Reset Level for VDD_GPIO Falling 1.5 ch ni VPOR_VBAT Min RISING VVDD_GPIO_TH_ Te FALLING 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 330mA Total al id Efficiency Pled/Pbat 90 80 70 450mA Total lv 60 50 3.2 3.4 3.6 3.8 4 4.2 am lc s on A te G nt st il 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 ca VBAT[V] Figure 7. Efficiency vs. VBAT (with 1 Flash LED, Type Osram LWW5SG LED) ni 150mA Total 210mATotal 300mA Total Efficiency Pled/Pbat Te ch 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 600 al id IBAT [mA] 700 500 300mA Total 400 300 210mA Total 200 105mA Total 0 3 3.2 3.4 3.6 3.8 4 4.2 am lc s on A te G nt st il VBAT[V] lv 100 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 Te ch ni ca 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. ! 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 lv 1:1 Bypass Mode - Battery input and output are connected by a low-impedance switch - Battery current = output current am lc s on A te G nt st il ! al id The charge pump can operate in three different modes: 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. ca 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. Te ch ni 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 Te ch ni ca am lc s on A te G nt st il lv al id ! 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 Total Current 0 to 450mA 0 to 480mA Strobe: 0 to 450mA Preview: 0 to 400mA Flash LEDs Hard Flash Mode 2 Dedicated Control Dedicated Control Pins Pins for Strobe (3x) for Flash (3x) and and Preview (3x) General Purpose (3x) al id Interface Hard Flash Mode 1 3 Flash: 0 to 450mA lv Feature Block Block Block Strobe Trigger STROBE/F2 or software STROBE/F2 or software By Strobe Control Pins Block 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 am lc s on A te G nt st il Addressable By Flash Control Pin Te ch ni ca 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). al id 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. lv ! 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). Pin HFL GND GND Pin SFL/F1 Mode GND Normal Mode VDD_GPIO Soft Flash Mode Don't Care Hard Flash Mode Te ch ni ca VBAT am lc s on A te G nt st il Hard Flash Modes 1 and 2 are factory preset. See Ordering Information on page 42. Table 10. Hard Flash Mode Setting by Pin Configuration 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 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 General Purpose LEDs (CURR2, CURR3, CURR4) Strobe Trigger By Strobe Control Pins Strobe Preview By Preview Control Pins Current Sinks N/A Current per Sink N/A Addressable N/A By Flash Control Pin 3 0 to 20/37.5mA Block am lc s on A te G nt st il Flash LEDs al id Hard Flash Mode 1 lv Feature 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 C4 1µF C5 1µF CP_OUT Flash & Preview GPIO0/P0 Battery 13 CURR11 14 CURR12 15 CURR13 19 CURR2 20 CURR3 21 CURR4 Camera C6 Flash 2.2µF LED LSB Preview STROBE/F2 11 MSB Flash ca SFL/F1 T1/F0 Strobe Control (Active Low) 16 17 LSB Flash GND HFL 18 Exposed Pad Te ch ni Battery www.austriamicrosystems.com 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 al id Preview Current. See Table 13 on page 16 t Preview Control. See Figure 10 on page 15 lv Strobe Control. See Figure 10 on page 15 STROBE/ F2 Bit 2 SFL/F1 Bit 1 1 1 1 1 1 0 1 0 0 1 0 1 0 0 0 0 Notes: am lc s on A te G nt st il Table 12. Hard Flash Mode 1 Strobe Current T1/F0 Bit 0 Current/ Current Sink CURR11 CURR12 CURR13 CURR2 CURR3 CURR4 1 0mA 0mA 0mA 0mA 0mA 0mA 0mA 0 30mA 30mA 60mA 90mA 120mA 150mA 180mA 1 50mA 50mA 100mA 150mA 200mA 250mA 300mA 0 70mA 70mA 140mA 210mA 280mA 350mA 420mA 1 90mA 90mA 180mA 270mA 360mA 450mA 540mA 0 110mA 110mA 220mA 330mA 440mA 550mA 660mA 1 130mA 130mA 260mA 390mA 520mA 650mA 780mA 0 150mA 150mA 300mA 450mA 600mA 750mA 900mA Cumulative Active Current Sink1 1. Do not exceed maximum current of 480mA. Table 13. Hard Flash Mode 1 Preview Current DATA/P1 GPIO0/P0 Current/ Current Bit 1 Bit 0 Sink 1 1 1 1 1 0mA 0 20mA Cumulative Active Current Sink CURR11 CURR12 CURR13 CURR2 CURR3 CURR4 0mA 0mA 0mA 0mA 0mA 0mA 20mA 40mA 60mA 80mA 100mA 120mA 0 1 30mA 30mA 60mA 90mA 120mA 150mA 180mA 0 0 40mA 40mA 80mA 120mA 160mA 200mA 240mA 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 Te ch 0 1 ni 1 ca CLK/P2 Bit 2 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 Hard Flash Mode 1 Dedicated Control Pins for Strobe (3x) and Preview (3x) Addressable 6 Strobe: 0 to 450mA Preview: 0 to 400mA Strobe: 60mA Preview: 30mA Block Strobe Trigger By Strobe Control Pins Strobe Preview By Preview Control Pins Current Sinks N/A Current per Sink N/A Addressable N/A Current Sinks Total Current General Purpose LEDs (CURR2, CURR3, CURR4) Total Current Resolution 3 Flash: 0 to 450mA Flash: 60mA Block By Flash Control Pin 3 0 to 20/37.5mA Block am lc s on A te G nt st il Flash LEDs Dedicated Control Pins for Flash (3x) and General Purpose (3x) al id Interface Hard Flash Mode 2 lv Feature 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) GPIO0/P0 10 13 CURR11 14 CURR12 15 CURR13 19 CURR2 20 CURR3 21 CURR4 Camera Flash LED C6 2.2µF LSB Preview Selectable STROBE/F2 11 MSB Flash ca SFL/F1 Flash Control (Active Low) T1/F0 16 17 LSB Flash Battery 18 ni HFL GND Te ch 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 al id Strobe Current. See Table 15 on page 18 t lv Flash Control. See Figure 12 on page 17 am lc s on A te G nt st il 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 STROBE/F2 Bit 2 1 1 1 1 0 0 T1/F0 Bit 0 Current/ Current Sink 0 Cumulative Active Current Sink (CURR11, CURR12, CURR13) 11 12 13 1 1 0mA 0mA 0mA 0mA 1 0 30mA 30mA 60mA 90mA 0 1 50mA 50mA 100mA 150mA 0 0 70mA 70mA 140mA 210mA 1 1 90mA 90mA 180mA 270mA 1 0 110mA 110mA 220mA 330mA 0 1 130mA 130mA 260mA 390mA 0 0 150mA 150mA 300mA 450mA ca 0 SFL/F1 Bit 1 ni 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). ch Table 16. Hard Flash Mode 2 Backlight Current 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 Te CLK/P2 Bit 2 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 Pin HFL Pin SFL/F1 Mode GND GND Normal Mode GND VDD_GPIO Soft Flash Mode VBAT Don't Care Hard Flash Mode al id Table 17. Normal and Soft Flash Mode Settings Table 18. Normal Mode and Soft Flash Mode Functions Normal Mode Soft Flash Mode I2C I2C Current Sinks 3 Total Current 0 to 450mA Total Current Resolution 4-Bit: 15/30mA Addressable Block General Purpose LEDs (CURR2, CURR3, CURR4) 0 to 480mA 8-Bit: 1.875mA Block am lc s on A te G nt st il Flash LEDs 3 lv Feature Interface 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 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 12 DATA/P1 9 CLK/P2 8 ch ni R4 1 - 10kΩ Te www.austriamicrosystems.com 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 C4 1µF 1 ca VDD_GPIO C1 2.2µF Camera C6 Flash 2.2µF LED 14 CURR12 Battery or CP_OUT GND 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 al id Bit 0 3:1 lv am lc s on A te G nt st il 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 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. Addr: 02 Bit Name curr_hs N/A MSB (Bit 7) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 current1_strobe 0 Te ch 7:4 ni ca Bit 0 3:1 www.austriamicrosystems.com R/W 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. 3:0 Current2 7:4 N/A 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 ca 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 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 Te ch ni 3:0 0h Access 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 Addr: 07 Bit Default al id Bit Name lv Bit am lc s on A te G nt st il Addr: 06 7:4 www.austriamicrosystems.com Revision 2.21 21 - 43 austriam i c r o systems AS3682 Data Sheet Current Settings in Normal Mode Current4 This register sets the current values of CURR4. Any value not equal 0 activates the sink. Current4 7:4 N/A 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 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 Te ch ni ca 3:0 Default al id Bit Name lv Bit am lc s on A te G nt st il Addr: 08 www.austriamicrosystems.com Revision 2.21 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 Bit 7:0 Table 23. Current Sink_1x Strobe Current Definition Register 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 lv Addr: 02 al id Addr: 01 am lc s on A te G nt st il 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 Bit Name 7:0 current4 ni Bit ca Addr: 08 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 Te ch 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 al id 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. Turning the Current Sinks On/Off in Preview Mode lv 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. am lc s on A te G nt st il 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 Name cp_led_on 1 curr11_on 2 curr12_on 3 curr13_on Te ch ni ca Bit 0 7:4 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. N/A 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 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. 1:0 Strobe_mode 3:2 N/A 4 preview_on 5 preview_ctrl 6 strobe_on 7 xstrobe_ctrl Addr: 04 0 R/W lv Bit Name 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). am lc s on A te G nt st il Bit al id Addr: 03 Bit Name 2:0 Strobe_mode 7:3 N/A R/W 0 R/W 0 R/W 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. Te ch ni ca Bit 0 www.austriamicrosystems.com 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 Bit Name 2:0 Mode2 7:3 N/A am lc s on A te G nt st il lv Bit 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. al id Addr: 05 Table 29. Current Sink_1x Undervoltage Indication Register Te ch ni ca 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). al id t TS Bit preview_on (page 25) or Pin GPIO0/P0 lv Normal Mode Bit strobe_on (page 25) or Pin STROBE/F2 TSTROBE_SIGNAL TS TSTROBE_SIGNAL am lc s on A te G nt st il 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 ca Normal Mode: See Register Current1_preview (page 20). Soft Flash Mode: See Register Current1_preview (page 23). t ni Bit preview_on (page 25) or Pin GPIO0/P0 Normal Mode Bit strobe_on (page 25) or Pin STROBE/F2 TS TSTROBE_SIGNAL ch TS Bit preview_on (page 25) or Pin GPIO0/P0 Soft Flash Mode Te 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). al id t Bit preview_on (page 25) or Pin GPIO0/P0 TS = TSTROBE_SIGNAL am lc s on A te G nt st il TS = TSTROBE_SIGNAL lv Normal Mode Bit strobe_on (page 25) or Pin STROBE/F2 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 Te ch ni ca 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 al id am lc s on A te G nt st il 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 Name 0 Curr2_onCP 1 Curr3_onCP 2 Curr4_onCP ch ni ca Bit Curr234_gpio0_ctrl Te 6:4 7 lv Addr: 0F 3 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. N/A 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 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). Bit Name 0 cp_led_on 1 2 3 7:4 curr11_on curr12_on curr13_on N/A Bit Name 0 cp_clk 1 cp_man 3:2 cp_mode 4 5:7 cp_mode2 N/A am lc s on A te G nt st il Addr: 0D Bit 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. lv Bit al id Addr: 00 Te ch ni ca 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 ! Digital Schmidt-Trigger Input ! Digital Output with 4mA Driving Capability at 2.8V Supply (VDD_GPIO) ! Tristate Output ! Current Selection for CURR1x al id The general purpose input/output pins (GPIO0/P0, STROBE/F2) are highly configurable and can be used for the following functionality: 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. lv Table 31. GPIO Registers Addr: 0A Bit Name 1:0 gpio0_mode 3:2 gpio0_pulls 5:4 strobe_mode 7:6 strobe_pulls ca Addr: 0B am lc s on A te G nt st il Bit Bit Name 0 gpio0_out 1 strobe_out 2:7 N/A ch ni Bit Addr: 0C Bit Name gpio0_in strobe_in Te Bit 0 1 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. Access by serial interface is possible once the reset thresholds are exceeded. Table 32. Reset Control al id 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. Register State (All Registers) Undefined VBAT < VPOR_VBAT and VVDD_GPIO > VGPIO_VDD_TH Undefined VBAT > VPOR_VBAT and VVDD_GPIO < VGPIO_VDD_TH Default lv Reset Control VBAT < VPOR_VBAT and VVDD_GPIO < VGPIO_VDD_TH Default am lc s on A te G nt st il VBAT > VPOR_VBAT and VVDD_GPIO > VGPIO_VDD_TH 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 Bit Name 0 ov_temp_on ch ni Bit ov_temp Te 1 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. ca Addr: 0E 2 rst_ov_temp 7:3 N/A 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 am lc s on A te G nt st il lv al id ! 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 GND Serial Interface Address 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 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 Te ch ni S Sr DA WA A N P White Field Grey Field WA++ ca Symbol 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 8 9 Start Condition Address R/W ACK 8 1-7 Data 9 1-7 ACK Data Figure 19. Byte Write DA W A WA A reg_data 9 ACK P Stop Condition A P am lc s on A te G nt st il S 8 lv 1-7 S al id SCL 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. ca 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. ni The following diagrams show the various read formats available. ch Figure 21. Random Read DA W A WA Te S 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. S DA W A WA A Sr DA R A data 1 A data 2 ... A al id Figure 22. Sequential Read data n N P Read Register WA++ WA++ lv Sequential Read is the extended form of Random Read, as multiple register-data bytes are subsequently transferred. am lc s on A te G nt st il 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. ca Table 36. Fixed ID Register Addr: 15 ni Bit Name Device_ID Te ch Bit 7:0 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 Addr: 00 00h N/A Current1_preview Addr: 01 00h current1_preview N/A Current1_strobe Addr: 02 00h current1_strobe N/A 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 Current3 Addr: 07 00h N/A Current3 21 Current4 Addr: 08 00h N/A Current4 22 Curr234_g pio0_ctrl Curr4_onCP Curr3_onCP Curr2_onCP 29 GPIO_control Addr: 0A GPIO_output Addr: 0B GPIO_input Addr: 0C CP_control Addr: 0D Overtemp_control Addr: 0E Curr_voltage_control Addr: 0F Curr_voltage_control Addr: 0F Curr_voltage_control Addr: 0F Fixed_ID Addr: 15 00h Curr234_str obe_ctrl N/A 20 curr_hs 20 Strobe_mode 25 25 26 21 lv Addr: 09 strobe_on preview_ctrl preview_on curr_hp N/A am lc s on A te G nt st il Curr234_ctrl xstrobe_ctrl al id Powerdown_control 44h strobe_pulls strobe_mode gpio0_pulls gpio0_mode 31 00h N/A strobe_out gpio0_out 31 N/A N/A strobe_in gpio0_in 31 00h N/A cp_mode2 01h cp_mode N/A rst_ov_temp 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 N/A cp_status Curr4_low_ voltage Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage curr12_low_ curr11_low_ voltage voltage 26 N/A cp_status Curr4_low_ voltage Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage curr12_low_ curr11_low_ voltage voltage N/A 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 Current1_preview Addr: 01 Current1_strobe Addr: 02 Current1_control Addr: 03 Strobe_mode1 Addr: 04 Strobe_mode2 Addr: 05 07h Current2 Addr: 06 00h Current2 23 Current3 Addr: 07 00h Current3 23 Current4 Addr: 08 00h Current4 23 00h current1_preview 00h current1_strobe 01h xstrobe_ctrl strobe_on preview_ctrl preview_on ca 07h Addr: 09 00h Addr: 0A 88h ch GPIO_output N/A ni Curr234_ctrl GPIO_control 00h Curr234_str obe_ctrl 23 Strobe_mode 25 N/A Strobe_mode 25 N/A Mode2 26 Curr234_g pio0_ctrl N/A strobe_pulls N/A 23 strobe_mode Curr4_onCP Curr3_onCP Curr2_onCP gpio0_pulls gpio0_mode 29 31 00h N/A strobe_out gpio0_out 31 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 Te Addr: 0B GPIO_input 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%. al id 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: lv (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
AS3682-EA1 价格&库存

很抱歉,暂时无法提供与“AS3682-EA1”相匹配的价格&库存,您可以联系我们找货

免费人工找货