CONFIDENTIAL = Preliminary= ASAHI KASEI MICRODEVICES [AP2061] AP2061 2.0A High-side LED Driver for Camera Flash with I2C GENERAL DESCRIPTION The AP2061 is a white LED driver IC for camera flash applications in portable equipments. The device integrates a current mode synchronous boost DC/DC converter and maximum 2A current sources. The internal boost DC/DC converter integrates a switching FET and synchronous rectifier, and supports a small size multilayer inductor with 4MHz switching frequency. The internal current sources allow for grounded cathode connections for easier heat dissipation and simple LED arrangement. AP2061 includes eight protections that are LED thermal detection, inductor current limitation, input voltage detection, over voltage protection, under voltage lock out, device thermal protection, LED open/short protection and output-ground short protection to avoid significant system problems. Flash current, torch current, inductor limit current and flash on-time is programmable through I2C interface. The device uses a small size package (CSP: 1.6mm x 1.6mm, 0.4mm pitch, 16pins) to utilize less board space. FEATURE Power Supply Voltage: 2.7V~5.5V LED Current: max 2.0A, total (max 1A/ch) High-Side current source Switching Frequency: 4.0 MHz Automatically select working mode (DC/DC Bypass) Synchronized with RF power-Amplifier pulse I2C Function: - Flash LED current setting - Torch LED current setting - Flashing on-time setting - Current limit value setting - LED thermal detection voltage setting - Battery detection voltage setting - Error read support Protection Function: - LED thermal detection - Inductor current limit - Battery voltage detection - Over voltage protection (OVP) - Under voltage lock out (UVLO) - Thermal shutdown - LED open/short - Output-ground short Ta: -30 ~ 85°C Package: 16 pins CSP (1.6 x 1.6mm, 0.4mm pitch) Rev.0.1 -1- 2012/10 CONFIDENTIAL [AP2061] BLOCK DIAGRAM SW1 SW2 VIN UVLO OVP VOUT1 Back Gate Control Cin VOUT2 Oscillator ∑ Cout CONTROL LOGIC PWM COMPARATOR VIN Current Limit Error Amp DET NTC LED1 SCL LED2 SDA STROBE I2C I/F & Control TXON Current & Control TORCH VSS PGND1 PGND2 Figure 1. AP2061 Block Diagram Rev.0.1 -2- 2012/10 CONFIDENTIAL [AP2061] ■Pin Layout Top View 4 NTC TORCH LED2 LED1 3 SDA TXON VOUT VOUT 2 SCL STROBE SW SW 1 VIN VSS PGND PGND A B C D PIN/ /FUNCTION No. C3, D3 C2,D2 A1 C1,D1 B1 Pin Name VOUT SW VIN PGND VSS I/O O I - D4 LED1 O C4 LED2 O A4 NTC I/O B3 TXON I A2 A3 SCL SDA I I/O B2 STROBE I B4 TORCH I Rev.0.1 Function Voltage Output pin Connect to coil pin Connect to battery pin Power ground pin Analog ground pin Connect to Flash/Torch LED pin1 (This pin shall be open when unused) Connect to Flash/Torch LED pin2 (This pin shall be open when unused) LED temperature detection pin (connect to NTC thermistor) (This pin shall be connected to ground when unused) Synchronization input pin for RF transmission signal (This pin shall be connected to ground when unused) Pull-down resistor= 300kohm @typ I2C clock input pin I2C data input pin Flashing control input pin (This pin shall be connected to ground when unused) Pull-down resistor= 300kohm @typ Torching control input pin (This pin shall be connected to ground when unused) Pull-down resistor= 300kohm @typ -3- 2012/10 CONFIDENTIAL [AP2061] ABSOLUTE MAXIMUM RATING (PGND=VSS=0V; (Note 1)) Parameter VIN, SW, VOUT, LED1, LED2, NTC pins TXON, STROBE, SCL,SDA, TORCH pins Junction Temperature Storage Temperature Maximum Power Dissipation (Note 3) Symbol VIN1 min −0.3 VIN2 −0.3 TJMAX TSTG PD −55 max 6.5 VIN+0.3 (Note 2) 125 150 TBD Units V V °C °C W Note 1. All voltages are with respect to ground. PGND and VSS pins shall be connected to same ground. Note 2. The maximum value is low value either (VIN+0.3)V or 6.5V. Note 3. In the case that PCD (size: TBD x TBDmm, TBDmm, TBD layer), wiring density is 100% or more. The value is internal power loss of AP2061 and does not include external parts power dissipation. Note: Operation at or beyond these limits may result in permanent damage to the device. Normal operation is guaranteed at these extremes. RECOMMENDED OPERATING CONDITIONS (PGND=VSS=0V; (Note 1)) Parameter Input Voltage (VIN) Operation Temperature Symbol Vbatt1 TA min 2.7 -30 typ 3.7 25 max 5.5 85 Units V °C Note: When 4.7V < VIN < 5.5V, AP2061 can work normally in the case that protection function is not working, but the analog characteristics cannot be guaranteed. Rev.0.1 -4- 2012/10 CONFIDENTIAL [AP2061] ANALOG CHARACTERISTICS (PGND=VSS=0V (Note 1), VIN=2.7~4.7V,TA=-30~85 °C, Recommend Parts, unless otherwise specified) min typ max Units Conditions Parameter Symbol LED1, LED2 bits = “0” SCL, SDA pins= VIN Power-down Current ISB 1.0 5.0 µA VIN= 3.7V LED1=LED2=30mA setting Quiescent Current 1 1.5 mA IQ VOUT= 4.5V (from VIN pin) ILED1=ILED2= 1000mA (flash mode, VDD=3.7V, LED Current Accuracy1 IACCU1 -5 5 % TA=25 °C) LED Current Accuracy2 IACCU2 -8 8 % ILED1=ILED2= 1000mA LED Current Accuracy3 IACCU3 -12 12 % ILED1=ILED2= 200mA VLED1,VLED2 >=2.8V Current Source Dropped Voltage 1 TBD 0.35 TBD V VDROP1 ILED1=ILED2= 0.03~0.8A (VOUT-(LED1 or 2) pin voltage) CB bit= “0” VLED1,VLED2 >=2.8V Current Source Dropped Voltage 2 TBD 0.43 TBD V VDROP2 ILED1=ILED2= 1A (VOUT-(LED1 or 2) pin voltage) CB bit= “1” Over Voltage Protection 5.1 OVP TBD TBD V Hysteresis 0.21 Under Voltage Lock Out (UVLO) 2.4 2.5 2.6 VUVLO V Hysteresis 0.1 Boost Frequency FBOOST 3.7 4.0 4.3 MHz Timeout Time Accuracy TOUTA -10 10 % Inductor Current Limit Accuracy ILIMITA -15 15 % TXON pin= “L” to “H” Time (Flash to Torch) TFtoT 5 µs ILED1=ILED2=1000mA to 30mA NTC pin Detection Accuracy VDETA -8 8 % NTC pin current VCurrent TBD 35 TBD µA VIN Detection Accuracy VDETA -5 5 % VIN Detection Hysteresis VDETH 0.1 V Thermal Protection Temperature Treg 150 170 190 degree Hysteresis Tregh 15 DC CHARACTERISTICS (Ta= -30 ∼ 85°C; VIN=2.7 ∼ 5.5V), SCL, SDA, TXON, STROBE, TORCH pins. Parameter Symbol min High-Level Input Voltage VIH 1.2 Low-Level Input Voltage VIL Low-Level Output Voltage (Iout= 3mA) VOL (SDA pin) Input Leakage Current 1 IIN1 -2 (SCL, SDA pins) Pull-down Resistance RIN 100 TXON, STROBE, TORCH pins Rev.0.1 -5- typ - max VIN 0.4 0.4 Units V V V - 2 µA 300 700 kΩ 2012/10 CONFIDENTIAL [AP2061] LOGIC CHARACTERISTICS (TA = -30 ∼ 85°C; VIN =2.7 ∼ 5.5V) Parameter Symbol min Control Interface Timing: SCL Clock Frequency FSCL Bus Free Time Between Transmissions tBUF 1.3 Start Condition Hold Time (prior to first clock pulse) tHD:STA 0.6 Clock Low Time tLOW 1.3 Clock High Time tHIGH 0.6 Setup Time for Repeated Start Condition tSU:STA 0.6 SDA Hold Time from SCL Falling (Note 4) tHD:DAT 0 SDA Setup Time from SCL Rising tSU:DAT 0.1 Rise Time of Both SDA and SCL Lines tR Fall Time of Both SDA and SCL Lines tF Setup Time for Stop Condition tSU:STO 0.6 Capacitive load on bus Cb Pulse Width of Spike Noise Suppressed by Input Filter tSP 0 Note 4. Data must be held long enough to bridge the 300ns transition time of SCL. typ max Units - 400 0.3 0.3 400 50 kHz µs µs µs µs µs µs µs µs µs µs pF ns - ■ Timing Diagram VIH SDA VIL tLOW tBUF tR tHIGH tF tSP VIH SCL VIL tHD:STA Stop tHD:DAT tSU:DAT tSU:STA tSU:STO Start Stop Start Figure 2. I2C Bus Mode Timing Rev.0.1 -6- 2012/10 CONFIDENTIAL [AP2061] OPERATION OVERVIEW ■ Boost DC/DC Converter The AP2061 is a synchronically boost DC/DC converter with 4MHz switching frequency. The AP2061 can drive LEDs which connect to LED1 and LED2 pins with internal regulated current sources. The regulated current sources (high-side current sources) use PMOS FETs, allowing the LEDs to be directly connected to ground and providing better LED heat dissipation and simpler LED arrangement. The AP2061 can automatically regulate output voltage with different LED Forward Voltages (Vf). The AP2061 integrates a TXON input which can be used to change the LED current from flash mode to torch mode in order to reduce the battery current during RF transmission or high current events. ■ Protection Function To protect against system trouble or device damage, the AP2061 protection functions are as shown below. (PGND=VSS=0V; (Note 1), VIN=3.7V, Ta=25°C, Recommend Parts, unless otherwise specified) Protection 1) LED thermal protection (refer to next page) Working condition NTC pin voltage < setting voltage (DET[2:0]) Inductor peak current > setting current (LIMIT[1:0]) Device status Return condition All circuits power-down Address= “06H”, NTC= “1” Set LED1= LED2= “0” again NMOS change to off when inductor current reach to limited current Return automatically (1 cycle detected) 3) battery voltage detection protection In the case of flashing VIN pin voltage < setting voltage (VIN[1:0]) VINDET bit= “0”: Change to torch mode VINDET bit= “1”: Boost circuit and current source circuit power-down Next flash signal, Return automatically VIN pin voltage >setting voltage+0.1V 4) Over Voltage Protection (OVP) VOUT pin voltage > 5.1V Boost circuit power-down 5) Under Voltage Lock Out (UVLO) VIN pin voltage < 2.5V All circuits power-down Address= “06H”, UVLO= “1” Device temperature > 170 degree TSDSEL bit= “0”: All circuits power-down Address= “06H”, TSD= “1” TSDSEL bit= “1”: Boost circuit and current source circuit power-down 2) Over current protection (OCP) 6) Thermal Shut-Down (TSD) 7) LED1,LED2 pin in the state of open or short to GND 8) VOUT short to GND (VOUT-LED1< 0.1V or VOUT-LED2<0.1V) and OVP is detected During 20us, LED1 pin < 1.0V or LED2 < 1.0V VOUT pin voltage< 1.0V or in the case of start-up, during 1ms, VOUT voltage < VIN-0.1V during 1ms (COUT<=10uF) Return automatically VOUT pin voltage < 5.1V–0.215V Set LED1= LED2= “0” again TSDSEL bit= “0”: Set LED1= LED2= “0” again TSDSEL bit= “1”: Return automatically Device temperature >170 degree All circuit power-down Address= “06H”, LO= “1” All circuit power-down Address= “06H”, LS= “1” Set LED1= LED2= “0” again All circuit power-down Address= “06H”, VOS= “1” Note) When set LED1=LED2= “0” again, the register will be reset. Rev.0.1 -7- 2012/10 CONFIDENTIAL [AP2061] ■ LED Temperature Detection Function AP2061 can detect LED temperature with NTC thermistor (Negative Temperature Coefficient Thermistor) which connect to NTC pin. The current which flow at NTC thermistor is 35uA. Working condition Device status Protection LED1~2 temperature NTC pin voltage All circuits power-down < setting voltage(DET[2:0]) Address= “06H”, NTC= “1” protection (Note 5) Note 5. The parasitic capacitor of NTC pin should be lower 50pF. Return condition Set LED1= LED2= “0” again Example) NTC thermistor: NCP15WM154(150k @25°C、B constant=4582, 1005 size, Murata) NCP15WM224(220k @25°C、B constant=4582, 1005 size, Murata) Formula: R=Ro*exp(B*(1/T-1/To)) (R:The value in the case of ambit temperature T(k); Ro:The value in the case of ambit temperature To(k)) Detection voltage(V) @typ (set by resistor) Detection resistor (kohm) Detection temperature(°C) (in the case of using 150kohm) Detection temperature(°C) (in the case of using 220kohm) 0.60 0.67 0.74 0.81 0.88 0.95 1.02 17.1 19.1 21.1 23.1 25.1 27.1 29.1 74 71 69 66 64 62 61 84 82 79 76 74 72 70 In the case of using 150kohm In the case of using 220kohm Resistor (kohm) Temperature(°C) Rev.0.1 -8- 2012/10 CONFIDENTIAL [AP2061] ■ Recommend Sequence Examples AP2061 automatically power-up with internal power-on-reset. Enable pin is not needed, so decrease the load of CPU AP2061 can select LEVEL control (EDGE bit= “0”) or EDGE control (EDGE bit= “1”) • LEVEL control: Flashing: A) The time of STROBE pin= “H” or the time of FLASH bit= “1” < setting timer Driving LED while STROBE= “H” or FLASH bit= “1”. B) The time of STROBE pin= “H” or the time of FLASH bit= “1” > setting timer Maximum driving time is limited by setting time. Torching: Driving LED while TORCH pin= “H” or TORCH bit= “1”. • EDGE control: Flashing: Driving LED with the edge of STROBE pin= “L” to “H” or the edge of FLASH bit= “0” to“1”. Maximum driving time is limited by setting time. Torching: Driving LED while TORCH pin= “H” or TORCH bit= “1”. 1) Flashing sequence(LEVEL control) Power Supply (1) LED1,LED2 Setting (2) Resister Setting Setting (3) STROBE pin or FLASH bit VIN VOUT pin Setting timer Setting timer Internal Timer LED Current (7) reset (4) (4) (7) reset (5) (6) (5) (6) Figure 3. Flashing Sequence (LEVEL control) (1) After power supplied(VIN>=2.7V), for resetting AP2061 internal circuits, please wait 5ms, then set LED1, LED2 bits= “01” or “10” or “11”. (2) After LED1, LED2 bits is set, VOUT pin voltage change to VIN*95% within 5ms, and inrush current< 500mA. (3) After register setting finished, Please set STROBE pin= “H” or FLASH bit= “1”. AP2061 can drive LED with STROBE pin or FLASH bit, did not depend on VOUT voltage. After LED1, LED2 bits is set, please wait 5ms, then set STROBE pin= “H” or FLASH bit= “1”. (4) After STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, internal timer will start. (5) In the case of VOUT=VIN, after STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, LED current will reach setting current within 1ms. (6) When STROBE pin= “H” to “L” or LIGHT bit= “0” to “1”, The time of STROBE= “H” or the time of LIGHT bit= “1” > setting time: After timer finished, LED current is change to 0mA. The time of STROBE= “H” or the time of LIGHT bit= “1” < setting time: LED current is change to 0mA immediately. (7) The timer will be reset wit STROBE pin= “H” to “L” or FLASH bit= “1” to “0”. Rev.0.1 -9- 2012/10 CONFIDENTIAL [AP2061] 2) Flashing sequence(EDGE control) Power Supply (1) LED1,LED2 Setting (2) Resister Setting Setting (3) STROBE pin or FLASH bit VIN VOUT pin Setting timer Setting timer Internal Timer LED Current (7) reset (4) (5) (6) (7) reset (4) (5) (6) Figure 4. Flashing Sequence (EDGE control) (1) After power supplied(VIN>=2.7V), for resetting AP2061 internal circuits, please wait 5ms, then set LED1, LED2 bits= “01” or “10” or “11”. (2) After LED1, LED2 bits is set, VOUT pin voltage change to VIN*95% within 5ms, and inrush current< 500mA. (3) After register setting finished, Please set STROBE pin= “H” or FLASH bit= “1”. AP2061 can drive LED with STROBE pin or FLASH bit, did not depend on VOUT voltage. After LED1, LED2 bits is set, please wait 5ms, then set STROBE pin= “H” or FLASH bit= “1”. (4) After STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, internal timer will start. (5) In the case of VOUT=VIN, after STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, LED current will reach setting current within 1ms. (6) After timer finished, LED current will change to 0mA, even STROBE pin= “H” or FLASH bit= “1”. (7) When timer finished, it will be reset automatically. Rev.0.1 - 10 - 2012/10 CONFIDENTIAL [AP2061] 3) Torching sequence(LEVEL control or EDGE control) Power Supply (1) LED1,LED2 Setting (2) Resister Setting Setting (3) TORCH pin or TORCH bit VIN VOUT pin LED Current (4) (5) Figure 5. Torching Sequence (1) After power supplied(VIN>=2.7V), for resetting AP2061 internal circuits, please wait 5ms, then set LED1, LED2 bits= “01” or “10” or “11”. (2) After LED1, LED2 bits is set, VOUT pin voltage change to VIN*95% within 5ms, and inrush current< 500mA. (3) After register setting finished, Please set TORCH pin= “H” or TORCH bit= “1”. AP2061 can drive LED with TORCH pin or TORCH bit, did not depend on VOUT voltage. After LED1, LED2 bits is set, please wait 5ms, then set TORCH pin= “H” or TORCH bit= “1”. (4) In the case of VOUT=VIN, after TORCH pin= “L” to “H” or TORCH bit= “0” to “1”, LED current will reach setting current within 300µs. (5) After TORCH pin= “1” to “0” or TORCH bit= “1” to “0”, LED current will change to 0mA. Rev.0.1 - 11 - 2012/10 CONFIDENTIAL [AP2061] 4) Off → Torch → Flash → Torch → OFF sequence (LEVEL control) Power Supply (1) LED1,LED2 Setting Resister Setting (2) Setting (3) TORCH pin or TORCH bit STROBE pin or FLASH bit Setting timer Setting timer (8) reset (5) (5) (8) reset Internal Timer LED Current (6) (7) (4) (6) (7) (9) Figure 6. Torching to Flashing sequence (LEVEL control) (1) After power supplied(VIN>=2.7V), for resetting AP2061 internal circuits, please wait 5ms, then set LED1, LED2 bits= “01” or “10” or “11”. (2) After LED1, LED2 bits is set, VOUT pin voltage change to VIN*95% within 5ms, and inrush current< 500mA. (3) After register setting finished, waiting Please set TROCH pin= “H” or TORCH bit= “1”. After LED1, LED2 bits is set, please wait 5ms, then set TORCH pin= “H” or TORCH bit= “1”. (4) After TROCH pin= “L” to “H” or TORCH bit= “0” to “1”, LED current will reach to setting current within 300µs. (5) After STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, internal timer will start. (6) After STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, LED current will reach to setting current within 500µs. (7) When STROBE pin= “H” to “L” or LIGHT bit= “0” to “1”, The time of STROBE= “H” or the time of LIGHT bit= “1” > setting time: After timer finished, LED current is change to 0mA. The time of STROBE= “H” or the time of LIGHT bit= “1” > setting time: LED current is change to 0mA immediately. (8) The timer will be reset wit STROBE pin= “H” to “L” or FLASH bit= “1” to “0”. Rev.0.1 - 12 - 2012/10 CONFIDENTIAL [AP2061] 5) OFF → Torch → Flash → Torch → OFF (EDGE control) Power Supply (1) LED1,LED2 Setting Resister Setting (2) Setting (3) TORCH pin or TORCH bit STROBE pin or FLASH bit Setting timer Setting timer (5) Internal Timer LED Current (8) Reset (6) (7) (8) Reset (5) (6) (4) (7) (9) Figure 7. T orching to Flashing sequence (EDGE control) (1) After power supplied(VIN>=2.7V), for resetting AP2061 internal circuits, please wait 5ms, then set LED1, LED2 bits= “01” or “10” or “11”. (2) After LED1, LED2 bits is set, VOUT pin voltage change to VIN*95% within 5ms, and inrush current< 500mA. (3) After register setting finished, Please set TORCH pin= “H” or TORCH bit= “1”. After LED1, LED2 bits is set, please wait 5ms, then set TORCH pin= “H” or TORCH bit= “1”. (4) After TROCH pin= “L” to “H” or TORCH bit= “0” to “1”, LED current will reach to setting current within 300µs. (5) After STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, internal timer will start. (6) After STROBE pin= “L” to “H” or FLASH bit= “0” to “1”, LED current will reach setting current within 500µs. (7) After timer finished, LED current will change to 0mA, even STROBE pin= “H” or FLASH bit= “1”. (8) When timer finished, it will be reset automatically. Rev.0.1 - 13 - 2012/10 CONFIDENTIAL [AP2061] ■ Serial Control Interface The AP2061 supports a fast-mode I2C-bus system (max: 400kHz). Pull-up resistors at the SCL and SDA pins should be connected to VIN pin or less. 1. WRITE Operations Figure 8 shows the data transfer sequence for the I2C-bus mode. All commands are preceded by START condition. A HIGH to LOW transition on the SDA line while SCL is HIGH indicates START condition (Figure 13). After the START condition, a slave address is sent. This address is 7 bits long followed by the eighth bit that is a data direction bit (R/W). The most significant seven bits of the slave address are fixed as “0110111” (Figure 9). If the slave address matches that of the AP2061, the AP2061 generates an acknowledge and the operation is executed. The master must generate the acknowledge-related clock pulse and release the SDA line (HIGH) during the acknowledge clock pulse (Figure 14). An R/W bit value of “1” indicates that the read operation is to be executed. “0” indicates that the write operation is to be executed. The second byte consists of the control register address of the AP2061. The format is MSB first, and those most significant 3-bits are fixed to zero (Figure 10). The data after the second byte contains control data. The format is MSB first, 8-bits (Figure 11). The AP2061 generates an acknowledge after each byte is received. A data transfer is always terminated by STOP condition generated by the master. A LOW to HIGH transition on the SDA line while SCL is HIGH defines STOP condition (Figure 13). The AP2061 can perform more than one byte write operation per sequence. After receipt of the third byte the AP2061 generates an acknowledge and awaits the next data. The master can transmit more than one byte instead of terminating the write cycle after the first data byte is transferred. After receiving each data packet the internal 5-bit address counter is incremented by one, and the next data is automatically taken into the next address. If the address exceeds 0BH prior to generating the stop condition, the address counter will “roll over” to 00H and the previous data will be overwritten. The data on the SDA line must remain stable during the HIGH period of the clock. The HIGH or LOW state of the data line can only change when the clock signal on the SCL line is LOW (Figure 15) except for the START and STOP conditions. S T A R T SDA S T O P R/W="0" Slave S Address Sub Address(n) A C K Data(n) Data(n+1) A C K A C K Data(n+x) A C K P A C K A C K Figure 8. Data Transfer Sequence 0 1 1 0 1 1 1 R/W A2 A1 A0 D1 D0 Figure 9. The First Byte X X X X X Figure 10. The Second Byte (X: Don’t care) D7 D6 D5 D4 D3 D2 Figure 11. Byte Structure after the second byte Rev.0.1 - 14 - 2012/10 CONFIDENTIAL [AP2061] 2. READ Operations Set the R/W bit = “1” for the READ operation of the AP2061. The master can read the next address’s data by generating an acknowledge instead of terminating the write cycle after the receipt of the first data word. After receiving each data packet the internal 5-bit address counter is incremented, and the next data is automatically taken into the next address. If the address exceeds 04H prior to generating stop condition, the address counter will “roll over” to 00H and the previous data will be overwritten. The AP2061 supports two basic read operations: RANDOM ADDRESS READ. 2-1. RANDOM ADDRESS READ The random read operation allows the master to access any memory location at random. Prior to issuing the slave address with the R/W bit “1”, the master must first perform a “dummy” write operation. The master issues start request, a slave address (R/W bit = “0”) and then the register address to read. After the register address is acknowledged, the master immediately reissues the start request and the slave address with the R/W bit “1”. The AP2061 then generates an acknowledge, 1 byte of data and increments the internal address counter by 1. If the master does not generate an acknowledge to the data but generates a stop condition, the AP2061 ceases transmission. S T A R T SDA S T A R T R/W="0" Slave S Address Slave S Address Sub Address(n) A C K A C K S T O P R/W="1" Data(n) A C K Data(n+1) MA AC S K T E R Data(n+x) MA AC S T K E R MA AC S T K E R P MN A A S T C E K R Figure 12. RANDOM ADDRESS READ SDA SCL S P start condition stop condition Figure 13. START and STOP Conditions Rev. 0.1 - 15 - 2012/10 CONFIDENTIAL [AP2061] DATA OUTPUT BY TRANSMITTER not acknowledge DATA OUTPUT BY RECEIVER acknowledge SCL FROM MASTER 2 1 8 9 S clock pulse for acknowledgement START CONDITION Figure 14. Acknowledge on the I2C-Bus SDA SCL data line stable; data valid change of data allowed Figure 15. Bit Transfer on the I2C-Bus Rev. 0.1 - 16 - 2012/10 CONFIDENTIAL [AP2061] ■ Register Map Addr 00H 01H 02H 03H 04H 05H Register Name Instruction LED1/2 Control 1 LED1/2 Control 2 LED1/2 Control 3 Others Light Control 06H Fault/Status D7 INST7 D6 INST6 D5 INST5 D4 INST4 D3 INST3 D2 INST2 VINDET TSDSEL DIM VIN1 CB LEDT2 VIN0 EDGE LEDT1 DET2 TIME3 LEDT0 DET1 TIME2 LEDF2 DET0 EN_NG TSD NTC LO D5 INST5 R/W 0 D4 INST4 R/W 0 D3 INST3 R/W 0 LIGHT_ NG D1 INST1 LED2 TIME1 LEDF1 LIMIT1 FLASH D0 INST0 LED1 TIME0 LEDF0 LIMIT0 TORCH UVLO VOS LS D2 INST2 R/W 0 D1 INST1 R/W 0 D0 INST0 R/W 0 D1 LED2 R/W 0 D0 LED1 R/W 0 Note) The writing of Addr >= “07H” is prohibited. ■ Register Definitions Addr 00H Register Name Instruction Read/Write Default D7 INST7 R/W 0 D6 INST6 R/W 0 INST[7:0]: The instruction for error protection. IF INST[7:0] = 0110110 is not written, the access for other register is not effective. At first, please set INST[7:0] = 0110110. Addr 01H Register Name LED1/2 Control Read/Write Default D7 D6 D5 D4 D3 D2 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 LED1, LED2: The power ON/OFF for AP2061 and the ON/OFF control for LEDs that connect to LED2, LED1. LED2 LED1 AP2061 Status 0 0 Power-down 0 1 LED1=on, LED2=off 1 0 LED1= off, LED2=on 1 1 LED1=on, LED2=on Table 1. AP2061&LED status setting Rev. 0.1 - 17 - 2012/10 CONFIDENTIAL Addr 02H Register Name LED1/2 Control 2 R/W Default D7 R/W 0 D6 TSDSEL R/W 0 D5 CB R/W 0 D4 EDGE R/W 0 [AP2061] D3 TIME3 R/W 0 D2 TIME2 R/W 1 D1 TIME1 R/W 1 D0 TIME0 R/W 1 TIME0, TIME1, TIME2, TIME3: The on-time setting for LEDs that connect to LED1, LED2 in flash mode. TIME3 TIME2 TIME1 TIME0 Time TIME3 TIME2 TIME1 TIME0 Time 0 0 0 0 5ms 1 0 0 0 120ms 0 0 0 1 10ms 1 0 0 1 150ms 0 0 1 0 20ms 1 0 1 0 200ms 0 0 1 1 30ms 1 0 1 1 250ms 0 1 0 0 40ms 1 1 0 0 300ms 0 1 0 1 50ms 1 1 0 1 400ms 0 1 1 0 70ms 1 1 1 0 600ms 1 1 1 1 800ms 0 1 1 1 90ms Table 2. LED on-time setting in the case of flash mode Note) In the case of LED current = 1A/ch, if the flashing time more than 90ms, thermal protection is possible working. EDGE: Change flashing time control method 0: Level control 1: Edge control (flashing time is controlled by internal timer) CB: Change current source dropping voltage (VOUT-LED1/2) 0: 0.35V 1: 0.43V TSDSEL: Thermal Shut Down return mode 0: Set LED1= LED2= “0” again 1: Return automatically Rev. 0.1 - 18 - 2012/10 CONFIDENTIAL Addr 03H Register Name LED1/2 Control 3 R/W Default D7 R/W 0 D6 DIM R/W 0 D5 LEDT2 R/W 0 D4 LEDT1 R/W 0 [AP2061] D3 LEDT0 R/W 1 D2 LEDF2 R/W 1 D1 LEDF1 R/W 0 D0 LEDF0 R/W 0 LEDF0, LEDF1, LEDF2: The current setting for LEDs that connect to LED1, LED2. LEDF2 LEDF1 LEDF0 FLASH (mA) (1ch) FLASH (mA) (total) 0 0 0 150 300 0 0 1 250 500 0 1 0 350 700 0 1 1 450 900 1 0 0 550 1100 1 0 1 650 1300 1 1 0 800 1600 1 1 1 1000 2000 Table 3. LED current setting in the case of flash mode LEDT0, LEDT1, LEDT2: The current setting for LEDs that connect to LED1, LED2. DIM: Small torching current setting 0: normal setting 1: torching current= torching setting current / 5 Rev. 0.1 LEDT2 LEDT1 0 0 0 0 1 1 1 1 0 0 1 1 0 0 1 1 TORCH (mA) (1ch) TORCH (mA) (2ch) DIM= “0” DIM= “1” DIM= “0” DIM= “1” 0 30 6 60 12 1 50 10 100 20 0 70 14 140 28 1 90 18 180 36 0 110 22 220 44 1 130 26 260 52 0 160 32 320 64 1 200 40 400 80 Table 4. LED current setting in the case of torch mode LEDT0 - 19 - 2012/10 CONFIDENTIAL Addr 04H Register Name Others R/W Default D7 VINDET R/W 0 D6 VIN1 R/W 0 D5 VIN0 R/W 0 D4 DET2 R/W 0 [AP2061] D3 DET1 R/W 0 D2 DET0 R/W 0 D1 LIMIT1 R/W 1 D0 LIMIT0 R/W 0 LIMIT1, LIMIT0: Inductor limit current setting LIMIT1 LIMIT0 Limit Current 0 0 4.4A 0 1 3.5A 1 0 2.5A 1 1 1.5A Table 5. inductor current limit setting DET2, DET1, DET0: NTC pin voltage detection setting (NTC pin= 35µA) DET2 DET1 DET0 NTC pin voltage 0 0 0 off 0 0 1 0.60V 0 1 0 0.67V 0 1 1 0.74V 1 0 0 0.81V 1 0 1 0.88V 1 1 0 0.95V 1 1 1 1.02V Table 6. NTC pin voltage detection VIN1, VIN0: Input voltage detection VIN1 0 0 1 1 VIN0 Detection voltage 0 off 1 3.3V 0 3.1V 1 2.9V Table 7. Input voltage detection VINDET: The status after input voltage be detected 0: change to torch mode. 1: Power-down Rev. 0.1 - 20 - 2012/10 CONFIDENTIAL Addr 05H Register Name Light Control R/W Default [AP2061] D7 D6 D5 D4 D3 D2 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 R/W 0 FLASH: Drive LED with flashing current TORCH: Drive LED with torching current TORCH pin FLASH bit TROCH bit TXON pin STROBE pin Low Low Low 0 0 Low Low Low 0 1 Low Low Low 1 0 Low Low Low 1 1 Low Low High 0 0 Low Low High 0 1 Low Low High 1 0 Low Low High 1 1 Low High * * * High Low Low 0 0 STROBE pin= High or TORCH pin= High High or FLASH bit=1 or TORCH bit= 1 Table 8. LED Control Status (LED1=LED2 bits= “01” or “10” or “11”) Addr Register Name 06H Fault/Status R/W Default D7 LIGHT_ NG RD 0 D1 FLASH R/W 0 D0 TORCH R/W 0 Status Standby TORCH FLASH FLASH TORCH TORCH FLASH FLASH FLASH Standby TORCH D6 D5 D4 D3 D2 D1 D0 EN_NG TSD NTC LO UVLO VOS LS RD 0 RD 0 RD 0 RD 0 RD 0 RD 0 RD 0 LS: Show LED1 pin short to GND or LED2 pin short to GND. 0: not short 1: short VOS: Show VOUT1 pin short to GND or VOUT2 short to GND. 0: not short 1: short UVLO: Show UVLO is detected or not. 0: not in the status of UVLO 1: UVLO LO: show LED is open or not. 0: not open 1: open NTC: NTC protection is working or not. 0: not working 1: working TSD: Thermal shut down is detected or not. 0: not in the status of TSD 1: TSD EN_NG:for Start-up Stand-by 0:VOUT≧VIN-0.1V(Stand-by) 1:VOUT<VIN-0.1V(not Stand-by) LIGHT_NG:for Second Start-up Stand-by 0:VOUT≒VIN(Stand-by) 1:VOUT≠VIN(not Stand-by) Rev. 0.1 - 21 - 2012/10 CONFIDENTIAL [AP2061] SYSTEM DESIGN 4.5mm Inductor (2520) Please connect NTC pin, TROCH Cout pin, TXON pin, STROBE pin to GND, if these pins are not used. 4.6mm LED1 LED1 LED2 TORCH VOUT SW1 PGND LED2 VOUT SW2 PGND TORCH TXON STROBE VSS NTC SDA SCL VIN GND Cin VIN NTC TXON SDA SCL STROBE The example of recommended external parts (LED1=LED2=800mA, VIN=3.0~4.5V, VOUT<4.5V) 項目 記号 定数 Type( 寸法 メーカ Type(例 e(例) DFE252010C 2.5 x 2.0 x 1.2 mm TOKO DC RES=45mohm LQH44PN1R0NP0 Inductor L 1uH Murata 3.7 x 4.0 x 1.8mm DC=30mohm VLF4014ST-1R0N2R3 3.8 x 3.6 x 1.4mm TDK DC=50mohm GRM188B30J475KE18 (6.3V) Condenser NTC抵抗 Cin Cout 4.7uF 150k 220k 470k 1.6 x 0.8 mm C1608JB0J475K, C1608JB0J475M C1608X5R0J475K, C1608X5R0J475M 1.6 x 0.8 mm 3.5uF @3.7V, 2.8uF @5V NCP15WM154 (B constant=4614) NCP15WM224 (B constant=4614) 1.0×0.5 mm NCP15WM474 (B constant=4614) Table 9. Recommend external parts example Murata TDK Murata Note: - PGND and VSS shall be connected to the same ground plane. - Inductor shall be placed as close as possible to the chip. - Capacitors shall be placed as close as possible to the chip. - Low ESR (Equivalent Series Resistance) capacitors are recommended. Rev. 0.1 - 22 - 2012/10 CONFIDENTIAL [AP2061] PACKAGE Unit: mm MARKING 2061 Market No.(Product No.) YWWA Pin #1 indication YWWA : Date code (4 digit) A: manage number WW: producing week Y: producing year (Ex: 2012-> “2”) Rev. 0.1 - 23 - 2012/10 CONFIDENTIAL [AP2061] IMPORTANT NOTICE These products and their specifications are subject to change without notice. When you consider any use or application of these products, please make inquiries to the sales office of Asahi Kasei Microdevices Corporation (AKM) or authorized distributors as to the current status of the products. Descriptions of external circuits, application circuits, software and other related information contained in this document are provided only to illustrate the operation and application examples of the semiconductor products. You are fully responsible for the incorporation of these external circuits, application circuits, software and other related information in the design of your equipment. AKM assumes no responsibility for any losses incurred by you or third parties arising from the use of the information herein. AKM assumes no liability for infringement of any patent, intellectual property, or other rights in the application or use of such information contained herein. Any export of these products, or devices or systems containing them, may require an export license or other official approval under the law and regulations of the country of export pertaining to customs and tariffs, currency exchange, or strategic materials. AKM products are neither intended nor authorized for use as critical componentsNote1) in any safety, life support, or other hazard related device or systemNote2), and AKM assumes no responsibility for such use, except for the use approved with the express written consent by Representative Director of AKM. As used here: Note1) A critical component is one whose failure to function or perform may reasonably be expected to result, whether directly or indirectly, in the loss of the safety or effectiveness of the device or system containing it, and which must therefore meet very high standards of performance and reliability. Note2) A hazard related device or system is one designed or intended for life support or maintenance of safety or for applications in medicine, aerospace, nuclear energy, or other fields, in which its failure to function or perform may reasonably be expected to result in loss of life or in significant injury or damage to person or property. It is the responsibility of the buyer or distributor of AKM products, who distributes, disposes of, or otherwise places the product with a third party, to notify such third party in advance of the above content and conditions, and the buyer or distributor agrees to assume any and all responsibility and liability for and hold AKM harmless from any and all claims arising from the use of said product in the absence of such notification. Rev. 0.1 - 24 - 2012/10