![]() |
|
If you can't view the Datasheet, Please click here to try to view without PDF Reader . |
|
Datasheet File OCR Text: |
a u s t ri a m i c r o s y s t e m s AS3682 480mA Camera Lighting Management Unit D a ta S he e t 1 General Description 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. 2 Key Features ! 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 (6A), Interface Fully Operating Low Shut-Down Current (0.2A) 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 AS3682 Data Sheet austriam i c r o systems 4 Block Diagram Figure 1. AS3682 Block Diagram V2_5 22 AS3682 Digital Supply RBIAS 23 2 VBAT1 6 5 VBAT2 C2_P Bandgap and Current Reference Charge Pump 1:1, 1:1.5, 1:2 7 3 C2_N C1_P ADR 1 24 4 C1_N CP_OUT VDD_GPIO 12 Digital Part CLK/P2 8 Mode Selector DATA/P1 9 Serial Interface Current Source 13 CURR11 STROBE/F2 11 14 CURR12 CURR13 GPIO0/P0 10 15 SFL/F1 16 Current Source T1/F0 17 19 CURR2 20 HFL 18 21 CURR3 CURR4 GND Exposed Pad 5 Application Diagrams Figure 2. Normal and Soft Flash Mode Application Diagram Battery V2_5 C3 1F RBIAS R1 240k 7 V2.5 = 41h GND = 40h ADR 1 3 VDD_GPIO 12 24 R4 1 - 10k 4 C1_N CP_OUT Flash & Preview 13 STROBE/F2 11 CURR11 Camera C6 Flash 2.2F LED C1_P C5 1F C2_N 23 5 C2_P C4 1F 22 2 VBAT1 Feature C1 2.2F Normal Mode I2C Current Sinks 3 Soft Flash Mode I 2C 3 0 to 480mA Block 6 VBAT2 Interface Total Current 0 to 450mA Flash LEDs Addressable Strobe Trigger Strobe Preview Current Sinks Current per Sink Addressable Block STROBE/F2 STROBE/F2 or software or software GPIO0/P0 or software 3 GPIO0/P0 or software 3 DATA/P1 9 AS3682 CLK/P2 8 General Purpose LEDs (CURR2, CURR3, CURR4) 0 to 37.5mA 0 to 160mA Individual Individual 14 CURR12 15 19 CURR13 CURR2 GPIO0/P0 SFL Mode: SFL/F1 = VDD_GPIO Normal Mode: SFL/F1 = GND 10 SFL/F1 16 Battery or CP_OUT T1/F0 HFL 17 18 20 CURR3 GND 21 CURR4 Exposed Pad www.austriamicrosystems.com Revision 2.21 2 - 43 AS3682 Data Sheet austriam i c r o systems Figure 3. Hard Flash Mode 1 Application Diagram 2 VBAT1 Battery Feature Interface Hard Flash Mode 1 Dedicated Control Pins for Strobe (3x) & Preview (3x) V2_5 C3 1F 22 RBIAS 23 6 VBAT2 C1 2.2F Current Sinks Total Current Flash LEDs Addressable 6 Strobe: 0 to 450mA Preview: 0 to 400mA Block R1 240k ADR 1 5 C2_P C4 1F 7 VDD_GPIO Selectable DATA/P1 MSB Preview CLK/P2 8 9 24 12 3 C2_N C1_P Strobe Trigger By Strobe Control Pins C5 1F C1_N CP_OUT Flash & Preview Strobe Preview Current Sinks By Preview Control Pins N/A N/A N/A AS3682 4 Preview Control (Active Low) GPIO0/P0 LSB Preview STROBE/F2 MSB Flash SFL/F1 10 13 CURR11 Camera C6 Flash 2.2F LED General Purpose LEDs (CURR2, CURR3, CURR4) Current per Sink Addressable 11 14 15 CURR12 CURR13 CURR2 16 19 Strobe Control (Active Low) T1/F0 LSB Flash Battery HFL 17 20 CURR3 GND 18 21 CURR4 Exposed Pad Figure 4. Hard Flash Mode 2 Application Diagram Feature Battery V2_5 C3 1F 22 2 VBAT1 Hard Flash Mode 2 Dedicated Control Pins for Flash (3x) & General Purpose (3x) Interface Current Sinks C1 2.2F RBIAS 23 6 VBAT2 3 Flash: 0 to 450mA Block By Flash Control Pin 3 0 to 20/37.5mA Block Total Current Flash LEDs Addressable Strobe Trigger Strobe Preview Current Sinks General Purpose LEDs (CURR2, Current per Sink CURR3, CURR4) Addressable R1 240k ADR 1 5 C2_P C4 1F 7 VDD_GPIO 12 3 C2_N C1_P DATA/P1 MSB Preview CLK/P2 9 24 C1_N CP_OUT Flash & Preview C5 1F 8 AS3682 4 Backlight Control (Active Low) Selectable GPIO0/P0 LSB Preview STROBE/F2 MSB Flash SFL/F1 10 13 CURR11 Camera Flash LED C6 2.2F 11 14 15 CURR12 CURR13 CURR2 16 19 Flash Control (Active Low) T1/F0 LSB Flash Battery HFL 17 20 CURR3 21 18 CURR4 GND Exposed Pad www.austriamicrosystems.com Revision 2.21 3 - 43 AS3682 Data Sheet austriam i c r o systems Revision History Revision 2.1 2.2 Date 10 February 2005 16 August 2005 Owner ptr ptr Description - Various minor updates implemented. - 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). - Updated gpio0_pulls bit settings. - Updated strobe_pulls bit settings. - Updated data sheet status to public viewable. 2.21 6 July 2006 ptr www.austriamicrosystems.com Revision 2.21 4 - 43 AS3682 Data Sheet austriam i c r o systems 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 AS3682 Data Sheet austriam i c r o systems 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 VIN_MV VIN_LV IIN TSTRG Parameter 5V Pins 3.3V Pins Input Pin Current Storage Temperature Range Humidity VESD PT TBODY 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. Electrostatic Discharge Total Power Dissipation Body Temperature Min -0.3 -0.3 -25 -55 5 -1000 Max 7.0 5.0, VDD_GPIO + 0.3 +25 125 85 1000 1 260 Unit V V mA C % V W Non condensing Norm: MIL 883 E Method 3015 TAMB = 70 IPC/JEDEC J-STD-020C Notes Applicable for 5V pins1 Applicable for 3.3V pins2 At 25C, Norm: Jedec 17 6.2 Operating Conditions Table 2. Operating Conditions Symbol VBAT VDD_GPIO V2_5 TAMB IBAT Parameter Battery Voltage Periphery Supply Voltage Voltage on Pin V2_5 Ambient Temperature Operating Current Min 3.0 1.5 2.4 -30 2.5 25 Typ 3.6 Max 5.5 3.3 2.6 85 1 Unit V V V C A Depending on load current and charge pump mode. Current consumption in standby mode; Only 2.5V regulator on; temperature supervision off. VDD_GPIO (page 8) > VGPIO_Vdd_TH_RISING (page 8). 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. Current consumption in shutdown mode; VDD_GPIO < 0.3v. Internally generated; Hard Flash Mode: always on; Soft Flash Mode: always on except in shutdown. VBAT1 and VBAT2 Notes Standby Mode Current 6 10.5 A ISTANDBY Standby Mode Current including Temperature Supervision 8 14.5 A ISHUTDOWN Shutdown Mode Current 0.2 1.5 A www.austriamicrosystems.com Revision 2.21 6 - 43 AS3682 Data Sheet austriam i c r o systems Electrical Characteristics 6.3 Electrical Characteristics Table 3. Charge Pump Electrical Characteristics Symbol Parameter Output Voltage Without Load Output Limitation VCPOUT Output Voltage With Load (I = 400mA) 5.3 3.32 4.31 5.24 0.5 RCP ICPOUT ICP Eta_1 Eta_2 tR VORIP fCLK Notes: 1. This parameter describes the efficiency of the charge pump only. Table 4. Current Sink Electrical Characteristics Symbol ICURR1x-MAX Parameter CURR1x Maximum Output Current Min Typ 150 160 150 15 ICURR1x-RES CURR1x Resolution 30 0.625 20 37.5 ICURR2,3,4-MAX CURR2,3,4 Maximum Output Current 160 150 2.5 ICURR2,3,4-RES Delta-abs Delta-rel VPROTECT VCOMPL V_LOW CURR2,3,4 Resolution Absolute Accuracy Relative Accuracy Voltage Above VBAT for Protection Voltage Compliance Under-Voltage Detection 0.2 50 150 -20 5 VBAT + 2.0 VBAT + 0.5 200 0.625 20 +20 % % V V mV ISINK >= 20mA During normal operation mA mA mA mA Max Unit Normal Mode Soft Flash Mode Hard Flash Mode Normal Mode low range (I < 240mA) Normal Mode high range (I > 240mA) Soft Flash Mode Hard Flash Mode Normal Mode Soft Flash Mode Hard Flash Mode Normal Mode Soft Flash Mode Hard Flash Mode All current sinks Notes Charge Pump Effective Resistance Continuous Output Current Power Consumption Without Load, FCLK = 1 MHz Efficiency11 Efficiency21 Rising Time Output Ripple Clock Frequency -20% 10 1.0 20% 75 65 0.1 4.5 5 93 82 1.0 % % ms mVpp MHz VIN = 3.0 to 4.5V, IOUT = 350mA, CP = 2.2uF, X5R mA 2.6 2.5 400 mA Min Typ Max VBAT x CP-mode 5.6 Unit V V 1:1 Mode; VBAT = 3.5V 1:1.5 Mode; VBAT = 3.5V 1:2 Mode; VBAT = 3.5V 1:1 Mode; VBAT = 3.0V, ILOAD = 400mA 1:1.5 Mode; VBAT = 3.0V, ILOAD = 400mA 1:2 Mode; VBAT = 3.0V, ILOAD = 400mA In automatic mode only; VBAT 4.2V. 1:1 mode 1:1.5 mode 1:2 mode VIN = 3.0 to 4.5V, IOUT = 100mA VIN = 3.0 to 4.5V, IOUT = 10 to 350mA Notes Internally regulated. www.austriamicrosystems.com Revision 2.21 7 - 43 AS3682 Data Sheet austriam i c r o systems Electrical Characteristics Table 5. GPIO0/P0 and STROBE/F2 Electrical Characteristics Symbol VDD_GPIO VIH VIL VHYS ILEAK IPD IPU VOH VOL IOUT CLOAD Parameter Supply Voltage High Level Input Voltage Low Level Input Voltage Hysteresis Input Leakage Current (if not configured as Pullup/Pulldown) Pulldown Current (if configured as Pulldown) Pullup Current (if configured as Pullup and in Hard Flash Modes) High Level Output Voltage Low Level Output Voltage Driving Capability Capacitive Load 4 50 Min 1.5 0.7 x VDD_GPIO 1.3V 0.0 0.1 x VDD_GPIO -5 50 20 0.8 x VDD_GPIO 0.2 x VDD_GPIO Max 3.3 VDD_GPIO 0.3 x VDD_GPIO 0.4 5 150 347 Unit V V V V A A A V V mA pF VDD_GPIO = 2.8V To VDD_GPIO and VSS. To VSS. To VDD_GPIO (1.5 to 3.3V) VDD_GPIO > 1.85V VDD_GPIO < 1.85V Notes Table 6. CLK/P2, DATA/P1, SFL/F1, and T1/F0 Electrical Characteristics Symbol VDD_GPIO VIH VIL VHYS ILEAK IPU Parameter Supply Voltage High Level Input Voltage Low Level Input Voltage Hysteresis Input Leakage Current (in Soft Flash and Normal Modes) Pullup Resistor (in Hard Flash Modes) Min 1.5 0.7 x VDD_GPIO 1.3V 0.0 0.07 x VDD_GPIO -5 50k Max 3.3 VDD_GPIO 0.3 x VDD_GPIO 0.5 5 200k Unit V V V V A To VDD_GPIO and VSS. To VDD_GPIO. VDD_GPIO > 1.85V VDD_GPIO < 1.85V Notes Table 7. Power-On Reset Electrical Characteristics Symbol VPOR_VBAT VVDD_GPIO_TH_ RISING Parameter Overall Power-On Reset Reset Level for VDD_GPIO Rising Reset Level for VDD_GPIO Falling Min 1.5 Typ 2.0 1.3 1.0 Max 2.38 Unit V V V Notes Monitors voltage on pin V2_5; power-on reset for all internal functions. Monitors voltage on VDD_GPIO; rising level. Monitors voltage on VDD_GPIO; falling level. VVDD_GPIO_TH_ FALLING Table 8. Over-Temperature Detection Electrical Characteristics Symbol T140 THYST Parameter ov_temp Rising Threshold ov_temp Hysteresis Min 130 Typ 140 5 Max 150 Unit C C Notes www.austriamicrosystems.com Revision 2.21 8 - 43 AS3682 Data Sheet austriam i c r o systems 7 Typical Operation Characteristics Figure 5. Efficiency vs. VBAT (with 1 Flash LED, Type LumiLed PWF-1) 100 113mA Total 195mA Total 90 Efficiency Pled/Pbat 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 0.8 0.7 450mA Total IBAT[A] 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 90 210mATotal 300mA Total 452mA Total Efficiency Pled/Pbat 80 70 60 50 3.2 3.4 3.6 VBAT [V] 3.8 4 4.2 www.austriamicrosystems.com Revision 2.21 9 - 43 AS3682 Data Sheet austriam i c r o systems Figure 8. Battery Current vs. VBAT (with 1 Flash LED, Type Osram LWW5SG LED) 1000 900 452mA Total 800 700 IBAT [mA] 600 500 400 300 200 105mA Total 100 0 3 3.2 3.4 3.6 3.8 4 4.2 210mA Total 300mA Total VBAT[V] Figure 9. Linearity of 1 Current Sink with 10mA and 100mA Load 120 100mA 100 Icurrentsink [mA] 80 60 40 20 10mA 0 0 200 400 600 800 Vcurrentsink[mV] www.austriamicrosystems.com Revision 2.21 10 - 43 AS3682 Data Sheet austriam i c r o systems 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 AS3682 Data Sheet austriam i c r o systems 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 AS3682 Data Sheet austriam i c r o systems 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 Feature Interface Current Sinks Total Current Flash LEDs Addressable Strobe Trigger Strobe Preview General Purpose Current Sinks LEDs (CURR2, Current per Sink CURR3, CURR4) Addressable Normal Mode I2C 3 0 to 450mA Block STROBE/F2 or software GPIO0/P0 or software 3 0 to 37.5mA Individual Soft Flash Mode I 2C 3 0 to 480mA Block STROBE/F2 or software GPIO0/P0 or software 3 0 to 160mA Individual 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) 6 Strobe: 0 to 450mA Preview: 0 to 400mA Block By Strobe Control Pins By Preview Control Pins N/A N/A N/A 3 Flash: 0 to 450mA Block By Flash Control Pin 3 0 to 20/37.5mA Block 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 AS3682 Data Sheet austriam i c r o systems 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 GND GND VBAT Pin SFL/F1 GND VDD_GPIO Don't Care Mode Normal Mode Soft Flash Mode Hard Flash Mode www.austriamicrosystems.com Revision 2.21 14 - 43 AS3682 Data Sheet austriam i c r o systems Hard Flash Mode 1 10.1 Hard Flash Mode 1 Table 11. Hard Flash Mode 1 Functions Feature Interface Current Sinks Total Current Flash LEDs Total Current Resolution Addressable Strobe Trigger Strobe Preview General Purpose LEDs (CURR2, CURR3, CURR4) Current Sinks Current per Sink Addressable Hard Flash Mode 1 Dedicated Control Pins for Strobe (3x) and Preview (3x) 6 Strobe: 0 to 450mA Preview: 0 to 400mA Strobe: 60mA Preview: 30mA Block By Strobe Control Pins By Preview Control Pins N/A N/A N/A Hard Flash Mode 2 Dedicated Control Pins for Flash (3x) and General Purpose (3x) 3 Flash: 0 to 450mA Flash: 60mA Block By Flash Control Pin 3 0 to 20/37.5mA Block Figure 10. Hard Flash Mode 1 Functional Diagram V2_5 C3 1F 22 2 VBAT1 Battery RBIAS 23 6 VBAT2 C1 2.2F R1 240k ADR 1 5 C2_P C4 1F 7 VDD_GPIO Selectable DATA/P1 MSB Preview CLK/P2 8 9 24 12 3 C2_N C1_P C1_N CP_OUT Flash & Preview C5 1F AS3682 4 Preview Control (Active Low) GPIO0/P0 LSB Preview STROBE/F2 MSB Flash SFL/F1 10 13 CURR11 Camera C6 Flash 2.2F LED 11 14 15 CURR12 CURR13 CURR2 16 19 Strobe Control (Active Low) T1/F0 LSB Flash Battery HFL 17 20 CURR3 GND 18 21 CURR4 Exposed Pad www.austriamicrosystems.com Revision 2.21 15 - 43 AS3682 Data Sheet austriam i c r o systems 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 1 1 1 1 0 0 0 0 Notes: 1. Do not exceed maximum current of 480mA. Table 13. Hard Flash Mode 1 Preview Current CLK/P2 Bit 2 1 1 1 1 0 0 0 0 DATA/P1 GPIO0/P0 Current/ Current Bit 1 Bit 0 Sink 1 1 0 0 1 1 0 0 1 0 1 0 1 0 1 0 0mA 20mA 30mA 40mA 50mA 60mA 70mA 80mA Cumulative Active Current Sink CURR11 0mA 20mA 30mA 40mA 50mA 60mA 70mA 80mA CURR12 0mA 40mA 60mA 80mA 100mA 120mA 140mA 160mA CURR13 0mA 60mA 90mA 120mA 150mA 180mA 210mA 240mA CURR2 0mA 80mA 120mA 160mA 200mA 240mA 280mA 320mA CURR3 0mA 100mA 150mA 200mA 250mA 300mA 350mA 400mA CURR4 0mA 120mA 180mA 240mA 300mA 360mA 420mA 480mA SFL/F1 Bit 1 1 1 0 0 1 1 0 0 T1/F0 Bit 0 1 0 1 0 1 0 1 0 Current/ Current Sink 0mA 30mA 50mA 70mA 90mA 110mA 130mA 150mA Cumulative Active Current Sink1 CURR11 0mA 30mA 50mA 70mA 90mA 110mA 130mA 150mA CURR12 0mA 60mA 100mA 140mA 180mA 220mA 260mA 300mA CURR13 0mA 90mA 150mA 210mA 270mA 330mA 390mA 450mA CURR2 0mA 120mA 200mA 280mA 360mA 440mA 520mA 600mA CURR3 0mA 150mA 250mA 350mA 450mA 550mA 650mA 750mA CURR4 0mA 180mA 300mA 420mA 540mA 660mA 780mA 900mA 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 AS3682 Data Sheet austriam i c r o systems Hard Flash Mode 2 10.2 Hard Flash Mode 2 Table 14. Hard Flash Mode 2 Functions Feature Interface Current Sinks Total Current Flash LEDs Total Current Resolution Addressable Strobe Trigger Strobe Preview General Purpose LEDs (CURR2, CURR3, CURR4) Current Sinks Current per Sink Addressable Hard Flash Mode 1 Dedicated Control Pins for Strobe (3x) and Preview (3x) 6 Strobe: 0 to 450mA Preview: 0 to 400mA Strobe: 60mA Preview: 30mA Block By Strobe Control Pins By Preview Control Pins N/A N/A N/A Hard Flash Mode 2 Dedicated Control Pins for Flash (3x) and General Purpose (3x) 3 Flash: 0 to 450mA Flash: 60mA Block By Flash Control Pin 3 0 to 20/37.5mA Block Figure 12. Hard Flash Mode 2 Functional Diagram Battery V2_5 C3 1F 22 2 VBAT1 RBIAS 23 6 VBAT2 C1 2.2F R1 240k ADR 1 5 C2_P C4 1F 7 VDD_GPIO 12 3 C2_N C1_P DATA/P1 MSB Preview CLK/P2 9 24 C1_N CP_OUT Flash & Preview C5 1F 8 AS3682 4 Backlight Control (Active Low) Selectable GPIO0/P0 LSB Preview STROBE/F2 MSB Flash SFL/F1 10 13 CURR11 Camera Flash LED C6 2.2F 11 14 15 CURR12 CURR13 CURR2 16 19 Flash Control (Active Low) T1/F0 LSB Flash Battery HFL 17 20 CURR3 21 18 CURR4 GND Exposed Pad www.austriamicrosystems.com Revision 2.21 17 - 43 AS3682 Data Sheet austriam i c r o systems 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 STROBE/F2 Bit 2 1 1 1 1 0 0 0 0 SFL/F1 Bit 1 1 1 0 0 1 1 0 0 T1/F0 Bit 0 1 0 1 0 1 0 1 0 Current/ Current Sink 0mA 30mA 50mA 70mA 90mA 110mA 130mA 150mA Cumulative Active Current Sink (CURR11, CURR12, CURR13) 11 0mA 30mA 50mA 70mA 90mA 110mA 130mA 150mA 12 0mA 60mA 100mA 140mA 180mA 220mA 260mA 300mA 13 0mA 90mA 150mA 210mA 270mA 330mA 390mA 450mA 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 1 1 1 1 0 0 0 0 DATA/P1 Bit 1 1 1 0 0 1 1 0 0 GPIO0/P0 Bit 0 1 0 1 0 1 0 1 0 Current/Current Sink (CURR2, CURR3, CURR4) 0mA 5mA 7mA 10mA 12mA 15mA 17mA 37mA www.austriamicrosystems.com Revision 2.21 18 - 43 AS3682 Data Sheet austriam i c r o systems Hard Flash Mode 2 11 Normal and Soft Flash Modes Table 17. Normal and Soft Flash Mode Settings Pin HFL GND GND VBAT Pin SFL/F1 GND VDD_GPIO Don't Care Mode Normal Mode Soft Flash Mode Hard Flash Mode Table 18. Normal Mode and Soft Flash Mode Functions Feature Interface Current Sinks Total Current Total Current Resolution Flash LEDs Addressable Strobe Trigger Strobe Preview Current Sinks General Purpose LEDs (CURR2, CURR3, CURR4) Current per Sink Current Resolution per Sink Addressable Normal Mode I2C 3 0 to 450mA 4-Bit: 15/30mA Block Pin STROBE/F2 (active high) or software Pin GPIO0/P0 (active high) or software 3 0 to 37.5mA 4-Bit: 2.5mA Individual Soft Flash Mode I2C 3 0 to 480mA 8-Bit: 1.875mA Block Pin STROBE/F2 (active low) or software Pin GPIO0/P0 (active low) or software 3 0 to 160mA 8-Bit: 0.625mA Individual Figure 14. Normal Mode and Soft Flash Mode Functional Diagram Battery V2_5 C3 1F RBIAS R1 240k 7 V2.5 = 41h GND = 40h ADR 1 3 VDD_GPIO 12 24 R4 1 - 10k 4 C1_N CP_OUT Flash & Preview 13 STROBE/F2 11 CURR11 Camera C6 Flash 2.2F LED C1_P C5 1F C2_N 23 5 C2_P C4 1F 22 2 VBAT1 6 VBAT2 C1 2.2F DATA/P1 9 AS3682 CLK/P2 8 14 CURR12 15 19 CURR13 CURR2 GPIO0/P0 SFL Mode: SFL/F1 = VDD_GPIO Normal Mode: SFL/F1 = GND 10 SFL/F1 16 Battery or CP_OUT T1/F0 HFL 17 18 20 CURR3 GND 21 CURR4 Exposed Pad www.austriamicrosystems.com Revision 2.21 19 - 43 AS3682 Data Sheet austriam i c r o systems Current Settings in Normal Mode 11.1 Current Settings in Normal Mode Table 19. Current Sink_1x Preview Current Definition Register Addr: 01 Bit 0 3:1 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 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 Bit Name curr_hs N/A 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. 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 7:4 current1_strobe 0 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 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 www.austriamicrosystems.com Revision 2.21 20 - 43 AS3682 Data Sheet austriam i c r o systems Current Settings in Normal Mode Table 21. Current Sink2,3,4 Control Registers Addr: 06 Bit Bit Name Current2 This register sets the current values of the CURR2. Any value not equal 0 activates the sink. Default Access Description MSB (Bit 3) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 3:0 Current2 0h R/W 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 7:4 Addr: 07 Bit N/A 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 3:0 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 7:4 www.austriamicrosystems.com Revision 2.21 21 - 43 AS3682 Data Sheet austriam i c r o systems Current Settings in Normal Mode Addr: 08 Bit Bit Name Current4 This register sets the current values of CURR4. Any value not equal 0 activates the sink. Default Access Description MSB (Bit 3) 0 0 0 0 0 0 0 0 1 1 1 1 1 1 1 1 3:0 Current4 0h R/W 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 7:4 N/A www.austriamicrosystems.com Revision 2.21 22 - 43 AS3682 Data Sheet austriam i c r o systems Current Settings in Soft Flash Mode 11.2 Current Settings in Soft Flash Mode Table 22. Current Sink_1x Preview Current Definition Register Addr: 01 Bit 7:0 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 Table 23. Current Sink_1x Strobe Current Definition Register Addr: 02 Bit 7:0 Bit Name 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 7:0 Bit Name 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 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 Addr: 07 Bit 7:0 Bit Name current3 Table 26. Current Sink_4 Control Register 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 Addr: 08 Bit 7:0 Bit Name current4 Caution: The total current of the charge pump (480mA) must not be exceeded. www.austriamicrosystems.com Revision 2.21 23 - 43 AS3682 Data Sheet austriam i c r o systems 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 1 Bit Name cp_led_on curr11_on 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. 2 curr12_on 3 7:4 curr13_on N/A www.austriamicrosystems.com Revision 2.21 24 - 43 AS3682 Data Sheet austriam i c r o systems 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 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. 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). 1:0 Strobe_mode 3:2 4 N/A preview_on 0 R/W 5 preview_ctrl 0 R/W 6 strobe_on 0 R/W 7 Addr: 04 Bit xstrobe_ctrl 0 R/W Bit Name 2:0 Strobe_mode 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. 7:3 N/A www.austriamicrosystems.com Revision 2.21 25 - 43 AS3682 Data Sheet austriam i c r o systems Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode Addr: 05 Bit Bit Name 2:0 Mode2 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. 7:3 N/A 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 AS3682 Data Sheet austriam i c r o systems Timing Control of CURR11, CURR12, CURR13 in Normal Mode and Soft Flash Mode Figure 15. Preview and Strobe Timing - Mode 1 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). I t Bit preview_on (page 25) or Pin GPIO0/P0 TS Normal Mode Bit strobe_on (page 25) or Pin STROBE/F2 TSTROBE_SIGNAL Bit preview_on (page 25) or Pin GPIO0/P0 TS TSTROBE_SIGNAL 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 TS TSTROBE_SIGNAL 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). Normal Mode: See Register Current1_preview (page 20). Soft Flash Mode: See Register Current1_preview (page 23). t I 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) TS TS TSTROBE_SIGNAL www.austriamicrosystems.com Revision 2.21 27 - 43 AS3682 Data Sheet austriam i c r o systems 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). Normal Mode: See Register Current1_preview (page 20). Soft Flash Mode: See Register Current1_preview (page 23). t I 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 Maximum Strobe Time is Unlimited TS = TSTROBE_SIGNAL www.austriamicrosystems.com Revision 2.21 28 - 43 AS3682 Data Sheet austriam i c r o systems 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 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. 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). Addr: 0F Bit Bit Name 0 curr11_low_voltage 1 curr12_low_voltage 2 Curr13_low_voltage 3 4 5 7:6 Addr: 09 Bit 0 Bit Name Curr2_onCP Curr2_low_voltage Curr3_low_voltage Curr4_low_voltage cp_status 1 Curr3_onCP 2 Curr4_onCP 3 Curr234_gpio0_ctrl 6:4 N/A 7 Curr234_strobe_ctrl 0 R/W www.austriamicrosystems.com Revision 2.21 29 - 43 AS3682 Data Sheet austriam i c r o systems Charge Pump Control Registers 11.5 Charge Pump Control Registers Addr: 00 Bit 0 1 2 3 7:4 Addr: 0D Bit 0 Bit Name cp_clk Bit Name cp_led_on curr11_on curr12_on curr13_on 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). 1 cp_man 3:2 cp_mode 4 5:7 cp_mode2 N/A 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 AS3682 Data Sheet austriam i c r o systems 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 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 1:0 gpio0_mode 3:2 gpio0_pulls 5:4 strobe_mode 7:6 strobe_pulls Addr: 0B Bit 0 1 2:7 Addr: 0C Bit 0 1 Bit Name gpio0_in strobe_in Bit Name gpio0_out strobe_out N/A www.austriamicrosystems.com Revision 2.21 31 - 43 AS3682 Data Sheet austriam i c r o systems 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 VBAT < VPOR_VBAT and VVDD_GPIO < VGPIO_VDD_TH VBAT < VPOR_VBAT and VVDD_GPIO > VGPIO_VDD_TH VBAT > VPOR_VBAT and VVDD_GPIO < VGPIO_VDD_TH VBAT > VPOR_VBAT and VVDD_GPIO > VGPIO_VDD_TH Register State (All Registers) Undefined Undefined Default 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 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. 0 ov_temp_on 1 ov_temp 2 7:3 rst_ov_temp N/A www.austriamicrosystems.com Revision 2.21 32 - 43 AS3682 Data Sheet austriam i c r o systems 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 GND V2_5 (Max Voltage = 2.5V) Serial Interface Address 40h 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 AS3682 Data Sheet austriam i c r o systems Serial Interface Figure 18. Complete Data Transfer SDA SCL S Start Condition 1-7 8 9 1-7 8 9 1-7 8 9 P Stop Condition Address R/W ACK Data ACK Data ACK Figure 19. Byte Write S DA WA WA A reg_data AP Write Register WA++ Figure 20. Page Write S DA WA WA A reg_data 1 A reg_data 2 A ... reg_data n AP Write Register WA++ Write Register WA++ 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 WA WA A Sr DA RA data NP WA++ Read Register 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 AS3682 Data Sheet austriam i c r o systems 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 WA WA A Sr DA RA data 1 A data 2 ... A Read Register WA++ data n NP 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 RA data 1 A data 2 ... A data n NP WA++ Read Register WA++ Read Register WA++ Read Register 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 AS3682 Data Sheet austriam i c r o systems 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 Powerdown_control Current1_preview Current1_strobe Current1_control Strobe_mode1 Strobe_mode2 Current2 Current3 Current4 Curr234_ctrl GPIO_control GPIO_output GPIO_input CP_control Overtemp_control Curr_voltage_control Curr_voltage_control Curr_voltage_control Fixed_ID Address Default Addr: 00 Addr: 01 Addr: 02 Addr: 03 Addr: 04 Addr: 05 Addr: 06 Addr: 07 Addr: 08 Addr: 09 Addr: 0A Addr: 0B Addr: 0C Addr: 0D Addr: 0E Addr: 0F Addr: 0F Addr: 0F Addr: 15 00h 00h 00h 01h 07h 07h 00h 00h 00h 00h 44h 00h N/A 00h 01h N/A N/A N/A CDh B7 B6 N/A B5 B4 B3 curr13_on B2 curr12_on N/A N/A N/A B1 curr11_on B0 cp_led_on curr_hp curr_hs Page 24, 30 20 20 25 25 26 21 21 22 29 31 31 31 30 32 30 26 29 35 current1_preview current1_strobe xstrobe_ctrl strobe_on preview_ctrl preview_on N/A N/A N/A N/A N/A Curr234_str obe_ctrl strobe_pulls N/A strobe_mode N/A N/A N/A N/A cp_status cp_status cp_status 1 1 Curr4_low_ voltage Curr4_low_ voltage Curr4_low_ voltage 0 cp_mode2 cp_mode Curr234_g pio0_ctrl Strobe_mode Strobe_mode Mode2 Current2 Current3 Current4 Curr4_onCP Curr3_onCP Curr2_onCP gpio0_mode strobe_out strobe_in cp_man ov_temp gpio0_out gpio0_in cp_clk ov_temp_on gpio0_pulls rst_ov_temp Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage 0 1 1 curr12_low_ curr11_low_ voltage voltage curr12_low_ curr11_low_ voltage voltage curr12_low_ curr11_low_ voltage voltage 0 1 Table 38. Register Summary - Soft Flash Mode Register Name Powerdown_control Current1_preview Current1_strobe Current1_control Strobe_mode1 Strobe_mode2 Current2 Current3 Current4 Curr234_ctrl GPIO_control GPIO_output GPIO_input CP_control Overtemp_control Curr_voltage_control Curr_voltage_control Curr_voltage_control Fixed_ID Address Default Addr: 00 Addr: 01 Addr: 02 Addr: 03 Addr: 04 Addr: 05 Addr: 06 Addr: 07 Addr: 08 Addr: 09 Addr: 0A Addr: 0B Addr: 0C Addr: 0D Addr: 0E Addr: 0F Addr: 0F Addr: 0F Addr: 15 00h 00h 00h 01h 07h 07h 00h 00h 00h 00h 88h 00h N/A 00h 01h N/A N/A N/A CDh B7 B6 N/A B5 B4 B3 curr13_on B2 curr12_on B1 curr11_on B0 cp_led_on Page 24, 30 23 23 current1_preview current1_strobe xstrobe_ctrl strobe_on preview_ctrl preview_on N/A N/A Current2 Current3 Current4 Curr234_str obe_ctrl strobe_pulls N/A strobe_mode N/A N/A N/A N/A cp_status cp_status cp_status 1 1 Curr4_low_ voltage Curr4_low_ voltage Curr4_low_ voltage 0 cp_mode2 cp_mode rst_ov_temp Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage Curr3_low_ Curr2_low_ curr13_low_ voltage voltage voltage 0 1 1 Curr234_g pio0_ctrl Curr4_onCP Curr3_onCP Curr2_onCP gpio0_mode strobe_out strobe_in cp_man ov_temp gpio0_out gpio0_in cp_clk ov_temp_on N/A Strobe_mode Strobe_mode Mode2 25 25 26 23 23 23 29 31 31 31 30 32 30 26 29 35 gpio0_pulls curr12_low_ curr11_low_ voltage voltage curr12_low_ curr11_low_ voltage voltage curr12_low_ curr11_low_ voltage voltage 0 1 www.austriamicrosystems.com Revision 2.21 36 - 43 AS3682 Data Sheet austriam i c r o systems 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. Figure 24. PCB Wire Inductance Example 1 L (EQ 2) BATTERY Connector C11 Cbat GND Figure 25. PCB Wire Inductance Example 2 L1 Pins VBAT1 PIN VBAT and VBAT2 C12 Cin L_total=L GND BATTERY Connector C11 Cbat GND Pins VBAT1 and VBAT2 PIN VBAT C12 Cin L_total=L1+10xL2 L2 GND 12.3 External Component Specifications Table 39. External Components List Part Number C11 C3 C4 C5 C6 R1 Notes: 1. See Usage of PCB Wire Inductance on page 37. Min 1F 1F 1F 2.2F 240k Value Typ 2.2F Max 4.7F Tol (Min) 20% 20% 20% 20% 20% 1% Rating (Max) 6.3V 6.3V 6.3V 6.3V 6.3V Notes Ceramic, X5R Ceramic, X5R Ceramic, X5R Ceramic, X5R Ceramic, X5R Bias Resistor Package (Min) 0603 0603 0603 0603 0603 0201 www.austriamicrosystems.com Revision 2.21 37 - 43 AS3682 Data Sheet austriam i c r o systems 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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Name ADR VBAT1 C1_P CP_OUT C2_P VBAT2 C2_N CLK/P2 DATA/P1 GPIO0/P0 STROBE/F2 VDD_GPIO CURR11 CURR12 CURR13 SFL/F1 T1/F0 HFL CURR2 CURR3 CURR4 V2_5 Type (See Table 40) DI AIO AIO AIO AIO S AIO DI3 DIO3 DIO3 DIO3 S AI AI AI DI3 DI3 DI AI AI AI AO Test input. Charge pump supply pad; always connect to VBAT. Charge pump flying capacitor; connect to a ceramic capacitor of 2.2F (20%). Charge pump output voltage; connect to a ceramic capacitor of 1F (20%) or 2.2F (+100%/-50%). Charge pump flying capacitor; connect to a ceramic capacitor of 2.2F (20%). Charge pump supply pad; always connect to VBAT. Charge pump flying capacitor; connect to a ceramic capacitor of 1F (20%). MSB of Preview Control; internal pullup, active low. LSB+1/MSB of Preview Control; internal pullup, active low. LSB of Preview Control; internal pullup, active low. MSB of Flash Control; internal pullup, active low. GPIO and serial interface supply pad. Analog current sink input. Analog current sink input. Analog current sink input. LSB+1 of Flash Control; internal pullup, active low. LSB of Flash Control; internal pullup, active low. Hard Flash mode selection pin; connect to VBAT. Analog current sink input. Analog current sink input. Analog current sink input. Low-power LDO output voltage; always connect to a ceramic capacitor of 1F (20%) or 2.2F (+100%/-50%). Caution: Do not load this pin during start-up. External resistor; always connect to a resistor of 240k (1%) to ground. Caution: Do not load this pin. Charge pump flying capacitor; connect to a ceramic capacitor of 1F (20%). Exposed pad. Description 23 24 25 RBIAS C1_N VSS AIO AIO GND www.austriamicrosystems.com Revision 2.21 38 - 43 AS3682 Data Sheet austriam i c r o systems 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 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 Name ADR VBAT1 C1_P CP_OUT C2_P VBAT2 C2_N CLK/P2 DATA/P1 GPIO0/P0 STROBE/F2 VDD_GPIO CURR11 CURR12 CURR13 SFL/F1 T1/F0 HFL CURR2 CURR3 CURR4 V2_5 Type (See Table 40) DI S AIO AIO AIO S AIO DI3 DIO3 DIO3 DIO3 S AI AI AI DI3 DI3 DI AI AI AI AO Description Input pin to select serial interface address. Connect to V2_5 or VSS. Charge pump supply pad; always connect to VBAT. Charge pump flying capacitor; connect to a ceramic capacitor of 2.2F (20%). Charge pump output voltage; connect to a ceramic capacitor of 1F (20%) or 2.2F (+100%/-50%). Charge pump flying capacitor; connect to a ceramic capacitor of 2.2F (20%). Charge pump supply pad; always connect to VBAT. Charge pump flying capacitor; connect to a ceramic capacitor of 1F (20%). Serial interface clock input. Serial interface data I/O. General purpose I/O; active high in Normal Mode, active low in Soft Flash Mode. General purpose I/O; active high in Normal Mode, active low in Soft Flash Mode. GPIO and serial interface supply pad. Analog current sink input (intended for LED flash). Analog current sink input (intended for LED flash). Analog current sink input (intended for LED flash). Soft Flash mode selection pin. Test input. Hard Flash mode selection pin; active high. Analog current sink input. Analog current sink input. Analog current sink input. Low-power LDO output voltage; always connect to a ceramic capacitor of 1F (20%) or 2.2F (+100%/-50%). Caution: Do not load this pin during start-up. External resistor; always connect to a resistor of 240k (1%) to ground. Caution: Do not load this pin. Charge pump flying capacitor; connect to a ceramic capacitor of 1F (20%). Exposed pad. 23 24 25 RBIAS C1_N VSS AIO AIO GND www.austriamicrosystems.com Revision 2.21 39 - 43 AS3682 Data Sheet austriam i c r o systems Package Drawings and Markings 13.3 Package Drawings and Markings Figure 26. QFN 24 - 4x4mm with Exposed Paddle Marking: Line 1: Line 2: austriamicrosystems Logo AYWWIZZ A = Pb-Free Identifier Y = Year WW = Week I = Plant Identifier ZZ = Letters of Free Choice AS3682A Line 3: Line 4: www.austriamicrosystems.com Revision 2.21 40 - 43 AS3682 Data Sheet austriam i c r o systems Package Drawings and Markings Figure 27. QFN 24 - Detail Dimensions www.austriamicrosystems.com Revision 2.21 41 - 43 AS3682 Data Sheet austriam i c r o systems 14 Ordering Information Device ID Part Number AS3682-EA1 AS3682-PDM AS3682-EB1 AS3682-EA2 AS3682-EB2 QFN 24 Package Type Delivery Form* Tape and Reel Tube Tape and Reel Tube Mode Normal Mode, Soft Flash Mode, Hard Flash Mode 1 Hard Flash Mode 2 Description 4x4x0.85mm, Pitch = 0.5mm 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 AS3682 Data Sheet austriam i c r o systems Copyrights Copyright (c) 1997-2006, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered (R). 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 |
Price & Availability of AS3682
![]() |
|
|
All Rights Reserved © IC-ON-LINE 2003 - 2022 |
[Add Bookmark] [Contact Us] [Link exchange] [Privacy policy] |
Mirror Sites : [www.datasheet.hk]
[www.maxim4u.com] [www.ic-on-line.cn]
[www.ic-on-line.com] [www.ic-on-line.net]
[www.alldatasheet.com.cn]
[www.gdcy.com]
[www.gdcy.net] |