Product Folder Sample & Buy Support & Community Tools & Software Technical Documents bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 bq24157S 1.55-A Fully Integrated Switch-Mode One-Cell Li-Ion Charger With Full USB Compliance and USB-OTG Support Not Recommended for New Designs 1 Features * 1 * * * * * * * * * * * * * * * * * Integrated Power FETs for up to 1.55-A Charge Rate Spread Spectrum Frequency Control for Improved EMI Performance High-Accuracy Voltage and Current Regulation - Input Current Regulation Accuracy: 5% (100 mA and 500 mA) - Charge Voltage Regulation Accuracy: 0.5% (25C), 1% (0C to 125C) - Charge Current Regulation Accuracy: 5% Factory Test-Mode for GSM Calibration Without a Battery Input Voltage Based Dynamic Power Management (VIN DPM) Bad Adaptor Detection and Rejection Safety Limit Register for Maximum Charge Voltage and Current Limiting High-Efficiency Mini-USB/AC Battery Charger for Single-Cell Li-Ion and Li-Polymer Battery Packs 20-V Absolute Maximum Input Voltage Rating 6.5-V Maximum Operating Input Voltage Programmable Charge Parameters through I2C Compatible Interface (up to 3.4 Mbps): - Input Current Limit - VIN DPM Threshold - Fast-Charge/Termination Current - Charge Regulation Voltage (3.5 to 4.44 V) - Low Charge Current Mode Enable/Disable - Termination Enable/Disable Synchronous Fixed-Frequency PWM Controller Operating at 3 MHz With 0% to 99.5% Duty Cycle Automatic High Impedance Mode for Low Power Consumption Robust Protection - Reverse Leakage Protection Prevents Battery Drainage - Thermal Regulation and Protection - Input/Output Overvoltage Protection Status Output for Charging and Faults USB Friendly Boot-Up Sequence Automatic Charging Power Up System Without Battery * Boost Mode Operation for USB OTG: - Input Voltage Range (from Battery): 3.2 to 4.5 V - Output for VBUS: 5.05 V, 350 mA 2.1 x 2.0-mm, 20-Pin DSBGA Package Pin-to-Pin Compatible With bq24157 and bq24158 * * 2 Applications * * * Mobile and Smart Phones MP3 Players Handheld Devices 3 Description The bq24157S is a compact, flexible, high-efficiency, USB-friendly switch-mode charge management device for single-cell Li-ion and Li-polymer batteries used in a wide range of portable applications. The charge parameters can be programmed through an I2C interface. The IC integrates a synchronous PWM controller, power MOSFETs, input current sensing, high-accuracy current and voltage regulation, and charge termination, into a small DSBGA package. The IC charges the battery in three phases: conditioning, constant current, and constant voltage. The input current is automatically limited to the value set by the host. Device Information(1) PART NUMBER bq24157S PACKAGE BODY SIZE (NOM) DSBGA (20) 2.10 mm x 2.00 mm (1) For all available packages, see the orderable addendum at the end of the data sheet. Typical Application Circuit RSNS LO 1 mH VBUS VBUS CIN 1 mF VBAT SW U1 bq24157S CO1 CBOOT 22 mF 33 mF 33 nF CIN 4.7 mF PMID PACK+ CCSIN + 0.1 mF CSIN 10 kW 10 kW 10 kW 2 I C BUS SCL SCL SDA PACK- CSOUT SDA STAT STAT OTG CD 10 kW HOST BOOT PGND VAUX CO2 OTG CD CCSOUT VREF CVREF 0.1 mF 1 mF 10 kW A. Use RSNS = 68 m to program up to 1.25-A charge current, use RSNS = 55 m to program up to 1.55-A charge current. For detailed instructions, refer to the Detailed Design Procedure. 1 An IMPORTANT NOTICE at the end of this data sheet addresses availability, warranty, changes, use in safety-critical applications, intellectual property matters and other important disclaimers. PRODUCTION DATA. Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Table of Contents 1 2 3 4 5 6 7 8 Features .................................................................. Applications ........................................................... Description ............................................................. Revision History..................................................... Description (continued)......................................... Pin Configuration and Functions ......................... Specifications......................................................... 1 1 1 2 3 3 4 7.1 7.2 7.3 7.4 7.5 7.6 4 4 4 4 5 8 Absolute Maximum Ratings ..................................... ESD Ratings.............................................................. Recommended Operating Conditions....................... Thermal Information .................................................. Electrical Characteristics........................................... Typical Performance Characteristics ........................ Detailed Description ............................................ 11 8.1 8.2 8.3 8.4 Overview ................................................................. Functional Block Diagrams ..................................... Feature Description................................................. Device Functional Modes........................................ 11 12 15 24 8.5 Register Maps ......................................................... 26 9 Application and Implementation ........................ 29 9.1 Application Information............................................ 29 9.2 Typical Application .................................................. 29 10 Power Supply Recommendations ..................... 34 10.1 System Load After Sensing Resistor .................... 34 11 Layout................................................................... 36 11.1 Layout Guidelines ................................................. 36 11.2 Layout Example .................................................... 36 12 Device and Documentation Support ................. 38 12.1 12.2 12.3 12.4 12.5 Device Support...................................................... Documentation Support ........................................ Trademarks ........................................................... Electrostatic Discharge Caution ............................ Glossary ................................................................ 38 38 38 38 38 13 Mechanical, Packaging, and Orderable Information ........................................................... 39 13.1 Package Summary................................................ 39 4 Revision History Changes from Revision A (June 2014) to Revision B Page * Deleted "Safety Timer with Reset Control" from the Features .............................................................................................. 1 * Changed the package Features From: 2.25 x 2.65 mm To: 2.1 x 2.0 mm ............................................................................ 1 * Changed the BODY SIZE values in the Device Information table ......................................................................................... 1 * Moved Tstg Storage Temperature From: ESD Ratings To: Absolute Maximum Ratings (1) * Changed the title of Figure 3 From Battery Detection at Power Up To: Power Up in DEFAULT Mode ................................ 8 * Changed "32S Mode" To: "HOST Mode" and 15 Minute Mode To: DEFAULT Mode in Figure 5 ......................................... 8 * Changed 32-second mode To: HOST mode in the Overview section ................................................................................. 11 * Changed 15-minute operation To: default mode in the Overview section ........................................................................... 11 * Changed 100-ms power-up delay From: No To: Yes in Table 1.......................................................................................... 11 * Changed Figure 19 .............................................................................................................................................................. 14 * Changed text From: "During the normal charging process with HOST control..." To: "During the normal charging process with HOST control and termination enabled.." ....................................................................................................... 17 * Changed Title From: 15-Minute Safety Timer To: DEFAULT Mode ................................................................................... 17 * Changed 32-second mode To: HOST mode in USB Friendly Power Up ............................................................................ 17 * Changed 15-minute mode To: DEFAULT mode and 32-s mode To: HOST mode in Input Current Limiting at Power Up ........................................................................................................................................................................................ 17 * Added a NOTE to the Application and Implementation section ........................................................................................... 29 * Changed Figure 30 .............................................................................................................................................................. 33 * Changed Figure 31 .............................................................................................................................................................. 33 * Added Figure 30 .................................................................................................................................................................. 33 Changes from Original (February 2013) to Revision A * 2 (2) ............................................... 4 Page Added the Handling Ratings table, Detailed Description section, Feature Description section, Device Functional Modes section, Register Maps section, Application and Implementation section. Power Supply Recommendations section, Layout section, Device and Documentation Support section, Mechanical, Packaging, and Orderable Information section ................................................................................................................................................................. 1 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 5 Description (continued) Charge is terminated based on battery voltage and user-selectable minimum current level. During normal operation, the IC automatically restarts the charge cycle if the battery voltage falls below an internal threshold and automatically enters sleep mode or high impedance mode when the input supply is removed. The charge status can be reported to the host using the I2C interface. During the charging process, the IC monitors its junction temperature (TJ) and reduces the charge current after TJ increases to about 125C. To support a USB OTG device, bq24157S can provide VBUS (5.05 V) by boosting the battery voltage. The IC is available in 20-pin DSBGA package. 6 Pin Configuration and Functions 20-Bump DSBGA Package (Top View) A1 A2 A3 A4 VBUS VBUS BOOT SCL B3 B4 PMID B1 PMID B2 PMID SDA C1 C2 C3 C4 SW SW SW STAT D1 D2 D3 D4 PGND PGND PGND OTG E1 E2 E3 E4 VREF CSOUT CSIN CD Pin Functions PIN I/O DESCRIPTION NAME NUMBER BOOT A3 I/O CD E2 I Charge disable control pin. CD = 0, charge is enabled. CD = 1, charge is disabled and VBUS pin is high impedance to GND. CSIN E1 I Charge current-sense input. Battery current is sensed across an external sense resistor. A 0.1-F ceramic capacitor to PGND is required. CSOUT E4 I Battery voltage and current sense input. Bypass it with a ceramic capacitor (minimum 0.1 F) to PGND if there are long inductive leads to battery. OTG D4 I Boost mode enable control or input current limiting selection pin. When OTG is in active status, the device is forced to operate in boost mode. It has higher priority over I2C control and can be disabled using the control register. At POR while in DEFAULT mode, the OTG pin is the default to be used as the input current limiting selection pin. The I2C register is ignored at startup. When OTG = High, IIN_LIMIT = 500 mA and when OTG = Low, IIN_LIMIT = 100 mA. Bootstrap capacitor connection for the high-side FET gate driver. Connect a 33-nF ceramic capacitor (voltage rating 10 V) from BOOT pin to SW pin. PGND D1, D2, D3 PMID B1, B2, B3 I/O SCL A4 I I2C interface clock. Connect a 10-k pullup resistor to 1.8-V rail (VAUX= VCC_HOST) SDA B4 I/O I2C interface data. Connect a 10-k pullup resistor to 1.8-V rail (VAUX= VCC_HOST) STAT C4 O Charge status pin. Pull low when charge in progress. Open drain for other conditions. During faults, a 128-s pulse is sent out. STAT pin can be disabled by the EN_STAT bit in control register. STAT can be used to drive a LED or communicate with a host processor. C1, C2, C3 O Internal switch to output inductor connection VBUS A1, A2 I/O Charger input voltage. Bypass it with a 1-F ceramic capacitor from VBUS to PGND. It also provides power to the load during boost mode. VREF E3 O Internal bias regulator voltage. Connect a 1-F ceramic capacitor from this output to PGND. TI does not recommend an external load on VREF. SW Power ground Connection point between reverse blocking FET and high-side switching FET. Bypass it with a minimum of 3.3-F capacitor from PMID to PGND. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 3 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com 7 Specifications 7.1 Absolute Maximum Ratings (1) (2) over operating free-air temperature (unless otherwise noted) Supply voltage (with respect to PGND (3)) Input voltage (with respect to PGND (3) ) Output voltage (with respect to PGND (3)) MIN MAX -2 20 V VBUS; VPMID VBUS - 0.3 V UNIT SCL, SDA, OTG, SLRST, CSIN, CSOUT, CD -0.3 7 V PMID, STAT -0.3 20 V VREF -0.3 7 V SW, BOOT -0.7 20 V 7 V -0.3 7 V V Voltage difference between CSIN and CSOUT inputs (V(CSIN) - V(CSOUT)) Voltage difference between BOOT and SW inputs (V(BOOT) - V(SW)) Voltage difference between VBUS and PMID inputs (V(VBUS) - V(PMID)) Voltage difference between PMID and SW inputs (V(PMID) - V(SW)) Output sink STAT Output current (average) SW -7 0.7 -0.7 20 V 10 10 mA 1.55 (2) A TA Operating free-air temperature range -30 85 C Tstg Storage temperature range -45 150 C TJ Junction temperature -40 125 C (1) (2) (3) Stresses beyond those listed under absolute maximum ratings 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 under recommended operating conditions is not implied. Exposure to absolute-maximum-rated conditions for extended periods may affect device reliability. All voltage values are with respect to the network ground terminal unless otherwise noted. Duty cycle for output current should be less than 50% for 10-year lifetime when output current is above 1.5 A. All voltages are with respect to PGND if not specified. Currents are positive into, negative out of the specified terminal, if not specified. For thermal limitations and considerations of packages, see Thermal Information . 7.2 ESD Ratings Electrostatic discharge V(ESD) (1) (2) MIN MAX Human body model (HBM), per ANSI/ESDA/JEDEC JS-001, all pins (1) 0 2000 Charged device model (CDM), per JEDEC specification JESD22-C101, all pins (2) 0 500 UNIT V JEDEC document JEP155 states that 500-V HBM allows safe manufacturing with a standard ESD control process. JEDEC document JEP157 states that 250-V CDM allows safe manufacturing with a standard ESD control process. 7.3 Recommended Operating Conditions MIN VBUS Supply voltage, bq24157S TJ Operating junction temperature range (1) NOM MAX UNIT 4 6 (1) V -40 125 C The inherent switching noise voltage spikes should not exceed the absolute maximum rating on either the BOOST or SW pins. A tight layout minimizes switching noise. 7.4 Thermal Information THERMAL METRIC (1) bq24157S YFF (20 PINS) RJA Junction-to-ambient thermal resistance 85 RJC(top) Junction-to-case (top) thermal resistance 25 RJB Junction-to-board thermal resistance 55 JT Junction-to-top characterization parameter 4 JB Junction-to-board characterization parameter 50 RJC(bot) Junction-to-case (bottom) thermal resistance N/A (1) 4 UNIT C/W For more information about traditional and new thermal metrics, see the IC Package Thermal Metrics application report, SPRA953. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 7.5 Electrical Characteristics Circuit of Figure 28, VBUS = 5 V, HZ_MODE = 0, OPA_MODE = 0 (CD = 0), TJ = -40C to 125C, TJ = 25C for typical values (unless otherwise noted) PARAMETER TEST CONDITIONS MIN TYP MAX UNIT INPUT CURRENTS VBUS > VBUS(min), PWM switching I(VBUS) VBUS supply current control 10 VBUS > VBUS(min), PWM not switching 23 A Leakage current from battery to VBUS pin 0C < TJ < 85C, V(CSOUT) = 4.2 V, high impedance mode, VBUS = 0 V 5 A Battery discharge current in high impedance mode, (CSIN, CSOUT, SW pins) 0C < TJ < 85C, V(CSOUT) = 4.2 V, high impedance mode, V = 0 V, SCL, SDA, OTG = 0 V or 1.8 V 23 A V 0C < TJ < 85C, CD = 1 or HZ_MODE = 1 Ilgk mA 5 15 VOLTAGE REGULATION V(OREG) Output regulation voltage programable range Operating in voltage regulation, programmable TA = 25C Voltage regulation accuracy TA = -40C to 125C 3.5 4.44 -0.5% 0.5% -1% 1% 550 1250 CURRENT REGULATION (FAST CHARGE) IO(CHARGE) V(LOWV) V(CSOUT) < V(OREG), VBUS > V(SLP), R(SNS) = 68 m, LOW_CHG = 0, Programmable Output charge current programmable range Low charge current (default after POR in 15 min mode) VLOWV VCSOUT < VOREG, VBUS > VSLP, RSNS= 68 m, LOW_CHG = 1, OTG = High 325 350 VLOWV VCSOUT < VOREG, VBUS > VSLP, RSNS= 68 m, LOW_CHG = 0, OTG = High 550 569 37.4 mV V(IREG)< 44.2 mV Regulation accuracy of the voltage across R(SNS) (for charge current regulation) V(IREG) = IO(CHARGE) x R(SNS) 44.2 mV V(IREG) mA mA -3.5% 3.5% -3% 3% 3.4 3.7 WEAK BATTERY DETECTION V(LOWV) Weak battery voltage threshold programmable range2 (1) Adjustable using I2C control Weak battery voltage accuracy -5% Hysteresis for V(LOWV) Battery voltage falling Deglitch time for weak battery threshold Rising voltage, 2-mV overdrive, tRISE = 100 ns V 5% 100 mV 30 ms CD, OTG, AND SLRST PIN LOGIC LEVEL VIL Input low threshold level VIH Input high threshold level I(bias) Input bias current 0.4 V 1.0 A 400 mA 1.3 V Voltage on control pin is 5 V CHARGE TERMINATION DETECTION I(TERM) Termination charge current programmable range V(CSOUT) > V(OREG) - V(RCH), VBUS > V(SLP), R(SNS) = 68 m, programmable Deglitch time for charge termination Both rising and falling, 2-mV overdrive, tRISE, tFALL = 100 ns Regulation accuracy for termination current across R(SNS) V(IREG_TERM) = IO(TERM) x R(SNS) 50 30 ms 3.4 mV V(IREG_TERM) 6.8 mV -15% 6.8 mV < V(IREG_TERM) 17 mV -10% 10% 17 mV < V(IREG_TERM) 27.2 mV -5.5% 5.5% 15% BAD ADAPTOR DETECTION VIN(min) Input voltage lower limit Bad adaptor detection Deglitch time for VBUS rising above VIN(min) Rising voltage, 2-mV overdrive, tRISE = 100 ns Hysteresis for VIN(min) Input voltage rising ISHORT Current source to GND During bad adaptor detection tINT Detection Interval Input power source detection 3.6 3.8 4.0 30 100 20 30 V ms 200 mV 40 mA 2 s INPUT BASED DYNAMIC POWER MANAGEMENT VIN_DPM Input Voltage DPM threshold programmable range VIN DPM threshold accuracy (1) 4.2 4.76 -3% 1% V While in DEFAULT mode, if a battery that is charged to a voltage higher than this voltage is inserted, the charger enters Hi-Z mode and awaits I2C commands. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 5 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Electrical Characteristics (continued) Circuit of Figure 28, VBUS = 5 V, HZ_MODE = 0, OPA_MODE = 0 (CD = 0), TJ = -40C to 125C, TJ = 25C for typical values (unless otherwise noted) PARAMETER TEST CONDITIONS MIN TYP MAX TJ = 0C to 125C 88 93 98 TJ = -40C to 125C 86 93 98 TJ = 0C to 125C 450 475 500 TJ = -40C to 125C 440 475 500 UNIT INPUT CURRENT LIMITING IIN = 100 mA IIN_LIMIT Input current limiting threshold IIN = 500 mA mA mA VREF BIAS REGULATOR VREF VBUS > VIN(min) or V(CSOUT) > VBUS(min), I(VREF) = 1 mA, C(VREF) = 1 F Internal bias regulator voltage 2 VREF output short current limit 6.5 30 V mA BATTERY RECHARGE THRESHOLD V(RCH) Recharge threshold voltage Below V(OREG) Deglitch time V(SCOUT) decreasing below threshold, tFALL = 100 ns, 10-mV overdrive 100 120 150 130 mV ms STAT OUTPUTS VOL(STAT) Low-level output saturation voltage, STAT pin IO = 10 mA, sink current High-level leakage current for STAT Voltage on STAT pin is 5 V 0.55 V 1 A I2C BUS LOGIC LEVELS AND TIMING CHARACTERISTICS VOL Output low threshold level IO = 10 mA, sink current 0.4 V VIL Input low threshold level V(pullup) = 1.8 V, SDA and SCL 0.4 V VIH Input high threshold level V(pullup) = 1.8 V, SDA and SCL I(BIAS) Input bias current V(pullup) = 1.8 V, SDA and SCL 1 A f(SCL) SCL clock frequency 1.2 V 3.4 MHz BATTERY DETECTION I(DETECT) Battery detection current before charge done (sink current) (2) tDETECT Battery detection time Begins after termination detected, V(CSOUT) V(OREG) -0.5 mA 262 ms SLEEP COMPARATOR V(SLP) Sleep-mode entry threshold, VBUS - VCSOUT 2.3 V V(CSOUT) V(OREG), VBUS falling V(SLP_EXIT) Sleep-mode exit hysteresis 2.3 V V(CSOUT) V(OREG) Deglitch time for VBUS rising above V(SLP) + V(SLP_EXIT) Rising voltage, 2-mV overdrive, tRISE = 100 ns 0 40 100 mV 140 200 260 mV 30 ms UNDERVOLTAGE LOCKOUT (UVLO) UVLO IC active threshold voltage VBUS rising - exits UVLO 3.05 3.3 UVLO(HYS) IC active hysteresis VBUS falling below UVLO - enters UVLO 120 150 mV 140 ms Power up delay 3.55 V PWM f(OSC) Voltage from BOOT pin to SW pin During charge or boost operation Internal top reverse blocking MOSFET onresistance 6.5 IIN(LIMIT) = 500 mA, measured from VBUS to PMID 180 250 Internal top N-channel switching MOSFET onresistance Measured from PMID to SW, VBOOT - VSW= 4 V 120 250 Internal bottom N-channel MOSFET onresistance Measured from SW to PGND 110 210 Oscillator frequency 3.0 Frequency accuracy D(MAX) Maximum duty cycle D(MIN) Minimum duty cycle -10% 6 m MHz 10% 99.5% 0 Synchronous mode to non-synchronous mode transition current threshold (2) (2) V Low-side MOSFET cycle-by-cycle current sensing 100 mA Bottom N-channel FET always turns on for approximately 30 ns, and then turns off if current is too low. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Electrical Characteristics (continued) Circuit of Figure 28, VBUS = 5 V, HZ_MODE = 0, OPA_MODE = 0 (CD = 0), TJ = -40C to 125C, TJ = 25C for typical values (unless otherwise noted) PARAMETER TEST CONDITIONS MIN TYP MAX UNIT CHARGE MODE PROTECTION VOVP_IN_USB VOVP ILIMIT VSHORT ISHORT Input VBUS OVP threshold voltage VBUS threshold to turn off converter during charge 6.3 6.5 6.7 Output OVP threshold voltage V(CSOUT) threshold over V(OREG) to turn off charger during charge 110 117 121 V(OVP) hysteresis Lower limit for V(CSOUT) falling from above V(OVP) Cycle-by-cycle current limit for charge Charge mode operation 1.8 2.4 3.0 Trickle to fast charge threshold V(CSOUT) rising 2.0 2.1 2.2 VSHORT hysteresis V(CSOUT) falling below VSHORT Trickle charge charging current V(CSOUT) VSHORT) V %VOREG 11 100 20 30 A V mV 40 mA BOOST MODE OPERATION FOR VBUS (OPA_MODE = 1, HZ_MODE = 0) VBUS_B Boost output voltage (to VBUS pin) 2.5 V < V(CSOUT) < 4.5 V Boost output voltage accuracy Including line and load regulation IBO Maximum output current for boost VBUS_B = 5.05 V, 3.3 V < V(CSOUT) < 4.5 V, TJ= 0C - 125C IBLIMIT Cycle by cycle current limit for boost VBUS_B = 5.05 V, 2.5 V < V(CSOUT) < 4.5 V VBUSOVP Overvoltage protection threshold for boost (VBUS pin) Threshold over VBUS to turn off converter during boost VBUSOVP hysteresis VBUS falling from above VBUSOVP Maximum battery voltage for boost (CSOUT pin) V(CSOUT) rising edge during boost VBATMAX hysteresis V(CSOUT) falling from above VBATMAX 200 Minimum battery voltage for boost (CSOUT pin) During boosting 2.5 Before boost starts 2.9 VBATMAX VBATMIN Boost output resistance at high-impedance mode (from VBUS to PGND) CD = 1 or HZ_MODE = 1 5.05 -3% V 3% 350 mA 1.0 5.8 6.0 A 6.2 162 4.75 4.9 V mV 5.05 V mV V 3.05 217 V k PROTECTION TSHTDWN) Thermal trip 165 Thermal hysteresis TCF Thermal regulation threshold 10 Charge current begins to reduce Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S C 120 7 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com 7.6 Typical Performance Characteristics Using circuit shown in Figure 28, TA = 25C, unless otherwise specified. VSW VSW VSW 5 V/div VSW 5 V/div IBAT I Inductor 500 mA/div IND IBAT 200 mA/div 2 s/div VBUS = 5 V 200 s/div VBAT = 3.5 V VIN = 5 V Figure 1. Cycle by Cycle Current Limiting In Charge Mode Overload Operation VBUS 4 V/div VBAT = 3.2 V ICHG = 950 mA Figure 2. Charge Current Ramp Up No Input Current Limit VBUS 2 V/div VBAT 2 V/div VSW 2 V/div VSW 5 V/div IBUS 20 mA/div IBUS 100 mA/div 10 ms/div 100 ms/div VBUS = 5 V No Battery Connected Termination Disabled VBUS = 5 V at 8 mA ICHG = 550 mA Figure 3. Power Up in DEFAULT Mode IIN_limit = 100 mA Figure 4. Poor Source Detection VBUS VBUS 1 V/div OTG 2 V/div VBAT = 3.2 V IBUS OTG DEFAULT Mode IBAT 200 mA/div HOST Mode IBAT IBUS 200 mA/div Write Command 1 s/div 500 s/div OTG Control, DEFAULT Mode: VBUS = 5 V, VBAT = 3.1 V, IIN_limit = 100 and 500 mA I2C Control, HOST Mode: IIN_limit = 100 mA VBUS = 5 V at 500 mA VIN_DPM = 4.52 V Figure 5. Input Current Control 8 Submit Documentation Feedback VBAT = 3.5 V ICHG = 1550 mA Figure 6. VIN Based DPM Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Typical Performance Characteristics (continued) Efficiency (%) Using circuit shown in Figure 28, TA = 25C, unless otherwise specified. 94 93 92 91 90 89 88 87 86 85 84 83 82 81 80 VBUS AC Coupled VBUS 100 mV/div VBAT AC Coupled VBAT 100 mV/div VSW AC Coupled VSW 2 V/div VBAT = 3.0 V VBAT = 3.6 V VBAT = 4.2 V I Inductor 0.2 A/div IND 0.0 0.1 0.2 0.3 0.4 0.5 0.6 0.7 0.8 0.9 1.0 1.1 1.2 1.3 1.4 1.5 5 s/div Charge Current (A) VBUS = 5.05 V IBUS = 42 mA Figure 8. Boost Waveform (PFM Mode) Figure 7. Charger Efficiency VBUS 5 V/div VBAT = 3.5 V VBUS 200 mV/div, 5.05 V Offset VBUS VPMID VPMID 2 V/div VBAT 200 mV/div, 3.5 V Offset VSW VSW 5 V/div VSW 5 V/div IBUS IBUS 0.5 A/div IBAT 500 mV/div 5 ms/div 100 s/div VBUS = 5.05 V VBAT = 3.5 V ILOAD (at VBUS) = 5 to 450 mA VBUS = 5.05 V Figure 9. VBUS Overload Waveforms (Boost Mode) VBUS 100 mV/div 5.05 V Offset VBAT 0.2 V/div 3.5 V Offset VBAT = 3.5 V IBUS = 0 to 360 mA Figure 10. Load Step Up Response (Boost Mode) VBUS 2 V/div VBUS OTG 5 V/div OTG VSW VSW 5 V/div VSW 5 V/div IBAT 0.1 A/div IBUS 0.5 A/div 100 s/div VBUS = 5.05 V VBAT = 3.5 V IBUS 10 ms/div IBUS = 0 to 217 mA Figure 11. Load Step Up Response (Boost Mode) VBUS = 4.5 V (Charge Mode) VBUS = 5.1 V (Boost Mode) VBAT = 3.5 V, IIN_LIM = 500 mA, (HOST Mode) Figure 12. Boost to Charge Mode Transition (OTG Control) Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 9 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Typical Performance Characteristics (continued) Using circuit shown in Figure 28, TA = 25C, unless otherwise specified. 95 5.09 5.08 90 85 VBUS (V) Efficiency (%) 5.07 80 VBAT = 3.6 V 0 50 100 150 5.04 IBUS = 50 mA IBUS = 100 mA IBUS = 200 mA IBUS = 375 mA 5.02 VBAT = 4.2 V 70 5.05 5.03 VBAT = 2.7 V 75 5.06 5.01 200 2.6 2.8 3.0 3.2 Load Current at VBUS (mA) 3.4 3.6 3.8 4.0 4.2 VBAT (V) Figure 13. Boost Efficiency Figure 14. Line Regulation For Boost 5.09 5.08 VOUT AC Coupled 10 mV/div 5.07 VBUS 5.06 INDUCTOR 5.05 AC Coupled 50 mA/div 5.04 5.03 5.02 VBAT = 2.7 V 5.01 VBAT = 3.6 V AC Coupled 10 mA/div VBAT = 4.2 V 5 0 50 100 150 200 200 ns/div Load Current at VBUS (mA) ICHG = 1.2 A Figure 15. Load Regulation for Boost 10 IBAT Figure 16. Output Ripple for Voltage and Current Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 8 Detailed Description 8.1 Overview For a current-restricted power source, such as a USB host or hub, a high-efficiency converter is critical to fully use the input power capacity for quickly charging the battery. Due to the high efficiency for a wide range of input voltages and battery voltages, the switch mode charger is a good choice for high speed charging with less power loss and better thermal management than a linear charger. The bq24157S includes highly integrated synchronous switch-mode chargers, featuring integrated FETs and small external components, targeted at extremely space-limited portable applications powered by 1-cell Li-Ion or Li-polymer battery pack. Furthermore, the device has bidirectional operation to achieve boost function for USBOTG support. The bq24157S has three operation modes: charge mode, boost mode, and high impedance mode. In charge mode, the IC supports a precision Li-ion or Li-polymer charging system for single-cell applications. In boost mode, the IC boosts the battery voltage to VBUS for powering attached OTG devices. In high impedance mode, the IC stops charging or boosting and operates in a mode with very-low current from VBUS or battery, to effectively reduce the power consumption when the portable device is in standby mode. Through I2C communication with a host (referred to as HOST mode), the IC achieves smooth transition among the different operation modes. During DEFAULT operation, the charger will still charge the battery but uses each register's default values. Table 1. Device Features Features bq24157S VOVP (V) 6.5 D4 pin definition OTG ICHARGE(MAX) at POR in DEFAULT mode with R(SNS) = 68 m and OTG = High 550 mA ICHARGE(MAX) in HOST mode with R(SNS) = 68 m and safety limit register increased from default (A) 1.5 Output regulation voltage at POR (V) 3.54 Boost function Yes 100 mA (OTG = Low); 500 mA (OTG = High) Input current limit in DEFAULT mode Battery detection at power up No 2 6AH I C address PN1 (bit4 of 03H) 1 PN0 (bit3 of 03H) 0 Safety timer and WD timer Disabled 100-ms power-up delay Yes Spread Spectrum Yes Factory test mode Yes Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 11 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com 8.2 Functional Block Diagrams PMID bq24157S PMID V PMID PMID NMOS VBUS NMOS SW VBUS VBUS Q2 Q1 VREF 1 PWM Controller OSC Charge Pump - CBC Current Limiting Q3 I LIMIT - + V IN _ DPM - T CF + TJ - V BUS + V UVLO - V BUS + V IN(MIN) - VBUS + V OVP_IN - TJ + VOUT + V OVP - V CSIN + CSOUT V OREG - CSIN IOCHARGE VREF I SHORT PWM _ CHG VBUS UVLO LINEAR Poor Input Source REFERNCES and BIAS CHARGE CONTROL TIMER and DISPLAY LOGIC Thermal Shutdown * _CHG VREF VBUS OVP - T SHTDWN V OUT - - I IN _ LIMIT NMOS + + SW SW VREF BOOT VREF 1 V PMID VOUT Battery OVP STAT V BAT VBUS VOREG - VRCH PGND PGND VOUT VOUT VCSIN I TERM + - * Sleep CD + - + - * Recharge * ( I2 C Control ) Decoder DAC PGND VBAT + VSHORT - OTG (bq 24153 /8) SLRST(bq24156) Termination SCL SDA Charge * PWMMode * Signal Deglitched Figure 17. Function Block Diagram of bq24157S in Charge Mode 12 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Functional Block Diagrams (continued) PMID bq24157S PMID V PMID PMID NMOS VBUS NMOS SW SW SW V BUS VBUS Q2 Q1 VREF 1 Charge Pump OSC PWM Controller CBC Current Limiting Q3 PFM Mode I BO - + + VBUS_B + I BLIMIT - VREF REFERNCES and BIAS PWM _ BOOST V BUS + V BUSOVP - TJ + TSHTDWN - VOUT + VBATMAX - NMOS 75 mA VBUS OVP VREF BOOT VREF 1 VPMID CSIN Thermal Shutdown * Battery OVP V OUT CHARGE CONTROL, TIMER and DISPLAY LOGIC CSOUT STAT CD PGND PGND V BAT + VBATMIN - * * Low Battery OTG ( I2 C Control) Decoder DAC Signal Deglitched PGND SCL SDA Figure 18. Function Block Diagram of bq24157S in Boost Mode Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 13 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Functional Block Diagrams (continued) Power Up V BUS > V UVLO V POR Load I 2 C Registers with Default Value CSOUT < V LOWV High Impedance Mode or Host No Controlled Operation Mode Yes Disable Charge /CE = LOW Charge Configure Mode /CE = HIGH Any Charge State Disable Charge Wait Mode Delay TINT Indicate Power not Good Yes No Enable I SHORT V CSOPUT V OREG -V RCH ? V CSOUT < V OREG VRCH ? Yes Figure 19. Operational Flow Chart of bq24157S in Charge Mode 14 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 8.3 Feature Description 8.3.1 Input Voltage Protection 8.3.1.1 Input Overvoltage Protection The IC provides built-in input overvoltage protection to protect the device and other components against damage if the input voltage (voltage from VBUS to PGND) goes too high. When an input overvoltage condition is detected, the IC turns off the PWM converter, sets fault status bits, and sends out a fault pulse from the STAT pin. Once VBUS drops below the input overvoltage exit threshold, the fault is cleared and the charge process resumes. 8.3.1.2 Bad Adaptor Detection/Rejection Although not shown in Figure 20, at power-on-reset (POR) of VBUS, the IC performs the bad adaptor detection by applying a current sink to VBUS. If the VBUS is higher than VIN(MIN) for 30 ms, the adaptor is good and the charge process begins. If the VBUS drops below VIN(MIN), a bad adaptor is detected. Then, the IC disables the current sink, sends a send fault pulse in FAULT pin, and sets the bad adaptor flag (B2 - B0 = 011 for register 00H). After a delay of TINT, the IC repeats the adaptor detection process, as shown in Figure 20 and Figure 21. Adpator V BUS VBUS ISHORT (30 mA) Adaptor Detection Control VIN_GOOD Deglitch 30ms PGND GND START VIN VIN(MIN) VIN_POOR Delay TINT Figure 20. Bad Adaptor Detection Circuit Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 15 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Feature Description (continued) Charge Command (Host Control or VBUS Ramps Up) Delay 10mS Enable Adaptor Detection Start 30ms Timer Enable Input Current Sink (30mA, to GND) No VBUS>VIN(MIN)? Yes 30ms Timer Expired? Yes No Bad Adaptor Detected Good Adaptor Detected Pulsing STAT Pin Set Bad Adaptor Flag Disable Adaptor Detection Charge Start Enable VIN Based DPM Delay TINT (2 Seconds) Figure 21. Bad Adaptor Detection Scheme Flow Chart 8.3.1.3 Sleep Mode The IC enters the low-power sleep mode if the VBUS pin voltage falls below the sleep-mode entry threshold, VCSOUT + VSLP, and VBUS is higher than the bad adaptor detection threshold, VIN(MIN). This feature prevents draining the battery during the absence of VBUS. During sleep mode, both the reverse blocking switch Q1 and PWM are turned off. 8.3.1.4 Input Voltage Based DPM (Special Charger Voltage Threshold) During the charging process, if the input power source is not able to support the programmed or default charging current, the VBUS voltage will decrease. After the VBUS drops to VIN_DPM (default 4.52 V), the charge current begins to taper down to prevent any further drop of VBUS. When the IC enters this mode, the charge current is lower than the set value and the special charger bit is set (B4 in register 05H). This feature makes the IC compatible with adapters having different current capabilities. 8.3.2 Battery Protection 8.3.2.1 Output Overvoltage Protection The IC provides a built-in overvoltage protection to protect the device and other components against damage if the battery voltage goes too high, as when the battery is suddenly removed. When an overvoltage condition is detected, the IC turns off the PWM converter, sets fault status bits, and sends out a fault pulse from the STAT pin. When V(CSOUT) drops to the battery overvoltage exit threshold, the fault is cleared and the charge process resumes. 16 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Feature Description (continued) 8.3.2.2 Battery Short Protection During the normal charging process, if the battery voltage is lower than the short-circuit threshold, VSHORT, the charger operates in short circuit mode with a lower charge rate of ISHORT. 8.3.2.3 Battery Detection in HOST Mode For applications with removable battery packs, the IC provides a battery absent detection scheme to reliably detect insertion or removal of battery packs. During the normal charging process with HOST control and termination enabled, when the voltage at the CSOUT pin is above the battery recharge threshold, VOREG - VRCH, and the termination charge current is detected, the IC turns off the PWM charge and enables a discharge current, IDETECT, for a period of tDETECT, (262-ms typical), then checks the battery voltage. If the battery voltage is still above the recharge threshold after tDETECT, the battery is present. On the other hand, if the battery voltage is below the battery recharge threshold, the battery is absent. Under this condition, the charge parameters (such as input current limit) are reset to the default values and charge resumes after a delay of tINT. This function ensures that the charge parameters are reset whenever the battery is replaced. 8.3.3 DEFAULT Mode After the battery and input bus voltages are removed from the IC and replaced, the bq24157S enters DEFAULT mode until I2C communication begins. 8.3.4 USB Friendly Power Up Prior to POR, if the host continues to write the TMR_RST bit to 1, to stay in HOST mode, then at POR, the charger enters normal charge mode (using the desired control bits). If not in HOST mode at POR, the charge will operate with default bit values, until the host updates the control registers. The default control bits set the charging current and regulation voltage low as a safety feature to avoid violating USB specifications and overcharging any of the Li-Ion chemistries, while the host has lost communication. The input current limiting is described in the following sections. 8.3.5 Input Current Limiting at Power Up The input current sensing circuit and control loop are integrated into the IC. When operating in DEFAULT mode, the OTG pin logic level sets the input current limit to 100 mA for a logic low and 500 mA for a logic high. In HOST mode, the input current limit is set by the programmed control bits in register 01H. 8.3.6 Factory Mode The factory mode can be enabled only when the battery is removed. This can be done through an I2C register 05 bit 6 (see Table 9). The purpose of the mode is to operate the phone in a GSM phone call with no-battery connected and do a calibration of the system. Setting the factory mode bit enables the following changes: * 20X ICHG amp is disabled - that is, output current limit is disabled * Cycle-by-cycle HS current limit threshold is doubled (current typical is 2.4 A, shifts to 4.8 A) * CCM mode is always enabled (because the current could go from 0 to full GSM pulse) 8.3.7 Spread Spectrum Mode The purpose of the spread spectrum clock modulation is to reduce EMI. In the spread spectrum mode, the switching frequency is not fixed to 3 MHz. It is instead shifted by 10% from the fixed 3-MHz switching frequency. The shift is happening in eight steps, four steps in the upper range and four steps in the lower range every 170 s. By modulating the clock frequency, the energy of the switching converter's EMI is distributed over a wider range of frequencies thereby lowering the magnitude of EMI at 3 MHz 10% as well as harmonic frequencies. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 17 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Feature Description (continued) 8.3.8 PWM Controller in Charge Mode The IC provides an integrated, fixed 3-MHz frequency voltage-mode controller to regulate charge current or voltage. This type of controller is used to improve line transient response, thereby, simplifying the compensation network used for both continuous and discontinuous current conduction operation. The voltage and current loops are internally compensated using a Type-III compensation scheme that provides enough phase margin for stable operation, allowing the use of small ceramic capacitors with a low ESR. The device operates between 0% to 99.5% duty cycles. The IC has back-to-back common-drain N-channel FETs at the high side and one N-channel FET at the low side. The input N-FET (Q1) prevents battery discharge when VBUS is lower than VCSOUT. The second high-side N-FET (Q2) is the switching control switch. A charge pump circuit is used to provide gate drive for Q1, while a bootstrap circuit with an external bootstrap capacitor is used to supply the gate drive voltage for Q2. Cycle-by-cycle current limit is sensed through the FETs Q2 and Q3. The threshold for Q2 is set to a nominal 2.4A peak current. The low-side FET (Q3) also has a current limit that decides if the PWM controller will operate in synchronous or non-synchronous mode. This threshold is set to 100 mA and it turns off the low-side N-channel FET (Q3) before the current reverses, preventing the battery from discharging. Synchronous operation is used when the current of the low-side FET is greater than 100 mA to minimize power losses. 8.3.9 Battery Charging Process At the beginning of precharge, while battery voltage is below the V(SHORT) threshold, the IC applies a short-circuit current, I(SHORT), to the battery. When the battery voltage is above VSHORT and below VOREG, the charge current ramps up to fast charge current, IOCHARGE, or a charge current that corresponds to the input current of IIN_LIMIT. The slew rate for fast charge current is controlled to minimize the current and voltage overshoot during transient. Both the input current limit, IIN_LIMIT, and fast charge current, IOCHARGE, can be set by the host. When the battery voltage reaches the regulation voltage, VOREG, the charge current is tapered down, as shown in Figure 27. The voltage regulation feedback occurs by monitoring the battery-pack voltage between the CSOUT and PGND pins. In HOST mode, the regulation voltage is adjustable (3.5 to 4.44 V) and is programmed through I2C interface. In DEFAULT mode, the regulation voltage is fixed at 3.54 V. The IC monitors the charging current during the voltage regulation phase. If termination is enabled, during the normal charging process with HOST control, after the voltage at the CSOUT pin is above the battery recharge threshold, VOREG - VRCH for the 32-ms (typical) deglitch period, and the termination charge current ITERM is detected, the IC turns off the PWM charge and enables a discharge current, IDETECT, for a period of tDETECT (262ms typical), then checks the battery voltage. If the battery voltage is still above the recharge threshold after tDETECT, the battery charging is complete. The battery detection routine is used to ensure termination did not occur because the battery was removed. After 40 ms (typical) for synchronization purposes of the EOC state and the counter, the status bit and pin are updated to indicate charging has completed. The termination current level is programmable. To disable the charge current termination, the host can set the charge termination bit (TE) of charge control register to 0, refer to I2C Update Sequence for details. A * * * new charge cycle is initiated when one of the following conditions is detected: The battery voltage falls below the V(OREG) - V(RCH) threshold. VBUS POR, if battery voltage is below the V(LOWV) threshold. CE bit toggle or RESET bit is set (host controlled) 8.3.10 Thermal Regulation and Protection To prevent overheating of the chip during the charging process, the IC monitors the junction temperature, TJ, of the die and begins to taper down the charge current after TJ reaches the thermal regulation threshold, TCF. The charge current is reduced to 0 when the junction temperature increases approximately 10C above TCF. In any state, if TJ exceeds TSHTDWN, the IC suspends charging. In thermal shutdown mode, PWM is turned off and all timers are frozen. Charging resumes when TJ falls below TSHTDWN by approximately 10C. 18 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Feature Description (continued) 8.3.11 Charge Status Output, STAT Pin The STAT pin is used to indicate operation conditions. STAT is pulled low during charging when EN_STAT bit in control register (00H) is set to 1. Under other conditions, STAT pin behaves as a high impedance (open-drain) output. Under fault conditions, a 128-s pulse will be sent out to notify the host. The status of STAT pin at different operation conditions is summarized in Table 2. The STAT pin can be used to drive an LED or communicate to the host processor. Table 2. STAT Pin Summary Charge State Stat Charge in progress and EN_STAT = 1 Low Other normal conditions Open-drain Charge mode faults: Timer fault, sleep mode, VBUS or battery overvoltage, poor input source, VBUS UVLO, no battery, thermal shutdown 128-s pulse, then open-drain Boost mode faults: Timer fault, over load, VBUS or battery overvoltage, low battery voltage, thermal shutdown 128-s pulse, then open-drain 8.3.12 Control Bits in Charge Mode 8.3.12.1 CE Bit (Charge Mode) The CE bit in the control register is used to disable or enable the charge process. A low logic level (0) on this bit enables the charge and a high logic level (1) disables the charge. 8.3.12.2 RESET Bit The RESET bit in the Battery Termination/Fast Charge Current register is used to reset all the charge parameters. Writing 1 to the RESET bit will reset all the charge parameters to default values except the safety limit register, and RESET bit is automatically cleared to 0 when the charge parameters are reset. It is designed for charge parameter reset before charge starts and TI does not recommended to set the RESET bit while charging or boosting are in progress. 8.3.12.3 OPA_MODE Bit OPA_MODE is the operation mode control bit. When OPA_MODE = 0, the IC operates as a charger; if HZ_MODE is set to 0, refer to Table 3 for details. When OPA_MODE = 1 and HZ_MODE = 0, the IC operates in boost mode. Table 3. Operation Mode Summary OPA_MODE HZ_MODE Operation Mode 0 0 Charge (no fault) Charge configure (fault, Vbus > UVLO) High impedance (Vbus < UVLO) 1 0 Boost (no faults) Any fault go to charge configure mode X 1 High impedance 8.3.13 Control Pins in Charge Mode 8.3.13.1 CD Pin (Charge Disable) The CD pin is used to disable the charging process. When the CD pin is low, charge is enabled. When the CD pin is high, charge is disabled and the charger enters high impedance (Hi-Z) mode. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 19 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com 8.3.14 Boost Mode Operation In HOST mode, when OTG pin is high (and OTG_EN bit is high thereby enabling OTG functionality) or the operation mode bit (OPA_MODE) is set to 1, the device operates in boost mode and delivers the power to VBUS from the battery. In normal boost mode, the device converts the battery voltage to VBUS-B (about 5.05 V) and delivers a current as much as IBO (about 375 mA for bq24157S) to support other USB OTG devices connected to the USB connector. 8.3.14.1 PWM Controller in Boost Mode Similar to charge mode operation, in boost mode, the IC provides an integrated, fixed 3-MHz frequency voltagemode controller to regulate output voltage at PMID pin (VPMID). The voltage control loop is internally compensated using a Type-III compensation scheme that provides enough phase margin for stable operation with a wide load range and battery voltage range. In boost mode, the input N-FET (Q1) prevents battery discharge when VBUS pin is over loaded. Cycle-by-cycle current limit is sensed through the internal sense FET for Q3. The cycle-by-cycle current limit threshold for Q3 is set to a nominal 1.0-A peak current. Synchronous operation is used in PWM mode to minimize power losses. 8.3.14.2 Boost Start Up To prevent the inductor saturation and limit the inrush current, a soft-start control is applied during the boost start up. 8.3.14.3 PFM Mode at Light Load In boost mode, under light load conditions, the IC operates in pulse skipping mode (PFM mode) to reduce the power loss and improve the converter efficiency. During boosting, the PWM converter is turned off when the inductor current is less than 75 mA, and the PWM is turned back on only when the voltage at PMID pin drops to about 99.5% of the rated output voltage. A unique pre-set circuit is used to make the smooth transition between PWM and PFM mode. 8.3.14.4 Protection in Boost Mode 8.3.14.4.1 Output Overvoltage Protection The IC provides built-in overvoltage protection to protect the device and other components against damage if the VBUS voltage goes too high. When an overvoltage condition is detected, the IC turns off the PWM converter, resets OPA_MODE bit to 0, sets fault status bits, and sends out a fault pulse from the STAT pin. When VBUS drops to the normal level, the boost starts after host sets OPA_MODE to 1 or OTG pin stays in active status. 8.3.14.4.2 Output Overload Protection The IC provides built-in overload protection to prevent the device and battery from damage when VBUS is overloaded. After the overload condition is detected, Q1 operates in linear mode to limit the output current. If the overload condition lasts for more than 30 ms, the overload fault is detected. When an overload condition is detected, the IC turns off the PWM converter, resets OPA_MODE bit to 0, sets fault status bits, and sends out fault pulse in STAT pin. The boost will not start until the host clears the fault register. 8.3.14.4.3 Battery Overvoltage Protection During boosting, when the battery voltage is above the battery overvoltage threshold, VBATMAX, or below the minimum battery voltage threshold, VBATMIN, the IC turns off the PWM converter, resets OPA_MODE bit to 0, sets fault status bits, and sends out fault pulse in STAT pin. After the battery voltage goes above VBATMIN, the boost will start after the host sets OPA_MODE to 1 or OTG pin stays in active status. 8.3.14.5 STAT Pin in Boost Mode During normal boosting operation, the STAT pin behaves as a high impedance (open-drain) output. Under fault conditions, a 128-s pulse is sent out to notify the host. 20 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 8.3.15 High Impedance (Hi-Z) Mode In Hi-Z mode, the charger stops charging and enters a low quiescent current state to conserve power. Taking the CD pin high causes the charger to enter Hi-Z mode. When in DEFAULT mode and the CD pin is low, the charger automatically enters Hi-Z mode if either: * VBUS > UVLO and a battery with VBAT > VLOWV is inserted, or * VBUS falls below UVLO. When in HOST mode and the CD is low, the charger can be placed into Hi-Z mode if the HZ-MODE control bit is set to 1 and OTG pin is not in active status. To exit Hi-Z mode, the CD pin must be low, VBUS must be higher than UVLO, and the HOST must write a 0 to the HZ-MODE control bit. 8.3.16 Serial Interface Description I2C is a 2-wire serial interface developed by Philips Semiconductor (see I2C-Bus Specification, Version 2.1, January 2000). The bus consists of a data line (SDA) and a clock line (SCL) with pullup structures. When the bus is idle, both SDA and SCL lines are pulled high. All the I2C compatible devices connect to the I2C bus through open drain I/O pins, SDA and SCL. A master device, usually a microcontroller or a digital signal processor, controls the bus. The master is responsible for generating the SCL signal and device addresses. The master also generates specific conditions that indicate the START and STOP of data transfer. A slave device receives and/or transmits data on the bus under control of the master device. The IC works as a slave and is compatible with the following data transfer modes, as defined in the I2C-Bus Specification: standard mode (100 kbps), fast mode (400 kbps), and high-speed mode (up to 3.4 Mbps in write mode). The interface adds flexibility to the battery charge solution, enabling most functions to be programmed to new values depending on the instantaneous application requirements. Register contents remain intact as long as supply voltage remains above 2.2 V (typical). I2C is asynchronous, which means that it runs off of SCL. The device has no noise or glitch filtering on SCL, so SCL input needs to be clean. Therefore, TI recommends that SDA changes while SCL is low. The data transfer protocol for standard and fast modes is the same; therefore, they are referred to as F/S-mode in this document. The protocol for high-speed mode is different from the F/S-mode, and it is referred to as HSmode. The bq24157S device supports 7-bit addressing only. The device 7-bit address is defined as 1101010 (6AH). 8.3.16.1 F/S Mode Protocol The master initiates data transfer by generating a start condition. The start condition is when a high-to-low transition occurs on the SDA line while SCL is high, as shown in Figure 22. All I2C-compatible devices should recognize a start condition. DATA CLK S P START Condition STOP Condition Figure 22. Start and Stop Condition The master then generates the SCL pulses, and transmits the 8-bit address and the Read or Write direction bit R/W on the SDA line. During all transmissions, the master ensures that data is valid. A valid data condition requires the SDA line to be stable during the entire high period of the clock pulse (see Figure 23). All devices recognize the address sent by the master and compare it to their internal fixed addresses. Only the slave device with a matching address generates an acknowledge (see Figure 23) by pulling the SDA line low during the entire high period of the ninth SCL cycle. Upon detecting this acknowledge, the master knows that communication link with a slave has been established. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 21 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com DATA CLK Data Line Stable; Data Valid Change of Data Allowed Figure 23. Bit Transfer on the Serial Interface The master generates further SCL cycles to either transmit data to the slave (R/W bit 1) or receive data from the slave (R/W bit 0). In either case, the receiver needs to acknowledge the data sent by the transmitter. So an acknowledge signal can either be generated by the master or by the slave, depending on which one is the receiver. The 9-bit valid data sequences consisting of 8-bit data and 1-bit acknowledge can continue as long as necessary. To signal the end of the data transfer, the master generates a STOP condition by pulling the SDA line from low to high while the SCL line is high (see Figure 25). This releases the bus and stops the communication link with the addressed slave. All I2C compatible devices must recognize the stop condition. Upon the receipt of a stop condition, all devices know that the bus is released, and they wait for a start condition followed by a matching address. If a transaction is terminated prematurely, the master needs to send a STOP condition to prevent the slave I2C logic from getting stuck in a bad state. Attempting to read data from register addresses not listed in this section will result in FFh being read out. Data Output by Transmitter Not Acknowledge Data Output by Receiver Acknowledge SCL From Master 1 8 2 9 Clock Pulse for Acknowledgement START Condition Figure 24. Acknowledge on the I2C Bus 22 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Recognize START or REPEATED START Condition Recognize STOP or REPEATED START Condition Generate ACKNOWLEDGE Signal P SDA Acknowledgement Signal From Slave MSB Sr Address R/W SCL S or Sr ACK ACK Sr or P Clock Line Held Low While Interrupts are Serviced Figure 25. Bus Protocol 8.3.16.2 HS Mode Protocol When the bus is idle, both SDA and SCL lines are pulled high by the pullup devices. The master generates a START condition followed by a valid serial byte containing HS master code 00001XXX. This transmission is made in F/S-mode at no more than 400 Kbps. No device is allowed to acknowledge the HS master code, but all devices must recognize it and switch their internal setting to support 3.4-Mbps operation. The master then generates a repeated START condition (a repeated START condition has the same timing as the start condition). After this repeated START condition, the protocol is the same as F/S-mode, except that transmission speeds up to 3.4 Mbps are allowed. A STOP condition ends the HS-mode and switches all the internal settings of the slave devices to support the F/S-mode. Instead of using a STOP condition, repeated START conditions should be used to secure the bus in HS-mode. If a transaction is terminated prematurely, the master needs to send a STOP condition to prevent the slave I2C logic from getting stuck in a bad state. Attempting to read data from register addresses not listed in this section results in FFh being read out. 8.3.16.3 I2C Update Sequence The IC requires a start condition, a valid I2C address, a register address byte, and a data byte for a single update. After the receipt of each byte, the IC acknowledges by pulling the SDA line low during the high period of a single clock pulse. A valid I2C address selects the IC. The IC performs an update on the falling edge of the acknowledge signal that follows the LSB byte. For the first update, the IC requires a START condition, a valid I2C address, a register address byte, and a data byte. For all consecutive updates, the IC needs a register address byte and a data byte. When a STOP condition is received, the IC releases the I2C bus and awaits new start conditions. Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 23 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 S SLAVE ADDRESS www.ti.com R/W A REGISTER ADDRESS A DATA A/A P Data Transferred (n Bytes + Acknowledge) `0' (Write) From master to IC A A From IC to master S Sr P = Acknowledge (SDA LOW) = Not acknowledge (SDA HIGH) = START condition = Repeated START condition = STOP condition (a) F/S-Mode F/S-Mode S F/S-Mode HS-Mode HS-MASTER CODE A Sr SLAVE ADDRESS R/W A REGISTER ADDRESS A DATA A/A Data Transferred (n Bytes + Acknowledge) `0' (write) P HS-Mode Continues Sr Slave A. (b) HS- Mode Figure 26. Data Transfer Format In F/S Mode And HS Mode 8.3.16.4 Slave Address Byte The slave address byte is the first byte received following the START condition from the master device. MSB X 1 1 0 1 0 1 LSB 1 8.3.16.5 Register Address Byte Following the successful acknowledgment of the slave address, the bus master will send a byte to the IC, which contains the address of the register to be accessed. The IC contains five 8-bit registers accessible through a bidirectional I2C-bus interface. Among them, four internal registers have read and write access; and one has only read access. MSB 0 0 0 0 0 D2 D1 LSB D0 8.4 Device Functional Modes 8.4.1 Charge Mode Operation 8.4.1.1 Charge Profile When a good battery with voltage below the recharge threshold has been inserted and a good adapter is attached, the bq24157S enters charge mode. In charge mode, the IC has five control loops to regulate input voltage, input current, charge current, charge voltage, and device junction temperature. During the charging process, all five loops are enabled and the one that is dominant takes control. The IC supports a precision Li-ion or Li-polymer charging system for single-cell applications. Figure 27 (a) indicates a typical charge profile without input current regulation loop. It is the traditional CC/CV charge curve, while Figure 27 (b) shows a typical charge profile when input current limiting loop is dominant during the constant current mode. In this case, the charge current is higher than the input current, so the charge process is faster than the linear chargers. The input voltage threshold for DPM loop, input current limits, charge current, termination current, and charge voltage are all programmable using I2C interface. 24 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Device Functional Modes (continued) Precharge Phase Current Regulation Phase Voltage Regulation Phase Regulation Voltage Regulation Current Charge Voltage V SHORT Charge Current Termination I SHORT Precharge (Linear Charge) Precharge Phase Fast Charge (PWM Charge) (a) Current Regulation Phase Voltage Regulation Phase Regulation voltage Charge Voltage VSHORT Charge Current Termination I SHORT Precharge (Linear Charge) Fast Charge (PWM Charge) (b) Figure 27. Typical Charging Profile: (a) Without Input Current Limit (b) With Input Current Limit Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 25 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com 8.5 Register Maps Table 4. Status/Control Register (Read or Write) Memory Location: 00, Reset State: x1xx 0xxx BIT NAME Read or Write FUNCTION B7 (MSB) TMR_RST/OTG Read or Write Write: TMR_RST function, write 1 to reset the safety timer (auto clear) Read: OTG pin status 0 - OTG pin at low level 1 - OTG pin at high level B6 EN_STAT Read or Write 0 - Disable STAT pin function 1 - Enable STAT pin function (default 1) B5 STAT2 Read only B4 STAT1 Read only B3 BOOST Read only 1 - Boost mode, 0 - Not in boost mode B2 FAULT_3 Read only B1 FAULT_2 Read only B0 (LSB) FAULT_1 Read only Charge mode: 000 - Normal 001 - VBUS OVP 010 - Sleep mode 011 - Bad Adaptor or VBUS < VUVLO 100 - Output OVP 101 - Thermal shutdown 110 - Timer fault 111 - No battery Boost mode: 000 - Normal 001 - VBUS OVP 010 - Overload 011 - Battery voltage is too low 100 - Battery OVP 101 - Thermal shutdown 110 - Timer fault 111 - N/A 00 - 01 - 10 - 11 - Ready Charge in progress Charge done Fault Table 5. Control Register (Read or Write) Memory Location: 01, Reset State: 0011 0000 BIT NAME Read or Write B7 (MSB) Iin_Limit_2 Read or Write B6 Iin_Limit_1 Read or Write FUNCTION 00 - 01 - 10 - 11 - USB host with 100-mA current limit USB host with 500-mA current limit USB host/charger with 800-mA current limit No input current limit B5 V(LOWV_2) (1) Read or Write Weak battery voltage threshold: 200-mV step (default 1) B4 V(LOWV_1) (1) Read or Write Weak battery voltage threshold: 100-mV step (default 1) B3 TE Read or Write 1 - Enable charge current termination 0 - Disable charge current termination (default 0) B2 CE Read or Write 1 - Charger is disabled 0 - Charger enabled (default 0) B1 HZ_MODE Read or Write 1 - High impedance mode 0 - Not high impedance mode (default 0) B0 (LSB) OPA_MODE Read or Write 1 - Boost mode 0 - Charger mode (default 0) (1) 26 The range of the weak battery voltage threshold (V(LOWV)) is 3.4 to 3.7 V with an offset of 3.4 V and steps of 100 mV (default 3.7 V, using bits B4 to B5). Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S Not Recommended for New Designs bq24157S www.ti.com SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 Table 6. Control/Battery Voltage Register (Read or Write) Memory Location: 02, Reset State: 0000 1010 (1) (1) BIT NAME Read or Write FUNCTION B7 (MSB) VO(REG5) Read or Write Battery Regulation Voltage: 640-mV step (default 0) B6 VO(REG4) Read or Write Battery Regulation Voltage: 320-mV step (default 0) B5 VO(REG3) Read or Write Battery Regulation Voltage: 160-mV step (default 0) B4 VO(REG2) Read or Write Battery Regulation Voltage: 80-mV step (default 0) B3 VO(REG1) Read or Write Battery Regulation Voltage: 40-mV step (default 1) B2 VO(REG0) Read or Write Battery Regulation Voltage: 20-mV step (default 0) B1 OTG_PL Read or Write 1 - OTG boost enable with high level 0 - OTG boost enable with low level (default 1); not applicable to OTG pin control of current limit at POR in DEFAULT mode B0 (LSB) OTG_EN Read or Write 1 - Enable OTG Pin in HOST mode 0 - Disable OTG pin in HOST mode (default 0), not applicable to OTG pin control of current limit at POR in DEFAULT mode Charge voltage range is 3.5 to 4.44 V with the offset of 3.5 V and steps of 20 mV (default 3.54 V), using bits B2 to B7. Table 7. Vender/Part/Revision Register (Read only) Memory Location: 03, Reset State: 0101 000x BIT NAME Read or Write B7 (MSB) Vender2 Read only Vender Code: bit 2 (default 0) FUNCTION B6 Vender1 Read only Vender Code: bit 1 (default 1) B5 Vender0 Read only Vender Code: bit 0 (default 0) B4 PN1 Read only B3 PN0 Read only For I2C Address 6AH: 01-N/A 10-bq24157S 11-N/A B2 Revision2 Read only B1 Revision1 Read only B0 (LSB) Revision0 Read only 011: Revision 1.0; 001: Revision 1.1; 100 - 111: Future Revisions Table 8. Battery Termination/Fast Charge Current Register (Read or Write) Memory Location: 04, Reset State: 0000 0001 (1) (1) (2) (3) BIT NAME Read or Write FUNCTION B7 (MSB) Reset Read or Write Write: 1 - Charger in reset modes 0 - No effect, Read: always get 0 B6 VI(CHRG3) (2) Read or Write Charge current sense voltage: 27.2-mV step B5 VI(CHRG2) (2) Read or Write Charge current sense voltage: 13.6-mV step B4 VI(CHRG1) (2) Read or Write Charge current sense voltage: 6.8-mV step B3 VI(CHRG0) (2) Read or Write N/A B2 VI(TERM2) (3) Read or Write Termination current sense voltage: 13.6-mV step (default 0) B1 VI(TERM1) (3) Read or Write Termination current sense voltage: 6.8-mV step (default 0) B0 (LSB) VI(TERM0) (3) Read or Write Termination current sense voltage: 3.4-mV step (default 1) Charge current sense voltage offset is 37.4 mV and default charge current is 550 mA, if 68-m sensing resistor is used and LOW_CHG = 0. See Table 13 See Table 12 Submit Documentation Feedback Copyright (c) 2013-2015, Texas Instruments Incorporated Product Folder Links: bq24157S 27 Not Recommended for New Designs bq24157S SLUSB76B - FEBRUARY 2013 - REVISED MAY 2015 www.ti.com Table 9. Special Charger Voltage/Enable Pin Status Register Memory Location: 05, Reset state: 000X X100 (1) (2) (1) (2) BIT NAME Read or Write FUNCTION B7 (MSB) NA Read or Write NA B6 FAC_MODE Read or Write 0 - Disables factory test mode 1 - Enables the factory test mode B5 LOW_CHG Read or Write 0 - Normal charge current sense voltage at 04H, 1 - Low charge current sense voltage of 22.1 mV (default 0) B4 DPM_STATUS Read only 0 - DPM mode is not active, 1 - DPM mode is active B3 CD_STATUS Read only 0 - CD pin at LOW level, 1 - CD pin at HIGH level B2 VSREG2 Read or Write Special charger voltage: 320mV step (default 1) B1 VSREG1 Read or Write Special charger voltage: 160mV step (default 0) B0 (LSB) VSREG0 Read or Write Special charger voltage: 80mV step (default 0) Special charger voltage offset is 4.2 V and default special charger voltage is 4.52 V. Default charge current will be 550 mA, if 68-m sensing resistor is used, since default LOW_CHG = 0. Table 10. Safety Limit Register (Read or Write, Write Only One Time After Reset) Memory Location: 06, Reset State: 01000000 BIT (1) * * * * 28 NAME Read or Write FUNCTION VMCHRG3 (1) Read or Write Maximum charge current sense voltage: 54.4-mV step (default 0) B6 VMCHRG2 (1) Read or Write Maximum charge current sense voltage: 27.2-mV step (default 1) B5 VMCHRG1 (1) Read or Write Maximum charge current sense voltage: 13.6-mV step (default 0) B4 VMCHRG0 (1) Read or Write Maximum charge current sense voltage: 6.8-mV step (default 0) B7 (MSB) B3 VMREG3 Read or Write Maximum battery regulation voltage: 160-mV step (default 0) B2 VMREG2 Read or Write Maximum battery regulation voltage: 80-mV step (default 0) B1 VMREG1 Read or Write Maximum battery regulation voltage: 40-mV step (default 0) B0 (LSB) VMREG0 Read or Write Maximum battery regulation voltage: 20-mV step (default 0) (2) Refer to Table 13 SPACE Maximum charge current sense voltage offset is 37.4 mV (550 mA), default at 64.6 mV (950 mA) and the maximum charge current option is 1.55 A (105.4 mV), if 55-m sensing resistor is used. Maximum battery regulation voltage offset is 4.2 V (default at 4.2 V) and maximum battery regulation voltage option is 4.44 V. Memory location 06H resets only when V(CSOUT) drops below either 1) V(SHORT) threshold (typical 2.05 V) if VBUS>V(UVLO) or 2) the digital reset threshold (typ 2.4V) if VBUS