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: [email protected] Please visit our website at www.ams.com Datasheet AS3648 2000mA High Current LED Flash Driver 1 General Description 2 Key Features efficiency 4MHz fixed frequency DCDC Boost converter with soft start allows small coils al id High The AS3648 is an inductive high efficient DCDC step up converter with two current sinks. The DCDC step up converter operates at a fixed frequency of 4MHz and includes soft startup to allow easy integration into noise sensitive RF systems. The two current sinks can operate in flash / torch / assist (=video) light modes. - Stable even in coil current limit current adjustable up to 2000mA LED Two LED operation or single LED operation (combine LED_OUT1 with LED_OUT2) Automatic current adjustment for low battery voltage lv The AS3648 includes flash timeout, overvoltage, overtemperature, undervoltage and LED short circuit protection functions. A TXMASK/TORCH function reduces the flash current in case of parallel operation to the RF power amplifier and avoids a system shutdown. Alternatively this pin can be used to directly operate the torch light directly. operation for lower output current for reliable light output of the LED; running at 31.25kHz to avoid audible noise am lc s on A te G nt st il PWM Protection functions: Automatic Flash Timeout timer to protect the LED(s) Overvoltage and undervoltage Protection Overtemperature Protection LED short/open circuit protection 2 The AS3648 is controlled by an I C interface and has a hardware automatic shutdown if SCL=0 for 100ms. Therefore no additional enable input is required for shutting down of the device once the system shuts down. 2 I C Interface with automatic shutdown 5V constant voltage mode operation Available in tiny WL-CSP Package, 13 balls 0.5mm pitch 2.25x1.5x0.6mm, package size The AS3648 is available in a space-saving WL-CSP package measuring only 2.25x1.5x0.6mm and operates over the -30ºC to +85ºC temperature range. 3 Applications Figure 1. Typical Operating Circuit Flash/torch/videolight for smartphones, feature-phones, tablets, DSCs, DVCs !)*+ .-/% + ch ,(- Te "!"0 "# $% ' ' ' * &' ! ni ca "# * &' www.austriamicrosystems.com/AS3648 (ptr) AS3648 (# 1.5-4 1 - 38 AS3648 Datasheet, Confidential - P i n o u t 4 Pinout Pin Assignment Figure 2. Pin Assignments (Top View) am lc s on A te G nt st il Pin Description ! " #$ #% & lv al id ' ()*" '+ AS3648 Table 1. Pin Description for AS3648 Pin Number Pin Name Description A1 VOUT1 DCDC converter output capacitor - make a short connection to CVOUT / VOUT2 A2 GND Power and analog ground; make a short connection between both balls Flash LED current sink A3 LED_OUT1 B1 SW1 DCDC converter switching node - make a short connection to SW2 / coil LDCDC GND Power and analog ground; make a short connection between both balls ca B2 C1 C3 D1 DCDC converter output capacitor - make a short connection to CVOUT / VOUT1 SW2 DCDC converter switching node - make a short connection to SW1 /coil LDCDC LED_OUT2 ni C2 VOUT2 SCL Flash LED current sink 2 serial clock input for I C interface VIN Positive supply voltage input - connect to supply and make a short connection to input capacitor CVIN and to coil LDCDC E1 SDA serial data input/output for I C interface (needs external pullup resistor) E2 STROBE Te ch D2 E3 TXMASK/ TORCH 2 Digital input with pulldown to control strobe time for flash function Function 1: Connect to RF power amplifier enable signal - reduces currents during flash to avoid a system shutdown due to parallel operation of the RF PA and the flash driver 2 Function 2: Operate torch current level without using the I C interface to 2 operate the torch without need to start a camera processor (if the I C is connected to the camera processor www.austriamicrosystems.com/AS3648 1.5-4 2 - 38 AS3648 Datasheet, Confidential - A b s o l u t e M a x i m u m R a t i n g s 5 Absolute Maximum Ratings Stresses beyond those listed in Table 3 may cause permanent damage to the device. These are stress ratings only, and functional operation of the device at these or any other conditions beyond those indicated in Table 4, “Electrical Characteristics,” on page 4 is not implied. Exposure to absolute maximum rating conditions for extended periods may affect device reliability. Table 3. Absolute Maximum Ratings Max Units VIN to GND -0.3 +7.0 V STROBE, TXMASK/TORCH, SCL, SDA to GND -0.3 VIN + 0.3 V SW1/2, VOUT1/2, LED_OUT1/2 to GND -0.3 +7.0 V VOUT1/2 to SW1/2 -0.3 voltage between GND pins 0.0 V Comments al id Min max. +7V Note: Diode between VOUT1/2 and SW1/2 lv Parameter V short connection recommended mA Norm: EIA/JESD78 Continuous power dissipation 1230 mW PT at 70ºC Continuous power dissipation derating factor 16.7 mW/ºC PDERATE ESD HBM 3 pins LED_OUT1/2 ±8000 V ESD HBM ±2000 V ESD CDM ±500 V Norm: JEDEC JESD 22-C101E ESD MM ±100 V Norm: JEDEC JESD 22-A115-B am lc s on A te G nt st il 0.0 +100 +IIN Input Pin Current without causing latchup -100 Continuous Power Dissipation (TA = +70ºC) 1 2 Electrostatic Discharge Norm: JEDEC JESD22-A114F Temperature Ranges and Storage Conditions Junction to ambient thermal resistance 60 ºC/W For more information about thermal metrics, see application note AN01 Thermal Characteristics Junction Temperature +150 ºC Internally limited (overtemperature protection), max. 20000s 4 -55 +125 ºC Humidity 5 85 % Non condensing +260 ºC according to IPC/JEDEC J-STD-020 ca Storage Temperature Range ni Body Temperature during Soldering Moisture Sensitivity Level (MSL) Represents a max. floor life time of unlimited MSL 1 Te ch 1. Depending on actual PCB layout and PCB used measured on demoboard; for peak power dissipation during flashing see document 'AS3648 Thermal Measurements' 2. PDERATE derating factor changes the total continuous power dissipation (PT) if the ambient temperature is not 70ºC. Therefore for e.g. TAMB=85ºC calculate PT at 85ºC = PT - PDERATE * (85ºC - 70ºC) 3. Pins LED_OUT1 connected to LED_OUT2 and capacitor CVOUT connected to VOUT1/2 and GND; both GND pins connected together 4. Measured on AS3648 Demoboard. www.austriamicrosystems.com/AS3648 1.5-4 3 - 38 AS3648 Datasheet, Confidential - E l e c t r i c a l C h a r a c t e r i s t i c s 6 Electrical Characteristics VVIN = +2.7V to +4.4V, TAMB = -30ºC to +85ºC, unless otherwise specified. Typical values are at VVIN = +3.7V, TAMB = +25ºC, unless otherwise specified. Table 4. Electrical Characteristics Symbol Parameter Condition Min Typ 3.7 Max Unit VVIN Supply Voltage pin VIN 2.7 VVINREDUCE Supply Voltage AS3648 functionally working, but not all parameters fulfilled 2.5 ISHUTDOWN Shutdown Current TXMASK/TORCH=L, SCL=SDA=0V, VVIN<3.7V ISTANBY Standby Current interface active, TXMASK/TORCH=L, 1 VVIN<3.7V TAMB Operating Temperature Eta Application Efficiency (DCDC and current sink) 4.4 V 2.7 4.4 V 5.5 2.0 µA lv 0.6 -30 1.0 10 µA 25 85 ºC am lc s on A te G nt st il D_FUNC al id General Operating Conditions LCOIL=0.6µH@3A, LESR=60m, 2 LED_OUT1,2=1300mA , tFLASH<300ms 84 % DCDC Step Up Converter VVOUT DCDC Boost output Voltage (pin VOUT1/2) VVOUT5V DCDC Boost output Voltage (pin VOUT1/2) constant voltage mode operation const_v_mode (see page 25)=1 5.0 V RPMOS On-resistance DCDC internal PMOS switch 70 m RNMOS On-resistance DCDC internal NMOS switch 70 m fCLK Operating Frequency All internal timings are derived from this oscillator -7.5% 4.0 +7.5% MHz two flash LEDs at 1800mA combined 2.8 3.5 3.95 V single flash LED at 1600mA 2.8 4.2 V current_boost=1 0 2000 current_boost=0 0 1800 Current Sinks LED forward voltage ILED_OUT LED_OUT1/2 current sinks output combined ni LED_OUT1/2 current sink accuracy ch ILED_OUT ca VLED ILED_OUT ILED_OUT LED_OUT current ripple VILED_COMP LED_OUT current sink voltage compliance RIPPLE dual flash LED 5.5 single flash LED V 3 mA 1600 mA ILED_OUT>=800mA or ILED_OUT<500mA 0ºC < TJ < 100ºC -7 +7 % 500mA<ILED_OUT<800mA, 0ºC < TJ < 100ºC -5 +5 % LED_OUT1/2 ramp time Te RAMP 2.8 Ramp-up During startup 250 1000 µs Ramp-down 500 1000 µs ILED_OUT = 1000mA, BW=20MHz 20 Minimum voltage between pin LED_OUT1/2 and GND for operation of the current sink www.austriamicrosystems.com/AS3648 1.5-4 current_boost=0 325 current_boost=1 360 mAPP mV 4 - 38 AS3648 Datasheet, Confidential - E l e c t r i c a l C h a r a c t e r i s t i c s Table 4. Electrical Characteristics (Continued) VLED_OUTC OMP_HYST Parameter Condition Comparators hysteresis Hysteresis for comparators between LED_OUT1 and LED_OUT2 reporting signals led_out1above2 and led_out2above1 Min LED_OUT1/2 Leakage Current Pins LED_OUT1 and LED_OUT2 -1.0 0.0 5.0 5.3 coil_peak=00b 1.8 2.0 coil_peak=01b 2.25 2.5 2.78 default value maximum 40000s lifetime operation in overcurrent limit VLEDSHORT Flash LED short circuit detection voltage TOVTEMP Overtemperature Protection TOVTEMPHY coil_peak (see page 23)=10b 2.7 3.0 3.34 coil_peak=11b 3.15 3.5 3.9 tFLASHTIMEO UT VUVLO Undervoltage Lockout 5.6 V 2.23 High Level Input Voltage VIL Low Level Input Voltage VIHFLASH High Level Input Voltage A 1.0 V 144 ºC 5 ºC Can be adjusted with register flash_timeout (page 26) 2 1280 ms accuracy -7.5 +7.5 % Falling VVIN 2.25 2.5 V Rising VVIN 2.4 VUVLO VUVLO VUVLO +0.05 +0.1 +0.15 V Pins SCL, SDA. Pin TXMASK/TORCH in external torch mode (ext_torch_on=10) 1.26 VVIN V 0.0 0.54 V Pin STROBE. Pin TXMASK/TORCH for TxMask mode 5 (ext_torch_on=01) 0.7 VVIN V 0.0 0.54 V 0.3 V +1.0 µA ni ca VIH ch Low Level Input Voltage VOL Low Level Output Voltage pin SDA, IOL=3mA ILEAK Leakage current Pins SCL, SDA IPD Pulldown current to 6 GND Pins TORCH, STROBE and TXMASK/TORCH tDEBTORCH TORCH debounce time tTIMEOUT SCL timeout Te µA Junction temperature Flash Timeout Timer Digital Interface VILFLASH Voltage measured between pins VOUT1,2 and LED_OUT1,2 Overtemperature Hysteresis ST +1.0 am lc s on A te G nt st il ILIMIT DCDC Converter Overvoltage Protection Current Limit for coil LDCDC (Pin SW) measured at 40% 4 PWM duty cycle mV 320 lv VVOUT overvoltage protection Unit mV 900 Protection and Fault Detection Functions (see page 11) VVOUTMAX Max 30 VHIGH_VDS Comparator High VDS low vds and high vds comparator - see 4MHz/ VLOW_VDS Comparator Low VDS 1MHz Operating Mode Switching on page 11 ILEAK_ LED_OUT Typ al id Symbol -1.0 36 6.3 In indicator, assist or flash mode, if SCL is low longer than this timeout, the AS3648 automatically enters shutdown mode www.austriamicrosystems.com/AS3648 1.5-4 0.0 35 9 µA 11.7 ms 100 ms 5 - 38 AS3648 Datasheet, Confidential - E l e c t r i c a l C h a r a c t e r i s t i c s Table 4. Electrical Characteristics (Continued) Symbol Parameter Condition Min Typ Max Unit 400 kHz 2 I C mode timings - see Figure 3 on page 7 fSCLK 1/ tTIMEO SCL Clock Frequency UT tBUF Bus Free Time Between a STOP and START Condition 1.3 tHD:STA Hold Time (Repeated) 7 START Condition 0.6 tLOW LOW Period of SCL Clock 1.3 tHIGH HIGH Period of SCL Clock 0.6 µs tSU:STA Setup Time for a Repeated START Condition 0.6 µs tHD:DAT Data Hold Time tSU:DAT Data Setup Time 100 tR Rise Time of Both SDA and SCL Signals 20 + 0.1CB 300 ns tF Fall Time of Both SDA and SCL Signals 20 + 0.1CB 300 ns tSU:STO Setup Time for STOP Condition 0.6 CB Capacitive Load for Each Bus Line CI/O I/O Capacitance (SDA, SCL) al id µs µs am lc s on A te G nt st il lv µs 8 0 9 CB — total capacitance of one bus line in pF 0.9 µs ns µs 400 pF 10 pF Te ch ni ca 1. For VBAT=4.5V, SCL=1.8V, SDA=1.8V maximum ISTANBY is <16µA. 2. To improve efficiency at low output currents, the active part of the internal switching transistor PMOS is reduced in size to 1/5 its original size. This reduces the current required to drive the PMOS transistor and therefore improves overall efficiency at low output currents. 3. The maximum current driving capability depends on supply voltageVVIN, LED forward voltage and coil peak current limit. 4. Due to slope compensation of the current limit, ILIMIT changes with duty cycle - see Figure 16 on page 10. 5. The logic input levels VIH and VIL allow for 1.2V or 1.8V supplied driving circuit 6. A pulldown current of 36µA is equal to a pulldown resistor of 42k at 1.5V 7. After this period, the first clock pulse is generated. 8. A device must internally provide a hold time of at least 300ns for the SDA signal (referred to the VIHMIN of the SCL signal) to bridge the undefined region of the falling edge of SCL. 9. A fast-mode device can be used in a standard-mode system, but the requirement tSU:DAT = to 250ns must then be met. This is automatically the case if the device does not stretch the LOW period of the SCL signal. If such a device does stretch the LOW period of the SCL signal, it must output the next data bit to the SDA line tR max + tSU:DAT = 1000 + 250 = 1250ns before the SCL line is released. www.austriamicrosystems.com/AS3648 1.5-4 6 - 38 AS3648 Datasheet, Confidential - E l e c t r i c a l C h a r a c t e r i s t i c s Timing Diagrams 2 tBUF tLOW tR tHD:STA tF am lc s on A te G nt st il SCL tHD:STA tSU:STA tHD:DAT tHIGH tSU:STO tSU:DAT REPEATED START Te ch ni ca STOP START lv SDA al id Figure 3. I C mode Timing Diagram www.austriamicrosystems.com/AS3648 1.5-4 7 - 38 AS3648 Datasheet, Confidential - Ty p i c a l O p e r a t i n g C h a r a c t e r i s t i c s 7 Typical Operating Characteristics VVIN = 3.7V, TA = +25ºC (unless otherwise specified), LED: Osram Phaser 2 (VFLED=3.8V at 1A) Figure 4. DCDC Efficiency vs. VVIN Figure 5. Application Efficiency (PLED/PVIN) vs. VVIN 95 al id 90 100 85 90 80 85 75 lv % 75 % 80 70 70 65 60 2,8 3,2 3,6 IOUT = 2000mA/2LEDs IOUT = 1600mA/1 LED IOUT = 1300mA/1 LED IOUT = 1300mA/1 LED/ 1/4MHz on IOUT = 1000mA/1 LED 65 am lc s on A te G nt st il IOUT = 2000mA/2LEDs IOUT = 1600mA/1 LED IOUT = 1300mA/1 LED IOUT = 1300mA/1 LED/ 1/4MHz on IOUT = 1000mA/1 LED 4 4,4 4,8 60 5,2 2,8 3,2 3,6 Input Voltage (V) Figure 6. Battery Current vs. VVIN 4 3 2,5 4,4 4,8 5,2 Figure 7. Efficiency at low currents (300mA) IOUT = 2000mA/2LEDs IOUT = 1600mA/1 LED IOUT = 1300mA/1 LED IOUT = 1300mA/1 LED/ 1/4MHz on IOUT = 1000mA/1 LED 3,5 4 Input Voltage (V) 100 95 90 85 A 2 % 80 1,5 75 1 70 IOUT = 300mA/1 LEDs DCDC Efficiency 65 0 2,8 3,2 ca 0,5 3,6 4 4,4 4,8 5,2 IOUT = 300mA/1 LEDs Application Efficiency 60 2,8 3,2 3,4 3,6 3,8 4,0 4,2 4,4 Figure 9. IVIN, ILED Startup (ILED_OUT=800mA) Te ch ni Figure 8. ILED Startup (ILED_OUT=1.0A) 3,0 Input Voltage (V) Input Voltage (V) www.austriamicrosystems.com/AS3648 1.5-4 8 - 38 AS3648 Datasheet, Confidential - Ty p i c a l O p e r a t i n g C h a r a c t e r i s t i c s Figure 11. VOUT / ILED_OUT ripple, ILED_OUT = 1.0A am lc s on A te G nt st il lv al id Figure 10. ILED Startup (ILED_OUT=60mA) Figure 12. ILED Rampdown (ILED_OUT=1.0A) Figure 13. ILED_OUT vs. TAMB 63 62 61 mA 60 59 58 -30 -10 10 30 50 70 ca Ambient Temperature (C) Figure 14. Oscillator frequency fCLK vs. TAMB ni 4.2 Figure 15. Flash Timeout ch 4.1 MHz Te 4.0 3.9 3.8 -30 -10 10 30 50 70 Ambient Temperature (C) www.austriamicrosystems.com/AS3648 1.5-4 9 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n 8 Detailed Description The AS3648 is a high performance DCDC step up converter with internal PMOS and NMOS switches. Its output is 1 connected to one or two flash LEDs with an internal current sink. The device is controlled by the pins SDA and SCL in 2 I C mode. The actual operating mode like standby, assist light, indicator or flash mode, can then be chosen by the interface. If not 2 al id in standby mode, the device automatically enters shutdown mode by keeping SCL low for more than tTIMEOUT . The AS3648 includes a fixed frequency DCDC step-up with accurate startup control. Together with the current sink (on LED_OUT1/2) it includes several protection and safety functions. Internal Circuit Diagram lv Figure 16. Internal circuit Diagram AS3648 % . ) ! 2 +, 2 2 " $ / '%* '+, ,1+'+, % /&5' ' .) " ! " ! - %/ +,* - # ni & 3 '' 55%4& '1%4& ca ' " ! ! ()'*( '+,' ! ,*&&-, '% * ,1+ #" +6 " ! " ! ' - & ! $ am lc s on A te G nt st il Softstart / Soft ramp down ch During startup and ramp down the LED current is smoothly ramped up and ramped down. If the DCDC converter goes out of regulation (measured by monitoring the voltage across the current sinks), the ramp up is temporarily stopped in 3 Te order for the DCDC to return to regulation . 1. If two LEDs are connected, it is possible to operate each of the two LEDs individually as the LED current can be selected individually. 2. Following registers are reset to their default value if the timeout expires: out_on=0, ext_torch_on=00, mode_setting=00, const_v_mode=0. 3. The actual value of the LED current setting can be readout by the register led_current_actual (see page 29) to allow the camera processor to adopt to the actual operating conditions. www.austriamicrosystems.com/AS3648 1.5-4 10 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n 4MHz/1MHz Operating Mode Switching If freq_switch_on (see page 28)=1 and in flash and assist light mode (indicator mode or low current mode using PWM mode -see mode_setting (page 26) - always will use pulseskip) if led_current1>=40h and led_current2>=40h and current_boost=0, the DCDC converter always operates in PWM mode (exception: PFM mode is allowed during startup) to reduce EMI in EMI sensitive systems. For flash and assist light mode and high duty cycles close to 100% on-time (maximum duty cycle) of the PMOS, the DCDC converter can switch into a 1MHz operating mode and maxi4 al id mum duty cycle to improve efficiency for this load condition . The DCDC converter returns back to its normal 4MHz operating frequency when load or supply conditions change. Due to this switching between two fixed frequencies the noise spectrum of the system is exactly defined and predictable. If improved efficiency is required, the fixed switching between 1MHz / 4MHz can be disabled by freq_switch_on (see page 28)=0. In this case pulseskip will be used. The internal circuit for switching between these two frequencies is shown in Figure 17: AS3648 %!'/ lv Figure 17. Internal circuit of 4MHz/1Mhz selection am lc s on A te G nt st il $.!'/ &% ! $.1 $2#0 34527 " " #0$.!#0$./ #$% '()) * +, Note: For simplicity Figure 17 shows only a single current sink. Protection and Fault Detection Functions The protection functions protect the AS3648 and the LED(s) against physical damage. In most cases a Fault register 2 2 bit is set, which can be readout by the I C interface. The fault bits are automatically cleared by a I C readout of the fault ca 5 register. Additionally the DCDC is stopped and the current sinks are disabled by resetting out_on=0, mode_setting=00 and ext_torch_on=00. ni Overvoltage Protection In case of no or a broken LED(s) at the pin LED_OUT1/2 and an enabled DCDC converter, the voltage on VOUT1/2 6 rises until it reaches VVOUTMAX (overvoltage condition) and the voltage across the current source is below low_vds ., ch 7 Te the DCDC converter is stopped, the current sources are disabled and the bit fault_ovp (see page 28) is set . 4. Efficiency compared to a 4MHz only DCDC converter forced to operate with minimum duty cycle. 5. Applies for all faults except TXMASK event occurred 6. If overvoltage is reached, but none of the low_vds comparator(s) triggers, VOUT1/2 is still regulated below VVOUTMAX. 7. In constant voltage mode (5V generation, register bit const_v_mode=1) this fault is disabled. www.austriamicrosystems.com/AS3648 1.5-4 11 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Short Circuit Protection After the startup of the DCDC converter, the voltage on LED_OUT1/2 is continuously monitored and compared against 8 9 Figure 18. Short LED detection !!$ % & am lc s on A te G nt st il ! ' lv al id VLEDSHORT if the LED current is above 14mA (current_boost=0), 15.6mA (current_boost=1) (see Figure 18). If the voltage across the LED (VFLED = VOUT1/2-LED_OUT1/2) stays below VLEDSHORT, the DCDC is stopped (as a shorted LED is assumed), the current sinks are disabled and the bit fault_led_short (see page 28) is set. In a dual LED configuration for the AS3648, if a single shorted LED is detected, this LED is disabled and the device continuous operation with the other LED. !"! ## Overtemperature Protection The junction temperature of the AS3648 is continuously monitored. If the temperature exceeds TOVTEMP, the DCDC is stopped, the current sinks are disabled (instantaneous) and the bit fault_overtemp (see page 28) is set. The driver is automatically re-enabled 10 once the junction temperature drops below TOVTEMP-TOVTEMPHYST. TXMASK event occurred If during flash, TXMASK current reduction is enabled (see TXMASK on page 14, configured by ext_torch_on=01) and a TXMASK event happened (pin TXMASK/TORCH=1), the fault register bit fault_txmask (see page 27) is set. Flash Timeout If the flash is started a timeout timer is started in parallel. If the flash duration defined by the STROBE input (strobe_on = 1 and strobe_type = 1, see Figure 26 on page 18) exceeds tFLASHTIMEOUT (adjustable by register flash_timeout (see page 26)), the DCDC is stopped and the flash current sinks (on pin LED_OUT1/2) are disabled and fault_timeout is set. ca If the flash duration is defined by the timeout timer itself (strobe_on = 0, see Figure 24 on page 17), the register fault_timeout is set after the flash has been finished. Supply undervoltage Protection ni If the voltage on the pin VIN (=battery voltage) is or falls below VUVLO, the AS3648 is kept in shutdown state and all registers are set to their default state. ch Wakeup Circuit - Power off detection Te In flash, assist light and indicator mode (register mode_setting (page 26)=01, 10 or 11) and out_on (page 27)=1, if SCL is L for more than tTIMEOUT, shutdown mode is automatically entered. This feature automatically detects a power-off of the controlling circuit driving SCL and SDA (VDD_I/F goes to 0V e.g. due to a low power condition of the driving circuit) - the internal circuit is shown in Figure 19: 8. Measured for each LED_OUT1/2 pin 9. To avoid errors in short LED detection for LEDs with a high leakage current 10.In constant voltage mode (const_v_mode=1) the DCDC will not be automatically re-enabled. www.austriamicrosystems.com/AS3648 1.5-4 12 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Figure 19. Device Shutdown and Wakeup al id "& "#!$%" !!" '()(* )))( + &+ !!" $ am lc s on A te G nt st il AS3648 lv In shutdown mode once pin SCL goes high for the first time, the internal counter shown in Figure 19 is immediately reset thus releasing the internal RESET (assuming VIN is above VUVLO) signal and allows instant communication on 2 2 the I C bus. Therefore no additional action is required to leave the shutdown mode and start I C communication. Purpose of this circuit The purpose of this circuit is an additional security mechanism. Assume the user programmed torch or indicator operation (there is no timeout for these operating modes) and the battery slowly drops below the undervoltage limit of the system. The processor would get an reset by the PMIC and the LDO operating VDD_I/F is switched off, but the processor might not have been able to switch-off the torch/indicator operation of the AS3648. Due to the implemented security mechanism the AS3648 detects a power off of VDD_I/F and automatically enters shutdown. Current consumption in standby/shutdown mode ca The AS3648 is designed to draw minimum current in standby and shutdown mode. There is a small difference in current consumption between these two operating modes (typ. 300nA) only due to the internal level shifters (see the schmitt trigger input buffers connected to SCL and SDA in Figure 19) for shifting up the voltage on SCL/SDA (VDD_I/F e.g. 1.8V) to the supply voltage on VIN (e.g. 3.7V). If the AS3648 is driven with digital levels close to 0V/VIN, the current consumption for standby mode is identical to shutdown mode. Operating Mode and Currents ni The output currents and operating mode are selected according to the following table: Table 5. Operating Mode and current settings STROBE TORCH Te SCL and SDA ch AS3648 configuration SCL low for tTIME OUT X X mode_ setting out_on (see (see page page 27) 26) X X 1 www.austriamicrosystems.com/AS3648 operating mode and currents Condition Mode shutdown if previous operating mode was indicator, assist light or flash mode all registers are reset to their default values 1.5-4 LED_OUT1/2 output current 0 13 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 5. Operating Mode and current settings (Continued) X X 10, 01 or 11 X X 0 X X X X X 0->1 standby X ext_torch_on =10 external torch mode 01 10 11 1 indicator mode or 3 low current pwm mode assist light mode LED current is defined 2 by the 7LSB bits (6...0) of led_current1 and led_current2 1 1 strobe_on (see page 27) =0 flash mode; strobe_on = 1 and strobe_type (see page 27) = 0 flash duration defined by flash_timeout (see page 26) strobe_on = 1 and strobe_type = 1 flash duration defined by STROBE input; timeout defined by flash_timeout LED current is defined by led_current1 and led_current2 - the current can be reduced during flash, see Flash Current Reductions below ca 1 LED current is defined 2 by the 7LSB bits of led_current1 and led_current2 LED current is defined by the 6LSB bits (bits 5...0) of led_current1 and led_current2 pwm modulated with 31.25kHz defined by register inct_pwm (1/ 16...4/16) flash mode; X 0 am lc s on A te G nt st il X 2 I C commands are accepted X ext_torch_on (see page 23) not 10 0 X X Mode ext_torch_on =10 00 1 Condition LED_OUT1/2 output current al id STROBE mode_ setting out_on (see (see page page 27) 26) operating mode and currents lv TORCH SCL and SDA AS3648 configuration ch ni 1. SCL low for tTIMEOUT and operating mode is indicator, assist or flash mode then shutdown mode is entered. 2. The MSB bit of this register not used to protect the LED; therefore the maximum assist / torch light current = half the maximum flash current 3. The low current mode is a general purpose PWM mode to drive less current through the LED in average, but keep the actual pulsed current in a range where the light output from the LED is still specified. As only the 6 LSBs of led_current1 and led_current2 are used the maximum current is limited to 1/4 of the maximum flash current. Te Flash Current Reductions TXMASK Usually the flash current is defined by the register led_current1 and led_current2. If the TXMASK/TORCH input is used and (configured by ext_torch_on=01), the flash current is reduced to flash_txmask_current if TXMASK/TORCH=1. Current Reduction by VIN measurements in Flash Mode Due to the high load of the flash driver and the ESR of the battery (especially critical at low temperatures), the voltage on the battery drops. If the voltage drops below the reset threshold of the system would reset. To prevent this condition the AS3648 monitors the battery voltage and keeps it above vin_low_v_run as follows: www.austriamicrosystems.com/AS3648 1.5-4 14 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Before a flash is started the voltage on VIN is measured. If the voltage is below the setting of vin_low_v the fault_uvlo (see page 27) is set and the flash is disabled (driver stays in shutdown) if vin_low_v_shutdown=1. The flash current is reduced to flash_txmask_current if vin_low_v_shutdown=0. During flash, if the voltage on VIN drops below the threshold defined by vin_low_v_run, the flash current is reduced (or ramping of the current is stopped during flash current startup) and fault_uvlo is set. The timing for the reduction of the current is 8µs/LSB current change. During the flash pulse the actual used current can be readout by the register led_current_actual. al id After the flash pulse the minimum current can be readout by the register led_current_min - this allows to adjust the camera sensitivity (gain or iso-settings) for the subsequent flash pulse (e.g. when using a pre-flash and a main flash pulse). The internal circuit for low voltage current reductions are shown in Figure 20: Figure 20. Low Voltage current Reduction Internal Circuit (. am lc s on A te G nt st il -/ lv !"!#$ %"&' ( ,- (* ) (+ ) - - AS3648 ca ) & A mobile phone camera flash system can trigger a diagnostic flash and a main-flash: The diagnostic flash is initiated by the processor. After this diagnostic flash, the determined maximum flash current can 2 Te ch ni be read back through the I C interface from register led_current_min (see page 29) and used for the setting for the main flash. Therefore the current in the main-flash is constant and additionally the camera system can use this current for picture quality adjustments - the waveforms for this concept are shown in Figure 21: www.austriamicrosystems.com/AS3648 1.5-4 15 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Figure 21. Low Voltage current Reduction Waveform with diagnostic-Flash and Main-Flash Phase &' ( " # ! $ % %% am lc s on A te G nt st il ! "# lv al id If the diagnostic flash should be short (e.g. 10ms) it is recommended to operate this diagnostic flash at slightly higher vin_low_v_run setting compared to the main flash as shown in Figure 22: Figure 22. Low Voltage current Reduction Waveform with short diagnostic-Flash and Main-Flash Phase &' ( %% %% ca ! "# ! $ % %% Te ch ni The different settings for vin_low_v_run allow a constant main flash current without dropping VIN below vin_low_v_run. www.austriamicrosystems.com/AS3648 1.5-4 16 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Load Balancing To improve the efficiency of the AS3648 for LEDs with unmatched forward voltage and reduce the internal power dissipation of the AS3648, set the bit load_balance_on=1. This bit can change the currents through the LEDs by up to +/15% (up to 115%/85% of set current between LED_OUT1 to LED_OUT2) to match the forward voltage of the LED better as shown in Figure 23: !""# !# am lc s on A te G nt st il lv al id Figure 23. Load Balancing Flash Strobe Timings The flash timing are defined as follows: 1. Flash duration defined by register flash_timeout and flash is started immediately when this mode is selected by 2 the I C command (see Figure 24): set strobe_on = 0, start the flash by setting out_on = 1 2. Flash duration defined by register flash_timeout and flash started with a rising edge on pin STROBE (see Figure 25): set strobe_on = 1 and strobe_type = 0 3. Flash start and timing defined by the pin STROBE; the flash duration is limited by the timeout timer defined by flash_timeout (see Figure 26 and Figure 34): set strobe_on = 1 and strobe_type = 1 Figure 24. AS3648 flash duration defined by flash_timeout without using STROBE input "#$ ca ! ni Te ch www.austriamicrosystems.com/AS3648 1.5-4 17 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Figure 25. AS3648 flash duration defined by flash_timeout, starting flash with STROBE rising edge & ! " #$% al id !" & !" #!" am lc s on A te G nt st il ' lv Figure 26. AS3648 flash duration and start defined by STROBE, limited by flash_timeout; timer not expired $% Figure 27. AS3648 flash duration and start defined by STROBE, limited by flash_timeout; timer expired % #$ !" ca ni I2C Serial Data Bus 2 ch The AS3648 supports the I C bus protocol. A device that sends data onto the bus is defined as a transmitter and a device receiving data as a receiver. The device that controls the message is called a master. The devices that are controlled by the master are referred to as slaves. A master device that generates the serial clock (SCL), controls the bus access, and generates the START and STOP conditions must control the bus. The AS3648 operates as a slave on 2 Te the I C bus. Within the bus specifications a standard mode (100kHz maximum clock rate) and a fast mode (400kHz maximum clock rate) are defined. The AS3648 works in both modes. Connections to the bus are made through the open-drain I/O lines SDA and SCL. The following bus protocol has been defined (Figure 28): www.austriamicrosystems.com/AS3648 1.5-4 18 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Data transfer may be initiated only when the bus is not busy. During data transfer, the data line must remain stable whenever the clock line is HIGH. Changes in the data line while the clock line is HIGH are interpreted as control signals. Accordingly, the following bus conditions have been defined: Bus Not Busy al id Both data and clock lines remain HIGH. Start Data Transfer A change in the state of the data line, from HIGH to LOW, while the clock is HIGH, defines a START condition. Stop Data Transfer lv A change in the state of the data line, from LOW to HIGH, while the clock line is HIGH, defines the STOP condition. Data Valid am lc s on A te G nt st il The state of the data line represents valid data when, after a START condition, the data line is stable for the duration of the HIGH period of the clock signal. The data on the line must be changed during the LOW period of the clock signal. There is one clock pulse per bit of data. Each data transfer is initiated with a START condition and terminated with a STOP condition. The number of data bytes transferred between START and STOP conditions are not limited, and are determined by the master device. The information is transferred byte-wise and each receiver acknowledges with a ninth bit. Acknowledge Each receiving device, when addressed, is obliged to generate an acknowledge after the reception of each byte. The master device must generate an extra clock pulse that is associated with this acknowledge bit. A device that acknowledges must pull down the SDA line during the acknowledge clock pulse in such a way that the SDA line is stable LOW during the HIGH period of the acknowledge-related clock pulse. Of course, setup and hold times must be taken into account. A master must signal an end of data to the slave by not generating an acknowledge bit on the last byte that has been clocked out of the slave. In this case, the slave must leave the data line HIGH to enable the master to generate the STOP condition. 2 Figure 28. Data Transfer on I C Serial Bus SDA ca MSB SLAVE ADDRESS ch ni R/W DIRECTION BIT SCL 1 2 ACKNOWLEDGEMENT SIGNAL FROM RECEIVER ACKNOWLEDGEMENT SIGNAL FROM RECEIVER 6 7 8 9 1 2 3-7 8 9 ACK START CONDITION Te REPEATED IF MORE BYTES ARE TRANSFERRED STOP CONDITION OR REPEATED START CONDITION Depending upon the state of the R/W bit, two types of data transfer are possible: www.austriamicrosystems.com/AS3648 1.5-4 19 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n al id 1. Data transfer from a master transmitter to a slave receiver. The first byte transmitted by the master is the slave address. Next follows a number of data bytes. The slave returns an acknowledge bit after each received byte. Data is transferred with the most significant bit (MSB) first. 2. Data transfer from a slave transmitter to a master receiver. The master transmits the first byte (the slave address). The slave then returns an acknowledge bit, followed by the slave transmitting a number of data bytes. The master returns an acknowledge bit after all received bytes other than the last byte. At the end of the last received byte, a “not acknowledge” is returned. The master device generates all of the serial clock pulses and the START and STOP conditions. A transfer is ended with a STOP condition or with a repeated START condition. Since a repeated START condition is also the beginning of the next serial transfer, the bus is not released. Data is transferred with the most significant bit (MSB) first. The AS3648 can operate in the following two modes: lv 1. Slave Receiver Mode (Write Mode): Serial data and clock are received through SDA and SCL. After each byte is received an acknowledge bit is transmitted. START and STOP conditions are recognized as the beginning and end of a serial transfer. Address recognition is performed by hardware after reception of the slave address and direction bit (see Figure 29). The slave address byte is the first byte received after the master generates the START condition. The slave address byte contains the 7-bit AS3648 address, which is 0110000, 11 am lc s on A te G nt st il followed by the direction bit (R/W), which, for a write, is 0. After receiving and decoding the slave address byte the device outputs an acknowledge on the SDA line. After the AS3648 acknowledges the slave address + write bit, the master transmits a register address to the AS3648. This sets the register pointer on the AS3648. The master may then transmit zero or more bytes of data, with the AS3648 acknowledging each byte received. The address pointer will increment after each data byte is transferred. The master generates a STOP condition to terminate the data write. 2. Slave Transmitter Mode (Read Mode): The first byte is received and handled as in the slave receiver mode. However, in this mode, the direction bit indicates that the transfer direction is reversed. Serial data is transmitted on SDA by the AS3648 while the serial clock is input on SCL. START and STOP conditions are recognized as the beginning and end of a serial transfer (Figure 30 and Figure 31). The slave address byte is the first byte received after the master generates a START condition. The slave address byte contains the 7-bit AS3648 12 address, which is 0110000, followed by the direction bit (R/W), which, for a read, is 1. After receiving and decoding the slave address byte the device outputs an acknowledge on the SDA line. The AS3648 then begins to transmit data starting with the register address pointed to by the register pointer. If the register pointer is not written to before the initiation of a read mode the first address that is read is the last one stored in the register pointer. The AS3648 must receive a “not acknowledge” to end a read. <Slave Address> 0110000 0 A <Word Address (n)> <Data(n)> XXXXXXXX XXXXXXXX ni S <RW> ca Figure 29. Data Write - Slave Receiver Mode A XXXXXXXX A XXXXXXXX A P Data Transferred (X + 1 Bytes + Acknowledge) Te ch S - Start A - Acknowledge (ACK) P - Stop A <Data(n+X)> <Data(n+1)> 11.The address for writing to the AS3648 is 60h = 01100000b 12.The address for read mode from the AS3648 is 61h = 01100001b www.austriamicrosystems.com/AS3648 1.5-4 20 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n 0110000 1 A XXXXXXXX A XXXXXXXX S - Start A - Acknowledge (ACK) P - Stop NA - Not Acknowledge (NACK) <Data(n+X)> <Data(n+2)> A XXXXXXXX XXXXXXXX A Data Transferred (X + 1 Bytes + Acknowledge) Note: Last data byte is followed by a NACK P 0110000 0 A XXXXXXXX A XXXXXXXX Sr 0110000 A XXXXXXXX 1 A <Data(n+X)> A XXXXXXXX NA P Data Transferred (X + 1 Bytes + Acknowledge) Note: Last data byte is followed by a NACK Te ch ni ca S - Start Sr - Repeated Start A - Acknowledge (ACK) P - Stop NA - Not Acknowledge (NACK) A <Slave Address> <Data(n+2)> <Data(n+1)> <Data(n)> XXXXXXXX <Word Address (n)> <RW> <RW> am lc s on A te G nt st il Figure 31. Data Read (Write Pointer, Then Read) - Slave Receive and Transmit S NA al id S <Data(n+1)> <Data(n)> lv <Slave Address> <RW> Figure 30. Data Read (from Current Pointer Location) - Slave Transmitter Mode www.austriamicrosystems.com/AS3648 1.5-4 21 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Register Description Table 6. ChipID Register ChipID Register Addr: 0 This register has a fixed ID Bit Name Default Access Description 2:0 version Xh R AS3648 chip version number 7:3 fixed_id 10110b R This is a fixed identification (e.g. to verify the I C communication) 2 Table 7. Current Set LED1 Register Bit lv Current Set LED1 Register Addr: 1 al id Bit This register defines design versions Bit Name Default Access Description am lc s on A te G nt st il Caution: Define the current on pin LED_OUT1assist mode uses bits 6:0 of this current setting (max. half of full current setting) indicator or low current pwm mode uses only 5:0 of this current setting (max. 1/4 of full current setting) led_current1 9Ch R/W ni ca 7:0 0h 0mA 1h 3.5mA 2h 7.1mA ... ... 3Fh 222.4mA (maximum current for indicator or low current pwm mode, mode_setting=01) ... ... 7Fh 448.2mA (maximum current for assist light mode, mode_setting=10) ... ... 9Ch 551mA - default setting ... ... FEh 896.5mA (996.1mA if current_boost=1) FFh 900mA (1000mA if current_boost=1) 1 1 Te ch 1. Do not use current_boost=1 for currents <= 900mA www.austriamicrosystems.com/AS3648 1.5-4 22 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 8. Current Set LED2 Register Current Set LED2 Register Addr: 2 Bit This register defines LED Currents Bit Name Default Access Description R/W 0mA 1h 3.5mA 2h 7.1mA ... ... 3Fh 222.4mA (maximum current for indicator or low current pwm mode, mode_setting=01) am lc s on A te G nt st il 9Ch 0h lv led_current2 7:0 al id Define the current on pin LED_OUT2 in flash mode assist mode uses bits 6:0 of this current setting (max. half of full current setting) indicator or low current pwm mode uses only 5:0 of this current setting (max. 1/4 of full current setting) ... ... 7Fh 448.2mA (maximum current for assist light mode, mode_setting=10) ... ... 9Ch 551mA - default ... ... FEh 896.5mA (996.1mA if current_boost=1) FFh 900mA (1000mA if current_boost=1) 1 1 1. Do not use current_boost=1 for currents <= 900mA Table 9. TXMask Register Addr: 3 Bit Name This register defines the TXMask settings and coil peak current Default Access ext_torch_on 00 Te 3:2 Description Defines operating mode for input pin TXMASK/TORCH 00 pin has no effect 01 txmask-mode; during flash if TXMASK/TORCH=1, the LED current is set to flash_txmask_current - (see TXMASK on page 14) 10 external torch mode: if TXMASK/TORCH=1 and mode_setting=00, the AS3648is set into external 1 torch mode (LED current is defined by the 7LSB bits of led_current1 and led_current2) 11 don’t use R/W ch 1:0 ni ca Bit TXMask Register Defines the maximum coil current (parameter ILIMIT) coil_peak www.austriamicrosystems.com/AS3648 10 R/W 00 ILIMIT = 2.0A 01 ILIMIT = 2.5A 10 ILIMIT = 3.0A 11 ILIMIT = 3.5A 1.5-4 23 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 9. TXMask Register (Continued) TXMask Register Addr: 3 Bit This register defines the TXMask settings and coil peak current Bit Name Default Access Description Define the current on pin LED_OUT1/2 in flash mode if ext_torch_on=01 and TXMASK/TORCH=1 2 6h R/W 57mA (62.7mA if current_boost=1) 2h 113mA (125.5mA if current_boost=1) 3h 169mA (188.2mA if current_boost=1) 4h 226mA (251mA if current_boost=1) 5h 282mA (313.7mA if current_boost=1) 6h 339mA (376.5mA if current_boost=1)- default 7h 395mA (439.2mA if current_boost=1) 8h 452mA (502mA if current_boost=1) 9h 508mA (564.7mA if current_boost=1) Ah 565mA (627.5mA if current_boost=1) Bh 621mA (690.2mA if current_boost=1) Ch 678mA (752.9mA if current_boost=1) Dh 734mA (815.7mA if current_boost=1) Eh 791mA (878.4mA if current_boost=1) Fh 847mA (941.2mA if current_boost=1) al id 1h lv flash_txmask_current 0mA am lc s on A te G nt st il 7:4 0h Te ch ni ca 1. The MSB bit of this register not used to protect the LED; therefore the maximum current = half the maximum flash current 2. If current_boost=1, the LED current is increased by 11%. www.austriamicrosystems.com/AS3648 1.5-4 24 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 10. Low Voltage Register Low Voltage Register Addr: 4 Bit This register defines the operating mode with low battery voltages Bit Name Default Access Description R/W 1h 3.0V 2h 3.07V 3h 3.14V 4h 3.22V - default 5h 3.3V 6h 3.38V 7h 3.47V am lc s on A te G nt st il 4h function is disabled lv vin_low_v_run 2:0 0h al id Voltage level on VIN where current reduction triggers during operation (see Current Reduction by VIN measurements in Flash Mode on page 14) - only in flash mode; if VIN drops below this voltage during current ramp up, the current ramp up is stopped; during operation the current is decreased until the voltage on VIN rises above this threshold fault_uvlo is set Voltage level on VIN where driver will change current before startup (only in flash mode) if before startup (out_on set from 0 to 1), the voltage on VIN is below vin_low_v, the current is changed to flash_txmask_current (vin_low_v_shutdown=0) or 0=shutdown (vin_low_v_shutdown=1) and fault_uvlo is set vin_low_v 5h R/W vin_low_v_shutdown 0 Te 7 const_v_mode www.austriamicrosystems.com/AS3648 function is disabled 1h 3.0V 2h 3.07V 3h 3.14V 4h 3.22V 5h 3.3V - default 6h 3.38V 7h 3.47V Enables Shutdown of current reduction under low voltage conditions R/W ch 6 ni ca 5:3 0h 0 if before startup (out_on set from 0 to 1), the voltage on VIN is below vin_low_v, the current is changed to flash_txmask_current and fault_uvlo is set 1 if before startup (out_on set from 0 to 1), the voltage on VIN is below vin_low_v, the operating mode stays in shutdown (zero LED current) and fault_uvlo is set Enables Constant output voltage mode 0 R/W 0 Normal operation defined by mode_setting 1 5V constant voltage mode on VOUT1/2; reset registers mode_setting, out_on and ext_torch_on before setting this bit 1.5-4 25 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 11. Flash Timer Register Flash Timer Register Addr: 5 Bit This register identifies the flash timer and timeout settings Bit Name Default Access Description Define the duration of the flash timer and timeout timer 23h R/W 4ms 2h 6ms ... ... 23h 72ms - default ... ... 7F 256ms 80 264ms(now 8 ms LSB steps from here on) 81 272ms 82 280ms ... ... FEh 1272ms FFh 1280ms al id 1h 2 am lc s on A te G nt st il flash_timeout 2ms lv 1 7:0 0h 1. At maximum output current the flash duration should be limited to 120ms (depending of VF of the LED, thermal design and ambient temperature) to avoid overheating of the AS3648. 2. Internal calculation for codes above 80h: flash timeout [ms] = (flash_timeout-127) * 8 + 256 [ms] Table 12. Control Register Addr: 6 Bit Bit Name Control Register This register identifies the operating mode and includes an all on/off bit Default Access Description mode_setting 00 Te 2 00 shutdown or external torch mode if ext_torch_on (page 23)=10 01 indicator mode (or low current mode using PWM) LED current is defined by the 6LSB bits of led_current1 and led_current2 pwm modulated with 31.25kHz defined by register inct_pwm (1/16...4/16) R/W ch 1:0 ni ca Define the AS3648 operating mode assist light mode: 11 reserved www.austriamicrosystems.com/AS3648 1 10 X LED current is defined by the 7LSB bits of led_current1 and led_current2 flash mode: LED current is defined by led_current1 and led_current2 (out_on and mode_setting are automatically cleared after a flash pulse) R reserved - don’t use, always write 0 1.5-4 26 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 12. Control Register (Continued) Control Register Addr: 6 Bit This register identifies the operating mode and includes an all on/off bit Bit Name Default Access Description Enables the output current sinks (pin LED_OUT1/2) 0 R/W 0 outputs disabled 1 outputs enabled (out_on and mode_setting are automatically cleared after a flash pulse) al id out_on 3 lv 1. The MSB bit of this register not used to protect the LED; therefore the maximum assist light current = half the maximum flash current Table 13. Strobe Signalling Register Bit Strobe Signalling Register am lc s on A te G nt st il Addr: 7 Bit Name This register defines the flash current reducing and mode for STROBE Default Access Description Defines if the STROBE input is edge or level sensitive; see also bit strobe_on (page 27) strobe_type 6 1 R/W 0 STROBE input is edge sensitive 1 STROBE input is level sensitive Enables the STROBE input strobe_on 7 1 R/W 0 STROBE input disabled 1 STROBE input enabled in flash mode Table 14. Fault Register Fault Register Addr: 8 Bit Name fault_uvlo Te 3 4 0 R/sC 1 Description an undervoltage event has happened - see Current Reduction by VIN measurements in Flash Mode on page 14 0 No 1 Yes reserved 0 R reserved - don’t use reserved 0 R reserved - don’t use ch 2 ni 0 1 Default Access ca Bit This register identifies all the different fault conditions and provide information about the LED detection fault_txmask 0 R/sC 1 TXMASK/TORCH event triggered during flash - see TXMASK event occurred on page 12 0 No 1 Yes see Flash Timeout on page 12 fault_timeout www.austriamicrosystems.com/AS3648 0 R/sC 1 0 No fault 1 Flash timeout exceeded 1.5-4 27 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 14. Fault Register (Continued) Fault Register Addr: 8 Bit This register identifies all the different fault conditions and provide information about the LED detection Bit Name Default Access Description see Overtemperature Protection on page 12 0 R/sC 0 No fault 1 Junction temperature limit has been exceeded al id fault_overtemp 5 1 see Short Circuit Protection on page 12 0 R/sC 0 No fault 1 A shorted LED is detected (pin LED_OUT1/2) lv fault_led_short 6 1 see Overvoltage Protection on page 11 fault_ovp 0 R/sC 0 No fault 1 An overvoltage condition is detected (pin VOUT) am lc s on A te G nt st il 7 1 1. R/sC = Read, self clear; after readout the register is automatically cleared Table 15. PWM and Indicator Register PWM and Indicator Register Addr: 9 Bit This register defines the PWM mode (e.g. for indicator) and 4/1MHz mode switching Bit Name Default Access Description Define the AS3648 PWM with 31.25kHz operation for indicator or low current mode (mode_setting=01) inct_pwm ni freq_switch_on 0 R/W 00 1/16 duty cycle 01 2/16 duty cycle 10 3/16 duty cycle 11 4/16 duty cycle Exact frequency switching between 4MHz/1MHz for assist and flash modes for operation close to maximum pulsewidth 0 Pulseskip operation is allowed for all modes results in better efficiency 1 In flash and assist light mode (indicator mode or low current mode using PWM always will use pulseskip) if led_current1>=40h and led_current2>=40h and current_boost=0 , the DCDC is running at 4MHz or 1MHz (pulseskip is disabled) - results in improved noise performance; R/W Te ch 2 00 ca 1:0 3 led_out1above2 www.austriamicrosystems.com/AS3648 Measure the voltage difference between LED_OUT1 vs.LED_OUT2 during operation of the DCDC 0 R 0 V(LED_OUT1) > V(LED_OUT2) + VLED_OUTCOMP_HYST 1 1.5-4 28 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 15. PWM and Indicator Register (Continued) PWM and Indicator Register Addr: 9 Bit This register defines the PWM mode (e.g. for indicator) and 4/1MHz mode switching Bit Name Default Access Description led_out2above1 4 0 R al id Measure the voltage difference between LED_OUT1 vs.LED_OUT2 during operation of the DCDC 0 V(LED_OUT2) > V(LED_OUT1) + VLED_OUTCOMP_HYST 1 0 R/W lv load_balance_on 0 disabled 1 enabled am lc s on A te G nt st il 5 Balance the current sinks (up to +/-10% of set current) to improve application efficiency for unmatched LED forward voltages - see Load Balancing on page 17 Table 17. Minimum LED Current Register Minimum LED Current Register Addr: Eh Bit 7:0 This register reports the minimum LED current from the last operation cycle Bit Name Default Access 123 00h led_current_min R Description Minimum current through the current sink (only including all current reductions as described in Current Reduction by VIN measurements in Flash Mode excluding current reductions caused by TXMASK) 1. Only the current through LED_OUT1 is reported. 2. As the internal change of this register is asynchronous to the readout, it is recommended to readout the register after the flash pulse. The register will store the minimum current through the LED after e.g. a previous flash. This current can be used for a subsequent flash pulse for a safe operating range. 3. This register is only set if an actual current reduction happens (fault_uvlo (see page 27)=1) otherwise led_current_min=0. ca Table 18. Actual LED Current Register Addr: Fh led_current_actual This register reports the actual set LED current Default Access 12 ch 7:0 Bit Name ni Bit Actual LED Current Register 00h R Description Actual set current through the current sink (including all current reductions as described in Flash Current Reductions including LED current ramp up/down) Te 1. Only the current through LED_OUT1 is reported. 2. As the internal change of this register is asynchronous to the readout, it is recommended to readout the register twice and compare the results. www.austriamicrosystems.com/AS3648 1.5-4 29 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Table 19. Password Register Register Password Register Register Addr: 80h Password Protection for register Current Boost Bit Bit Name 7:0 password Default Access NA W Description Write A1h into this register to enable access to register 81h Current Boost Register Addr: 81h Bit al id Table 20. Current Boost Register Increase output current by 11% Bit Name Default Access Description 0 0 R/W 0 all LED current are as described in the tables 1 all LED current are increased by 11% am lc s on A te G nt st il current_boost lv Boost all LED currents by 11% 1 1. Write A1h into register password (0x80) to enable access to this register (password unlocking is only valid for a 2 single I C access) - required on any read or write access to this register Register Map Table 21. Register Map Register Definition Default Content b7 ChipID Current Set LED1 Current Set LED2 TXMask Low Voltage Flash Timer Control b6 b5 b4 b3 0 Bxh 1 9Ch led_current1 2 9Ch led_current2 3 68h 4 2Ch 5 23h 6 00h 7 C0h strobe_ strobe_t on ype 8 00h fault_ov fault_le fault_ov p d_short ertemp flash_txmask_current const_v vin_low _mode _v_shut down coil_peak vin_low_v b0 ext_torch_on vin_low_v_run flash_timeout fault_ti meout out_on reserve d fault_tx mask reserve reserve fault_uvl d d o 9 00h Minimum LED Current Eh 00h led_current_min Actual LED Current Fh 00h led_current_actual Password Register 80h 00h password Current Boost 81h 00h Te b1 version PWM and Indicator www.austriamicrosystems.com/AS3648 b2 fixed_id ch ni Strobe Signalling Fault Addr ca Name 1 load_ba led_out lance_o 2above n 1 led_out freq_swi 1above tch_on 2 mode_setting inct_pwm current_ boost 1.5-4 30 - 38 AS3648 Datasheet, Confidential - D e t a i l e d D e s c r i p t i o n Te ch ni ca am lc s on A te G nt st il lv al id 1. Always write’0’ to undefined register bits (e.g. to bits 4..7 of register 6) www.austriamicrosystems.com/AS3648 1.5-4 31 - 38 AS3648 Datasheet, Confidential - A p p l i c a t i o n I n f o r m a t i o n 9 Application Information External Components Input Capacitor CVIN al id Low ESR input capacitors reduce input switching noise and reduce the peak current drawn from the battery. Ceramic capacitors are required for input decoupling and should be located as close to the device as is practical. Table 22. Recommended Input Capacitor C TC Code Rated Voltage Size Manufacturer GRM188R60J106ME47 10µ >3µ[email protected] >2µ[email protected] X5R 6V3 0603 Murata www.murata.com LMK107BBJ106MA 10µ >3µ[email protected] X5R 6V3 0603 lv Part Number am lc s on A te G nt st il Taiyo Yuden www.t-yuden.com If a different input capacitor is chosen, ensure similar ESR value and at least 3µF capacitance at the maximum input supply voltage. Larger capacitor values (C) may be used without limitations. Add a smaller capacitor in parallel to the input pin VIN (e.g. Murata GRM155R61C104, >50nF @ 3V, 0402 size). Output Capacitor CVOUT Low ESR capacitors should be used to minimize VOUT ripple. Multi-layer ceramic capacitors are recommended since they have extremely low ESR and are available in small footprints. The capacitor should be located as close to the device as is practical. X5R dielectric material is recommended due to their ability to maintain capacitance over wide voltage and temperature range. Table 23. Recommended Output Capacitor Part Number GRM219R61A116U TC Code Rated Voltage Size 10µF +/-10% >4.2µF@5V X5R 10V 0805 6.3V 0603 (1.6x0.8x0.85mm max. 0.95mm height) 10µF +/-20% >4.2µF@4V X5R ca GRM188R60J106ME84 1 C Manufacturer Murata www.murata.com ni 1. Use only for VLED < 3.75V Te ch If a different output capacitor is chosen, ensure similar ESR values and at least 4.2µF capacitance at 5V output voltage. www.austriamicrosystems.com/AS3648 1.5-4 32 - 38 AS3648 Datasheet, Confidential - A p p l i c a t i o n I n f o r m a t i o n Inductor LDCDC The fast switching frequency (4MHz) of the AS3648 allows for the use of small SMDs for the external inductor. The 13 saturation current ISATURATION should be chosen to be above the maximum value of ILIMIT . The inductor should have 2 very low DC resistance (DCR) to reduce the I R power losses - high DCR values will reduce efficiency. Table 24. Recommended Inductor L DCR ISATURATION Size Manufacturer C3-P1.5R 1.5µH 58m 2.4A@25ºC, 1 2.0A 3x3x1.5mm (height is max.) Mitsumi www.mitsumi.com LQM32PN1R0MG0 1.0µH >0.6µH @ 3.0A 60m NRH2412T1R0N CKP3225N1R0M MAMK2520T1R0M MDMK2020T1R0M Murata www.murata.com 1.0µH >0.7µH @ 2.7A >0.6µH @ 3.0A 60m +/-25% 3.0A 3.2x2.5mm max 1.0mm height 1.0µH >0.6µH @ 2.5A 77m 2.5A 4 2.4x2.4x1.2 mm (height is max.) 1.0µH >0.6µH @ 3.0A <60m 3.0A 3.2x2.5x0.9 mm max 1.0mm height 1.0µH >0.6µH @ 2.75A 45m 3.0A 1.0µH >0.6µH @ 2.75A 56m 2.55A 1.0µH >0.6µH @ 2.75A 65m 2.0A 5 6 7 2.5x2.0x1.2 mm height is max Samsung ElectroMechancs www.sem.samsung.co.kr Taiyo Yuden www.t-yuden.com 2.0x2.0x1.2 mm height is max 2.0x1.6x1.0 mm height is max ca MAKK2016T1R0M 2.5x2.0x0.9 mm 3 1.5A (2.0A) max 1.00mm height am lc s on A te G nt st il CIG32W1R0MNE 100m 3.0A 3.2x2.5x0.9 mm max 1.0mm height lv 1.0µH >0.6µH @ 2.0A LQM2HPN1R0MGC 2 al id Part Number Te ch ni 1. Do not exceed maximum ISATURATION - can be ensured by setting coil_peak (will limit LED current) 2. Flash pattern: 200ms/3A, 200ms pause, 200ms/3A, 2s then repeat again (no limit on the number of total cycles) Alternative pattern with 1000ms/1.6A, 200ms pause, 200ms/3A, 200ms pause, 200ms/3A, 2s then repeat again. (no limit on the number of total cycles) 3. Set current limit to 2A (coil_peak=00b) - will limit maximum output current. Flash cycle limit: 150ms on, 500ms off; repeat maximum 50 times. 4. Set current limit to 2.5A (coil_peak=01b) - will limit maximum output current. 5. Set current limit to 3.0A (coil_peak=10b) - can limit maximum output current. 6. Set current limit to 2.5A (coil_peak=01b) - will limit maximum output current. 7. Set current limit to 2A (coil_peak=00b) - will limit maximum output current. If a different inductor is chosen, ensure similar DCR values and at least0.6µH inductance at ILIMIT. 2 13.Can be adjusted in I C mode with register coil_peak (see page 23) www.austriamicrosystems.com/AS3648 1.5-4 33 - 38 AS3648 Datasheet, Confidential - A p p l i c a t i o n I n f o r m a t i o n PCB Layout Guideline The high speed operation requires proper layout for optimum performance. Route the power traces first and try to minimize the area and wire length of the two high frequency/high current loops: Loop1: CVIN/CVIN2 - LDCDC - pin SW1/2 - pin GND - CVIN/CVIN2 Loop2: CVIN/CVIN2 - LDCDC - pin SW1/2 - pin VOUT1/2 - CVOUT - pin GND - CVIN/CVIN2 al id At the pin GND a single via (or more vias, which are closely combined) connects to the common ground plane. This via(s) will isolate the DCDC high frequency currents from the common ground (as most high frequency current will flow between Loop1 and Loop2 and will not pass the ground plane) - see the ‘island’ in Figure 32. Figure 32. Layout recommendation lv am lc s on A te G nt st il $! % &!&"& % )*' ' )*( AS3648 ( !" #! !! Note: If component placement rules allow, move all components close to the AS3648 to reduce the area and length of Loop1 and Loop2. Te ch ni ca An additional 100nF (e.g. Murata GRM155R61C104, >50nF @ 3V, 0402 size) capacitor CVIN2 in parallel to CVIN is recommended to filter high frequency noise for the power supply of AS3648. This capacitor should be as close as possible to the GND/VIN pins of AS3648. www.austriamicrosystems.com/AS3648 1.5-4 34 - 38 AS3648 Datasheet, Confidential - A p p l i c a t i o n I n f o r m a t i o n 5V Operating Mode The AS3648can be used to power a 5V system (e.g. audio amplifier). The operating mode is selected by setting register bit const_v_mode (page 25)=1. In this operating mode, the current sinks are disabled and cannot be switched on (no flash/torch operation is possible). Figure 33. 5V Operating Mode lv am lc s on A te G nt st il al id Note: There is always a diode between VIN and VOUT1/2 due to the internal circuit. Therefore VOUT1/2 cannot be completely switched off Te ch ni ca AS3648 www.austriamicrosystems.com/AS3648 1.5-4 35 - 38 AS3648 Datasheet, Confidential - P a c k a g e D r a w i n g s a n d M a r k i n g s 10 Package Drawings and Markings Figure 34. WL-CSP13 Marking AS3648 <Code> Note: austriamicrosystems logo AS3648 <Code> Encoded Datecode (4 characters) am lc s on A te G nt st il Line 1: Line 2: Line 3: al id lv Figure 35. WL-CSP13 Package Dimensions !" ( #$% &$' % % % % % % + ) ) ) * * + + + + ch + * ni * ) ) ) ca ( Te The coplanarity of the balls is 40µm. www.austriamicrosystems.com/AS3648 1.5-4 36 - 38 AS3648 Datasheet, Confidential - O r d e r i n g I n f o r m a t i o n 11 Ordering Information The devices are available as the standard products shown in Table 25. Table 25. Ordering Information Description AS3648-ZWLT 2000mA High Current LED Flash Driver Delivery Form Package Tape & Reel 13-pin WL-CSP (2.25x1.5x0.6mm) 0.5mm pitch RoHS compliant / Pb-Free / Green al id Model lv Note: All products are RoHS compliant and austriamicrosystems green. Buy our products or get free samples online at ICdirect: http://www.austriamicrosystems.com/ICdirect Technical support is found at http://www.austriamicrosystems.com/Technical-Support Note: AS3648-ZWLT am lc s on A te G nt st il For further information and requests, please contact us mailto:[email protected] or find your local distributor at http://www.austriamicrosystems.com/distributor Te ch ni ca AS3648Z Temperature Range: -30ºC - 85ºC WL Package: Wafer Level Chip Scale Package (WL-CSP) 2.25x1.5x0.6mm T Delivery Form: Tape & Reel www.austriamicrosystems.com/AS3648 1.5-4 37 - 38 AS3648 Datasheet, Confidential - O r d e r i n g I n f o r m a t i o n Copyrights Copyright © 1997-2012, austriamicrosystems AG, Schloss Premstaetten, 8141 Unterpremstaetten, Austria-Europe. Trademarks Registered ®. All rights reserved. The material herein may not be reproduced, adapted, merged, translated, stored, or used without the prior written consent of the copyright owner. al id All products and companies mentioned are trademarks or registered trademarks of their respective companies. Disclaimer am lc s on A te G nt st il lv 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. ca 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. ni Contact Information ch Headquarters austriamicrosystems AG Te Tobelbaderstrasse 30 Schloss Premstaetten A-8141 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/contact www.austriamicrosystems.com/AS3648 1.5-4 38 - 38