bq8015 Battery Management IC Overview
bq8015 Battery Management IC Overview
FEATURES DESCRIPTION
D Powerful Low-Power 8-Bit RISC CPU Core The Texas Instruments bq8015 Cool-GG
Operating at up to 4 MHz Clock Frequency programmable battery management IC is the next in a
D Flexible Memory Architecture series of advanced, high-performance, reduced-
– 16k × 22 Program Flash EPROM instruction-set-CPU (RISC) integrated circuits for
– 4k × 22 Program Mask ROM battery management and gas-gauge applications. In a
– 512 × 8 Data Flash EPROM single CMOS IC, the bq8015 combines high-accuracy
– 512 × 8 Data RAM analog measurement capabilities with a low-power
D Three Reduced Power Modes high-speed RISC processor, integrated flash memory,
– Low Power: <240 µA and an array of peripheral and communication ports.
– Sleep: < 8 µA The program flash EPROM allows fast development of
– Hibernate: <0.5 µA custom implementations, and the low-power analog
peripherals improve accuracy beyond discrete
D High-Accuracy Analog Front End With Two
implementations. In its 38-pin TSSOP package, the
Independent ADCs
bq8015 can implement a variety of functions in a small
– High-Resolution Integrator for Coulomb
PCB area.
Counting—Better Than 3nVh Resolution TSSOP PACKAGE
– Coulomb Counter Self-Calibration (TOP VIEW)
Reduces Offset to Less Than 1 µV
– 15-Bit Delta-Sigma ADC With a 12-Channel RC0/AD0 1 38 VSSP
Multiplexer for Voltage, Current, and RC1/AD1 2 37 RC7/AD7
Temperature Measurements RC2/AD2 3 36 RC6/AD6
D Accurate On-Chip 32.768-kHz Oscillator RC3/AD3 4 35 RC5/AD5/CLK
D Internal Clock Synthesizer Generates RC4/AD4 5 34 VSSA
Frequencies up to 4 MHz RA0 6 33 ROSC
D Integrated Flash Memory Eliminates Need for RA1/VOUT 7 32 FILT
External EEPROM VDDD 8 31 VDDA
RB 9 VSSA
D 24 Memory-Mapped I/O Pins
RA2
30
VSSD
10 29
D Supports Two Serial Communication VSSD 11 28 DSCP
Protocols RA3 12 27 DSCM
– Two-Wire SMBus v1.1 Interface RA4 13 MRST
26
– Single-Wire HDQ Interface RA5/HDQ 14 RB7
25
D Package: 38-Pin TSSOP (DBT) RA6/SMBC 15 24 RB6
D Complete Integrated Development RA7/SMBD 16 23 RB5
Environment RB0/INT 17 22 RB4
RB1/EV 18 21 RB3
APPLICATIONS VSSP 19 20 RB2
D Battery Management
D Gas Gauges
Please be aware that an important notice concerning availability, standard warranty, and use in critical applications of
Texas Instruments semiconductor products and disclaimers thereto appears at the end of this data sheet.
Cool-GG is a trademark of Texas Instruments.
PRODUCTION DATA information is current as of publication date. Copyright 2002, Texas Instruments Incorporated
Products conform to specifications per the terms of Texas Instruments
standard warranty. Production processing does not necessarily include
testing of all parameters.
[Link] 1
bq8015
Terminal Functions
TERMINAL
I/O DESCRIPTION
NAME NO.
DSCM 27 IA Analog input pin connected to the internal coulomb-counter peripheral for integrating a small voltage
between DSCP and DSCM. DSCM can also be selected as an input to the over-sampled ADC.
DSCP 28 IA Analog input pin connected to the internal coulomb-counter peripheral for integrating a small voltage
between DSCP and DSCM. DSCP can also be selected as an input to the over-sampled ADC.
FILT 32 IA Analog pin connected to the external PLL loop filter components
MRST 26 I Master reset input pin that forces the device into reset when held high. Must be held low for normal operation.
RA0 6 I/OD Port A.0 digital open-drain I/O pin
RA1/VOUT 7 I/O Port A.1 digital push-pull I/O pin with pullup capable of driving power for an external device
RA2 10 I/OD Port A.2 digital open-drain I/O pin
RA3 12 I/OD Port A.3 digital open-drain I/O pin
RA4 13 I/OD Port A.4 digital open-drain I/O pin
RA5/HDQ 14 I/OD Port A.5 digital open-drain I/O pin or one-wire DQ/HDQ serial communication pin
RA6/SMBC 15 I/OD Port A.6 digital open-drain I/O pin or SMBus clock pin
RA7/SMBD 16 I/OD Port A.7 digital open-drain I/O pin or SMBus data pin
RB 9 P RAM backup pin to provide backup potential to the internal DATA RAM if VCC is momentarily shorted, by
using a capacitor attached between RB and VSS
RB0/INT 17 I/OD Port B.0 digital open-drain I/O pin or selectable as a configurable external processor interrupt
RB1/EV 18 I/OD Port B.1 digital open-drain I/O pin or selectable as a configurable external event input to wake the controller
from a halt state
RB2 20 I/OD Port B.2 digital open-drain I/O pin
RB3 21 I/OD Port B.3 digital open-drain I/O pin
RB4 22 I/OD Port B.4 digital open-drain I/O pin
RB5 23 I/OD Port B.5 digital open-drain I/O pin
RB6 24 I/OD Port B.6 digital open-drain I/O pin
RB7 25 I/OD Port B.7 digital open-drain I/O pin
RC0/AD0 1 I/O Port C.0 digital push-pull I/O pin or selectable as an input, AD0, to the over-sampled ADC
RC1/AD1 2 I/O Port C.1 digital push-pull I/O pin or selectable as an input, AD1, to the over-sampled ADC
RC2/AD2 3 I/O Port C.2 digital push-pull I/O pin or selectable as an input, AD2, to the over-sampled ADC
RC3/AD3 4 I/O Port C.3 digital push-pull I/O pin or selectable as an input, AD3, to the over-sampled ADC
RC4/AD4 5 I/O Port C.4 digital push-pull I/O pin or selectable as an input, AD4, to the over-sampled ADC
RC5/AD5/CLK 35 I/O Port C.5 digital push-pull I/O pin or selectable as an input, AD5, to the over-sampled ADC or a 32-kHz
square-wave output
RC6/AD6 36 I/O Port C.6 digital push-pull I/O pin or selectable as an input, AD6, to the over-sampled ADC
RC7/AD7 37 I/O Port C.7 digital push-pull I/O pin or selectable as an input, AD7, to the over-sampled ADC
ROSC 33 IA Internal oscillator bias resistor input pin
VDDA 31 P Positive supply for analog circuitry. VDDA and VDDD must be driven to the same potential.
VDDD 8 P Positive supply for digital circuitry and I/O pins. VDDD and VDDA must be driven to the same potential.
VSSA 30, 34 P Negative supply for analog circuitry. VSSA, VSSD, and VSSP must be driven to the same potential.
VSSD 11, 29 P Negative supply for digital circuitry. VSSA, VSSD, and VSSP must be driven to the same potential.
VSSP 19, 38 P Negative supply for output circuitry. VSSA, VSSD, and VSSP must be driven to the same potential.
NOTE: I = Input, IA = Analog input, I/O = Input/output, I/OD = Input/Open-drain output, O = Output, OA = Analog output, P = power
2 [Link]
bq8015
absolute maximum ratings over operating free-air temperature (unless otherwise noted)†
Supply voltage range, VDD relative to VSS (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to 6 V
Open-drain I/O pins, V(IOD) relative to VSS (see Note 1) . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . –0.3 V to 6 V
Input voltage range to all other pins, VI relative to VSS (see Note 1) . . . . . . . . . . . . . . . . . . . . . –0.3 V to VDD + 0.3V
Operating free-air temperature range, TA . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 20°C to 85°C
Storage temperature range, Tstg . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . – 65°C to 150°C
ESD Rating (see Note 2) HBM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5 kV
CDM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 1.5 kV
MM . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 50 V
† 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.
NOTES: 1. VSS refers to the common node of V(SSA), V(SSD), and VSS.
2. Design considerations should be made with respect to excessive ESD.
[Link] 3
bq8015
POR BEHAVIOR
vs
FREE-AIR TEMPERATURE
V IT– – Negative-Going Input Threshold Voltage – V
2.50 150
2.45 145
2.30 130
2.25 125
2.20 120
2.15 115
2.10 110
–20 –5 10 25 40 55 70 85
TA – Free-Air Temperature – °C
Figure 1
general purpose digital inputs and outputs
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
VIH High-level input voltage 2 V
VIL Low-level input voltage low 0.8 V
VOH Output voltage† high IL =–0.5 mA VDD–0.5 V
VOL Low-level output voltage IL = 0.5 mA 0.4 V
CI Input capacitance 5 pF
IOL Low-level output current Open drain outputs, VOL = 0.4 V 10 mA
I(VOUT) VOUT source current VOUT active, VOUT = VDD –0.6 V –5 mA
Ilkg(VOUT) VOUT leakage current VOUT inactive -0.2 0.2 µA
Ilkg Input leakage current 1 µA
† RC[0:7] bus
4 [Link]
bq8015
coulomb counter
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
Input voltage range -0.3 1.0 V
Conversion time Single conversion 250 ms
Effective resolution (see Note 8) Single conversion 15 bits
Noise Single conversion 20 µVrms
–0.1 V to 0.8 x Vref ±0.003 ±0.009 %FSR
Integral nonlinearity
–0.3 V to –0.1 V ±0.043
Offset error (see Note 8) 1 µV
Offset error drift 0.4 3 µV/°C
Full-scale error ±0.25%
Full-scale error drift 25°C–70°C typical 150 PPM/°C
Effective input resistance 10 MΩ
NOTE 8: Post-calibration performance
[Link] 5
bq8015
750
700
650
600
550
500
450
400
–20 –5 10 25 40 55 70 85
TA – Free-Air Temperature – °C
Figure 2
6 [Link]
bq8015
REFERENCE VOLTAGE
vs
FREE-AIR TEMPERATURE
1.230
1.228
V ref – Reference Voltage – V
VCC = 3.3 V
VCC = 3.6 V
1.226
VCC = 3.0 V
1.224
1.222
1.220
–20 –5 10 25 40 55 70 85
TA – Free-Air Temperature – °C
Figure 3
[Link] 7
bq8015
OSCILLATOR ERROR
vs
FREE-AIR TEMPERATURE
1.6
1.4
1.2
Oscillator Error – %
1.0
0.8
0.6
0.4
0.2
VDD = 3.3 V
0.0
–20 –10 0 10 20 30 40 50 60 70 80
TA – Free-Air Temperature – °C
Figure 4
8 [Link]
bq8015
data flash memory switching characteristics over recommended operating temperature and
supply voltage (unless otherwise noted)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
Data retention See Note 13 10 Years
Flash programming write-cycles See Note 13 105 Cycles
t(ROWPROG) Row programming time See Note 13 2 ms
t(MASSERASE) Mass-erase time See Note 13 4 ms
I(DDPROG) Flash-write supply current See Note 13 14 16 mA
I(DDERASE) Flash-erase supply current See Note 13 14 16 mA
NOTE 13: Assured by design. Not production tested.
register backup
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
I(RB) RB data-retention input current (see Note 14) VRB > 3.0 V, VDD < VIT 10 100 nA
V(RB) RB data-retention voltage 1.3 V
NOTE 14: Assured by design. Not production tested.
SMBus timing characteristics, TA = –20°C to 85°C, 3.0 V < VCC < 3.6 V (unless otherwise noted)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
Slave mode, SMBC 50%
FSMB SMBus operating frequency duty cycle 10 100 kHz
TBUF Bus free time between start and stop (see Figure 5) 4.7 µs
THD:STA Hold time after (repeated) start (see Figure 5) 4.0 µs
TSU:STA Repeated start setup time (see Figure 5) 4.7 µs
TSU:STO Stop setup time (see Figure 5) 4.0 µs
Receive mode 0
THD:DAT Data hold time (see Figure 5) µss
Transmit mode 300
TSU:DAT Data setup time (see Figure 5) 250 µs
TTIMEOUT Error signal/detect (see Figure 5) See Note 15 25 35 ms
TLOW Clock low period (see Figure 5) 4.7 µs
THIGH Clock high period (see Figure 5) See Note 16 4.0 50 µs
TLOW:SEXT Cumulative clock low slave extend time See Note 17 25 ms
TLOW:MEXT Cumulative clock low master extend time (see Figure 5) See Note 18 10 ms
TF Clock/data fall time See Note 19 300 ns
TR Clock/data rise time See Note 20 1000 ns
NOTES: 15. The bq8015 times out when any clock low exceeds TTIMEOUT
16. THIGH, Max, is the minimum bus idle time. SMBC = SMBD = 1 for t > 50 µs causes reset of any transaction involving bq8015 that
is in progress.
17. TLOW:SEXT is the cumulative time a slave device is allowed to extend the clock cycles in one message from initial start to the stop.
18. TLOW:MEXT is the cumulative time a master device is allowed to extend the clock cycles in one message from initial start to the stop.
19. Rise time TR = VILMAX – 0.15) to (VIHMIN + 0.15)
20. Fall time TF = 0.9VDD to (VILMAX – 0.15)
[Link] 9
bq8015
HDQ timing characteristics, TA = –20°C to 85°C, 3.0 V < VCC < 3.6 V (unless otherwise noted)
PARAMETER TEST CONDITIONS MIN TYP MAX UNIT
tc(CYCH) Cycle time, host to bq8015 (write) See Figure 7 190 µs
tc(CYCB) Cycle time, bq8015 to host (read) See Figure 8 190 205 250 µs
th(STRH) Start hold time, host to bq8015 (write) See Figure 7 5 ns
th(STRB) Start hold time, host to bq8015 (read) See Figure 8 32 µs
tsu(DSU) Data setup time See Figure 7 50 µs
tsu(DSUB) Data setup time See Figure 8 50 µs
th(DH) Data hold time See Figure 7 100 µs
t(DV) Data valid time See Figure 8 80 µs
tsu(SSU) Stop setup time See Figure 7 145 µs
tsu(SSUB) Stop setup time See Figure 8 145 µs
t(RSPS) Response time, bq8015 to host 190 320 µs
t(B) Break time See Figure 6 190 µs
t(BR) Break recovery time See Figure 6 40 µs
THD:DAT TSU:DAT
SDATA
TBUF
P S S P
Start Stop
TLOW:SEXT
SCLKACK† SCLKACK†
TLOW:MEXT TLOW:MEXT TLOW:MEXT
SCLK
SDATA
10 [Link]
bq8015
t(BR)
t(B)
Write 1
Write 0
th(STRH)
tsu(DSU)
th(DH)
tsu(SSU)
tc(CYCH)
Read 1
Read 0
th(STRB)
tsu(DSUB)
t(DV)
tsu(SSUB)
tc(CYCB)
[Link] 11
bq8015
8 8 8
2
ROSC VDD
Power 6
Oscillator 32 kHz Interrupt 3 Interrupt VSS
Regulation
System Clock Input/Output Controller
FILT and MRST
Event 2
Management
RB
RA5–7 INT (RB0)
System Clocks
RB0–1 EV (RB1)
Reset
RC0–7
Analog Front
Data (8-bit)
End DSCP
bq8011 Delta-Sigma ADC
CoolRISC and
DMAddr (16-bit) DSCM
CPU Integrating
Coulomb Counter
AD0–7 (RC0–7)
12 [Link]
bq8015
[Link] 13
bq8015
14 [Link]
bq8015
b1ff
Reserved Data Flash
b1f8
b1f7
Data Flash
b000
a000
Voltage Reference Trim
a000
9001
Interrupt Controller
9000
800a
Flash Interface
8000
700e
I/O Controller
ffff 7000
6001
Timers
6000
5001
Unused CLK
5000
4002
CC
4000
5000 3003
4fff ADC
Figure 9. Program Memory Register Map Figure 10. Data Memory Map
[Link] 15
bq8015
16 [Link]
bq8015
[Link] 17
bq8015
18 [Link]
bq8015
SMBMA7–1 (bit 7:1): The SMB address of the slave device to be accessed in master mode.
R/W_B (bit 0): SMB master-mode direction control bit. This bit controls the direction of the master-mode
transaction
1 = Master–mode read transaction from slave
0 = Master–mode write transaction to slave
SMBDA (address 1001h): SMBus data register
This is the register the CPU uses to transmit data to or receive data from the SMBus where SMBD0 is the lsb
and SMBD7 is the msb.
SMBDA Register (Address 1001h)
7 6 5 4 3 2 1 0
Name SMBD7 SMBD6 SMBD5 SMBD4 SMBD3 SMBD2 SMBD1 SMBD0
Access R/W R/W R/W R/W R/W R/W R/W R/W
Reset 0 0 0 0 0 0 0 0
[Link] 19
bq8015
20 [Link]
bq8015
[Link] 21
bq8015
22 [Link]
bq8015
[Link] 23
bq8015
24 [Link]
bq8015
CONV (bit 7): Convert command bit. This bit is used to start a conversion.
1 = Conversion started on the rising edge of CONV; CONV is held high until after valid data have been read
from ADLO and ADHI (ADC_DRDY =1)
0 = ADC held in reset; ADC_DRDY =0 and ADLO = 00h, ADHI = 80h
VRVDD (bit 6): Voltage reference selection bit. This bit selects which voltage reference (either VDD or internal
VREF) is used by the ADC.
1 = Selects VDD as the ADC reference voltage for ratiometric conversions
0 = Selects the internal VREF as the ADC reference voltage
ADC_ON (bit 5): ADC power control bit. This bit powers the ADC and the multiplexer.
1 = ADC power is on
0 = ADC power off and the multiplexer input impedance high
FAST (bit 4): Filter length selection bit. This bit selects between the 512 or 8192 length digital filter.
1 = 512 length decimation filter. Conversion time is 1.95 ms.
0 = 8192 length decimation filter. Conversion time is 31.25 ms.
[Link] 25
bq8015
26 [Link]
bq8015
[Link] 27
bq8015
28 [Link]
bq8015
or stat, #GIE
halt
To enter sleep, 0x16 is written to address 0x5000. This enables LP_CLK and turns off the PLL. To enter
hibernate, 0x06 is written to address 0x5000. When entering hibernate, in addition to enabling LP_CLK and
turning off the PLL, the internal oscillator is powered off. In order to prevent the device from hanging after the
register is written, the internal oscillator is not actually powered off until a halt instruction is executed.
Because the CPU is halted, waking from sleep is accomplished by communication on the HDQ or SMB pins,
an external event or interrupt, or an internal interrupt. Since all of the clocks on the device are off during
hibernate, external pins are the only available means to enable the clocks. Specifically, the HDQ, SMBC, SMBD,
EV, and INT pins can be used to power up both the oscillator and PLL. If there is an external event or interrupt,
or if there is communication on the HDQ or SMB pins, the oscillator and PLL powers up again and LP_CLK goes
low.
When the device is waking from sleep, or hibernate during the first 4 ms (if there is a valid SMB start condition),
the SMBus holds the SMB clock line low until the PLL frequency stabilizes. By 4 mS after the PLL is enabled,
the frequency is stable and SMB communication can occur
The PLL requires the addition of an external loop filter. The components are a 62 kΩ resistor in series with a
2.2-nF capacitor, the series combination is shunted by a 150 pF capacitor.
When the PLL is powered off, the bq8015 requires approximately 1.5 ms to 4 ms to stabilize the PLL when it
is re-enabled.
The internal oscillator is trimed at the factory using the OSC_TRIM register (5001b). The factory determined
OSC_TRIM value is loaded when the bq8015 powers up. Changing the value of OSC_TRIM may cause the
device to fail.
[Link] 29
bq8015
OTRIM 7:0 (bits 7:0): Trim values used to calibrate the internal oscillator.
30 [Link]
bq8015
timers description
The bq8015 has three internal timers: an interrupt timer, a bus-low timer, and a watchdog timer. The internal
oscillator operates the three timers, so if the oscillator is disabled, these timers do not function.
The interrupt timer is free-running and has a period of 7.8125 ms. When the TIMIE bit (bit 3) is enabled in the
PIE register, the interrupt controller requests interrupt servicing at every interrupt timer clock period. The
bus-low timer is also free running and is used in conjunction with bus-monitoring circuitry to determine if the
battery has been removed from the system for more than two seconds. The sample period of the bus-low timer
is 125 ms. The interrupt timer and the bus-low timer are reset by any reset event (POR, MRST, or watchdog
reset).
The watchdog timer provides a periodic system reset unless it is cleared by the processor. The interval between
resets is programmable. The watchdog timer can also be programmed to provide a wake signal, which is a
processor event. Clearing the watchdog timer clears both the watchdog-reset signal and the wake signal. The
timer program register sets the period of the wake signal. The period of the watchdog-reset signal is then set
to twice the wake period. The timer control and program registers are only reset by the POR and MRST. The
watchdog reset has no effect on these registers.
[Link] 31
bq8015
The timer register is programmed where TP0 is the lsb and TP7 is the msb.
Pin RA1 contains an internal pullup for use as an external power source controlled by the VOUT bit.
32 [Link]
bq8015
RAOUT7 (bit 7): 1 = Do not drive pin RA7 (open drain 3-state); required state for using SMBD
0 = Drive pin RA7 to a logic 0
RAOUT6 (bit 6): 1 = Do not drive pin RA6 (open drain 3-state); required state for using SMBC
0 = Drive pin RA6 to a logic 0
RAOUT5 (bit 5): 1 = Do not drive pin RA5 (open drain 3-state); required state for using HDQ
0 = Drive pin RA5 to a logic 0
RAOUT4 (bit 4): 1 = Do not drive pin RA4 (open drain 3-state)
0 = Drive pin RA4 to a logic 0
RAOUT3 (bit 3): 1 = Do not drive pin RA3 (open drain 3-state)
0 = Drive pin RA3 to a logic 0
RAOUT2 (bit 2): 1 = Do not drive pin RA2 (open drain 3-state)
0 = Drive pin RA2 to a logic 0
RAOUT1 (bit 1): 1 = Drive pin RA1/VOUT to a logic 1 if VOUTEN=1; otherwise, RA1 is open-drain 3-state
0 = Drive pin RA1/VOUT to a logic 0
RAOUT0 (bit 0): 1 = Do not drive pin RA0 (open drain 3-state)
0 = Drive pin RA0 to a logic 0
[Link] 33
bq8015
RBOUT7 (bit 7): 1 = Do not drive pin RB7 (open drain 3-state)
0 = Drive pin RB7 to a logic 0
RBOUT6 (bit 6): 1 = Do not drive pin RB6 (open drain 3-state)
0 = Drive pin RB6 to a logic 0
RBOUT5 (bit 5): 1 = Do not drive pin RB5 (open drain 3-state)
0 = Drive pin RB5 to a logic 0
RBOUT4 (bit 4): 1 = Do not drive pin RB4 (open drain 3-state)
0 = Drive pin RB4 to a logic 0
RBOUT3 (bit 3): 1 = Do not drive pin RB3 (open drain 3-state)
0 = Drive pin RB3 to a logic 0
RBOUT2 (bit 2): 1 = Do not drive pin RB2 (open drain 3-state)
0 = Drive pin RB2 to a logic 0
RBOUT1 (bit1): 1 = Drive pin RB1 (open drain 3-state) required state for using EV
0 = Drive pin RB1 to a logic 0
RBOUT0 (bit 0): 1 = Drive pin RB0 (open drain 3-state) required state for using INT
0 = Drive pin RB0 to a logic 0
34 [Link]
bq8015
RCOUT7 (bit 7): 1 = If RCPUP0=1, drive pin RC7 to a logic 1. If RCPUP0=0, do not drive pin RC7 (open
drain 3-state)
0 = Drive pin RC7 to a logic 0
RCOUT6 (bit 6): 1 = If RCPUP0=1, drive pin RC6 to a logic 1. If RCPUP0=0, do not drive pin RC6 (open
drain 3-state)
0 = Drive pin RC6 to a logic 0
RCOUT5 (bit 5): 1 = If RCPUP0=1, drive pin RC5 to a logic 1. If RCPUP0=0, do not drive pin RC5 (open
drain 3-state)
0 = Drive pin RC5 to a logic 0
RCOUT4 (bit 4): 1 = If RCPUP0=1, drive pin RC4 to a logic 1. If RCPUP0=0, do not drive pin RC4 (open
drain 3-state)
0 = Drive pin RC4 to a logic 0
RCOUT3 (bit 3): 1 = If RCPUP0=1, drive pin RC3 to a logic 1. If RCPUP0=0, do not drive pin RC3 (open
drain 3-state)
0 = Drive pin RC3 to a logic 0
RCOUT2 (bit 2): 1 = If RCPUP0=1, drive pin RC2 to a logic 1. If RCPUP0=0, do not drive pin RC2 (open
drain 3-state)
0 = Drive pin RC2 to a logic 0
RCOUT1 (bit 1): 1 = If RCPUP0=1, drive pin RC1 to a logic 1. If RCPUP0=0, do not drive pin RC1 (open
drain 3-state)
0 = Drive pin RC1 to a logic 0
RCOUT0 (bit 0): 1 = If RCPUP0=1, drive pin RC0 to a logic 1 if RCPUP0=0, do not drive pin RC0 (open
drain 3-state)
0 = Drive pin RC0 to a logic 0
[Link] 35
bq8015
RAIN7 (bit 7): 1 = Logic value being driven on pin RA7 if RAIEN7=1
0 = Logic 0 value being driven on pin RA7
RAIN6 (bit 6): 1 = Logic value being driven on pin RA6 if RAIEN6=1
0 = Logic 0 value being driven on pin RA6
RAIN5 (bit 5): 1 = Logic value being driven on pin RA5 if RAIEN5=1
0 = Logic 0 value being driven on pin RA5
RAIN4 (bit 4): 1 = Logic value being driven on pin RA4 if RAIEN4=1
0 = Logic 0 value being driven on pin RA4
RAIN3 (bit 3): 1 = Logic value being driven on pin RA3 if RAIEN3=1
0 = Logic 0 value being driven on pin RA3
RAIN2 (bit 2): 1 = Logic value being driven on pin RA2 if RAIEN2=1
0 = Logic 0 value being driven on pin RA2
RAIN1 (bit 1): 1 = Logic value being driven on pin RA1 if RAIEN1=1
0 = Logic 0 value being driven on pin RA1
RAIN0 (bit 0): 1 = Logic value being driven on pin RA0 if RAIEN0=1
0 = Logic 0 value being driven on pin RA0
36 [Link]
bq8015
RBIN7 (bit 7): 1 = Logic value being driven on pin RB7 if RBIEN7=1
0 = Logic 0 value being driven on pin RBN7
RBIN6 (bit 6): 1 = Logic value being driven on pin RB6 if RBIEN6=1
0 = Logic 0 value being driven on pin RBN6
RBIN5 (bit 5): 1 = Logic value being driven on pin RB5 if RBIEN5=1
0 = Logic 0 value being driven on pin RBN5
RBIN4 (bit 4): 1 = Logic value being driven on pin RB4 if RBIEN4=1
0 = Logic 0 value being driven on pin RBN4
RBIN3 (bit 3): 1 = Logic value being driven on pin RB3 if RBIEN3=1
0 = Logic 0 value being driven on pin RBN3
RBIN2 (bit 2): 1 = Logic value being driven on pin RB2 if RBIEN2=1
0 = Logic 0 value being driven on pin RBN2
RBIN1 (bit 1): 1 = Logic value being driven on pin RB1 if RBIEN1=1
0 = Logic 0 value being driven on pin RBN1
RBIN0 (bit 0): 1 = Logic value being driven on pin RB0 if RBIEN0=1
0 = Logic 0 value being driven on pin RBN0
[Link] 37
bq8015
RCIN7 (bit 7): 1 = Logic value being driven on pin RC7 if RCIEN7=1
0 = Logic 0 value being driven on pin RCN7
RCIN6 (bit 6): 1 = Logic value being driven on pin RC6 if RCIEN6=1
0 = Logic 0 value being driven on pin RCN6
RCIN5 (bit 5): 1 = Logic value being driven on pin RC5 if RCIEN5=1
0 = Logic 0 value being driven on pin RCN5
RCIN4 (bit 4): 1 = Logic value being driven on pin RC4 if RCIEN4=1
0 = Logic 0 value being driven on pin RCN4
RCIN3 (bit 3): 1 = Logic value being driven on pin RC3 if RCIEN3=1
0 = Logic 0 value being driven on pin RCN3
RCIN2 (bit 2): 1 = Logic value being driven on pin RC2 if RCIEN2=1
0 = Logic 0 value being driven on pin RCN2
RCIN1 (bit 1): 1 = Logic value being driven on pin RC1 if RCIEN1=1
0 = Logic 0 value being driven on pin RCN1
RCIN0 (bit 0): 1 = Logic value being driven on pin RC0 if RCIEN0=1
0 = Logic 0 value being driven on pin RCN0
38 [Link]
bq8015
RAIEN6 (bit 6): 1 = Enable reading of logic value on pin RA7 via RAIN7
0 = Disable reading of logic value and guard against floating input levels on pin RA7
RAIEN7 (bit 7): 1 = Enable reading of logic value on pin RA6 via RAIN6
0 = Disable reading of logic value and guard against floating input levels on pin RA6
RAIEN5 (bit 5): 1 = Enable reading of logic value on pin RA5 via RAIN5
0 = Disable reading of logic value and guard against floating input levels on pin RA5
RAIEN4 (bit 4): 1 = Enable reading of logic value on pin RA4 via RAIN4
0 = Disable reading of logic value and guard against floating input levels on pin RA4
RAIEN3 (bit 3): 1 = Enable reading of logic value on pin RA3 via RAIN3
0 = Disable reading of logic value and guard against floating input levels on pin RA3
RAIEN2 (bit 2): 1 = Enable reading of logic value on pin RA2 via RAIN2
0 = Disable reading of logic value and guard against floating input levels on pin RA2
RAIEN1 (bit 1): 1 = Enable reading of logic value on pin RA1 via RAIN1
0 = Disable reading of logic value and guard against floating input levels on pin RA1
RAIEN0 (bit 0): 1 = Enable reading of logic value on pin RA0 via RAIN0
0 = Disable reading of logic value and guard against floating input levels on pin RA0
[Link] 39
bq8015
RBIEN7 (bit 7): 1 = Enable reading of logic value on pin RB7 via RBIN7 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB7
RBIEN6 (bit 6): 1 = Enable reading of logic value on pin RB6 via RBIN6 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB6
RBIEN5 (bit 5): 1 = Enable reading of logic value on pin RB5 via RBIN5 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB5
RBIEN4 (bit 4): 1 = Enable reading of logic value on pin RB4 via RBIN4 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB4
RBIEN3 (bit 3): 1 = Enable reading of logic value on pin RB3 via RBIN3 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB3
RBIEN2 (bit 2): 1 = Enable reading of logic value on pin RB2 via RBIN2 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB2
RBIEN1 (bit 1): 1 = Enable reading of logic value on pin RB1 via RBIN1 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB1
RBIEN0 (bit 0): 1 = Enable reading of logic value on pin RB0 via RBIN0 bit
0 = Disable reading of logic value and guard against floating input levels on pin RB0
40 [Link]
bq8015
RCIEN7 (bit 7): 1 = Enable reading of logic value on pin RC7 via RCIN7 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC7
RCIEN6 (bit 6): 1 = Enable reading of logic value on pin RC6 via RCIN6 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC6
RCIEN5 (bit 5): 1 = Enable reading of logic value on pin RC5 via RCIN5
0 = Disable reading of logic value and guard against floating input levels on pin RC5
RCIEN4 (bit 4): 1 = Enable reading of logic value on pin RC4 via RCIN4 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC4
RCIEN3 (bit 3): 1 = Enable reading of logic value on pin RC3 via RCIN3 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC3
RCIEN2 (bit 2): 1 = Enable reading of logic value on pin RC2 via RCIN2 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC2
RCIEN1 (bit 1): 1 = Enable reading of logic value on pin RC1 via RCIN1 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC1
RCIEN0 (bit 0): 1 = Enable reading of logic value on pin RC0 via RCIN0 bit
0 = Disable reading of logic value and guard against floating input levels on pin RC0
[Link] 41
bq8015
Reserved (bits 7:2, 0): Do not use; must be written to zero for proper operation
42 [Link]
bq8015
[Link] 43
bq8015
SMBF (bit 7): System management bus interrupt flag. This bit signals the SMBus circuit request for interrupt
servicing. A controller interrupt to address vector (3h) is generated if SMBIE=GIE=1 when SMBF=1 (sets the
CIN bit in the STAT register).
1 = SMBus circuit requests interrupt processing
0 = SMBus request did not occur
HDQF (bit 6): HDQ interrupt flag. This bit signals the HDQ communication circuit request for interrupt servicing.
A controller interrupt to address vector (3h) is generated if HDQIE=GIE=1 when HDQF=1 (sets the CIN bit in
the STAT register).
1 = HDQ circuit requests interrupt processing
0 = HDQ request did not occur
ADF (bit 5): ADC interrupt flag bit. This bit signals an ADC request for interrupt servicing at the end of a
conversion. A controller interrupt to address vector (2h) is generated if ADIE=PINE=GIE=1 when ADF=1 (sets
the PIN bit in the STAT register).
1 = ADC circuit requests interrupt processing
0 = ADC request did not occur
CCF (bit 4): CC interrupt flag bit. This bit signals a coulomb counter request for interrupt servicing. A controller
interrupt to address vector (2h) is generated if CCIE=PINE=GIE=1 when CCF=1 (sets the PIN bit in the STAT
register).
1 = CC circuit requests interrupt processing
0 = CC request did not occur
TIMF (bit 3): Timer interrupt flag. This bit signals a timer request for interrupt servicing. A controller interrupt
to address vector (2h) is generated if TIMIE=PINE=GIE=1 when TIMF=1 (sets the PIN bit in the STAT register).
1 = Timer circuit requests interrupt processing once every 7.8125ms (128 times per second)
0 = Timer request did not occur
WTF (bit 2): Wake-timer flag. This bit signals that a wake timeout occurred. The processor exits the halt state
if WTE in the PIE register is set.
1 = Wake from internal timer occurred
0 = Timer request did not occur
Reserved (bits 1:0): Do not use.
44 [Link]
bq8015
SMBIE (bit 7): SMBus interrupt enable. This bit enables the SMBus interrupt flag to interrupt the controller. A
controller interrupt to address vector (0003h) is generated if SMBF=GIE=1 when SMBIE=1 (sets the CIN bit in
the STAT register).
1 = Enable SMBus circuit interrupt requests
0 = Disable SMBus circuit interrupt requests
HDQIE (bit 6): HDQ interrupt enable. This bit enables the HDQ communication flag to interrupt the controller.
A controller interrupt to address vector (0003h) is generated if HDQF=GIE=1 when HDQIE=1 (sets the CIN bit
in the STAT register).
1 = Enable HDQ circuit interrupt requests
0 = Disable HDQ circuit interrupt requests
ADIE (bit 5): ADC interrupt enable bit. This bit enables an ADC request for interrupt servicing at the end of a
conversion. A controller interrupt to address vector (0002h) is generated if ADF=PINE=GIE=1 when ADIE=1
(sets the PIN bit in the STAT register).
1 = Enable ADC interrupt requests
0 = Disable ADC interrupt requests
CCIE (bit 4): CC interrupt enable bit. This bit enables a CC request for interrupt servicing. A controller interrupt
to address vector (0002h) is generated if CCF=PINE=GIE=1 when CCIE=1 (sets the PIN bit in the STAT
register).
1 = Enable CC interrupt requests
0 = Disable CC interrupt requests
TIMIE (bit 3): Timer interrupt enable. This bit enables a timer request for interrupt servicing. A controller interrupt
to address vector (0002h) is generated if TIMF=PINE=GIE=1 when TIMIE=1 (sets the PIN bit in the STAT
register).
1 = Enables timer interrupt requests
0 = Disables timer interrupt requests
WTE (bit 2): Wake timer enable interrupt bit. This bit enables WTF in the PFLAG register to set the WEV flag
in the cpu STAT register.
1 = Enables the wake timer to restart the controller from HALT
0 = Disables the wake timer from restarting the controller
XINPOL (bit 1): External interrupt polarity select bit. This bit selects the polarity of the external input, active high
or active low.
1 = External input is active high
0 = External input is active low
XEVPOL (bit 0): External event polarity select bit. This bit selects the polarity of the external event input, active
high or active low.
1 = External event input active high
0 = External event input active low
[Link] 45
bq8015
PINE (bit 7): Peripheral interrupt enable bit. This bit enables a controller interrupt when PIN and GIE are
asserted.
1 = PIN enabled to generate an interrupt if GIE=1
0 = PIN inhibited from generating an interrupt
XINE (bit 6): External interrupt enable bit. This bit enables a controller interrupt when XIN and GIE are asserted.
1 = XIN enabled to generate an interrupt if GIE=1
0 = XIN inhibited from generating an interrupt
GIE (bit 5): Global interrupt enable bit. This bit disables all interrupts when cleared. GIE is automatically cleared
when an interrupt service routine is executed to prevent unwanted interrupt nesting.
1 = Allows PIN, XIN, and CIN interrupts to be processed by the controller
0 = Disables all interrupts
PIN (bit 4): Peripheral interrupt bit (lowest priority). This bit signals a peripheral circuit request for interrupt
service.
1 = Peripheral circuit interrupt requested
0 = No peripheral interrupt service requested
46 [Link]
bq8015
[Link] 47
bq8015
MECHANICAL DATA
0,27
0,50 0,08 M
0,17
30 16
0,15 NOM
4,50 6,60
4,30 6,20
Gage Plane
0,25
1 15 0°–ā8°
A 0,75
0,50
Seating Plane
0,15
1,20 MAX 0,10
0,05
PINS **
28 30 38 44 50
DIM
4073252/D 09/97
48 [Link]
PACKAGE OPTION ADDENDUM
[Link] 21-Mar-2011
PACKAGING INFORMATION
(1)
The marketing status values are defined as follows:
ACTIVE: Product device recommended for new designs.
LIFEBUY: TI has announced that the device will be discontinued, and a lifetime-buy period is in effect.
NRND: Not recommended for new designs. Device is in production to support existing customers, but TI does not recommend using this part in a new design.
PREVIEW: Device has been announced but is not in production. Samples may or may not be available.
OBSOLETE: TI has discontinued the production of the device.
(2)
Eco Plan - The planned eco-friendly classification: Pb-Free (RoHS), Pb-Free (RoHS Exempt), or Green (RoHS & no Sb/Br) - please check [Link] for the latest availability
information and additional product content details.
TBD: The Pb-Free/Green conversion plan has not been defined.
Pb-Free (RoHS): TI's terms "Lead-Free" or "Pb-Free" mean semiconductor products that are compatible with the current RoHS requirements for all 6 substances, including the requirement that
lead not exceed 0.1% by weight in homogeneous materials. Where designed to be soldered at high temperatures, TI Pb-Free products are suitable for use in specified lead-free processes.
Pb-Free (RoHS Exempt): This component has a RoHS exemption for either 1) lead-based flip-chip solder bumps used between the die and package, or 2) lead-based die adhesive used between
the die and leadframe. The component is otherwise considered Pb-Free (RoHS compatible) as defined above.
Green (RoHS & no Sb/Br): TI defines "Green" to mean Pb-Free (RoHS compatible), and free of Bromine (Br) and Antimony (Sb) based flame retardants (Br or Sb do not exceed 0.1% by weight
in homogeneous material)
(3)
MSL, Peak Temp. -- The Moisture Sensitivity Level rating according to the JEDEC industry standard classifications, and peak solder temperature.
Important Information and Disclaimer:The information provided on this page represents TI's knowledge and belief as of the date that it is provided. TI bases its knowledge and belief on information
provided by third parties, and makes no representation or warranty as to the accuracy of such information. Efforts are underway to better integrate information from third parties. TI has taken and
continues to take reasonable steps to provide representative and accurate information but may not have conducted destructive testing or chemical analysis on incoming materials and chemicals.
TI and TI suppliers consider certain information to be proprietary, and thus CAS numbers and other limited information may not be available for release.
In no event shall TI's liability arising out of such information exceed the total purchase price of the TI part(s) at issue in this document sold by TI to Customer on an annual basis.
Addendum-Page 1
IMPORTANT NOTICE
Texas Instruments Incorporated and its subsidiaries (TI) reserve the right to make corrections, modifications, enhancements, improvements,
and other changes to its products and services at any time and to discontinue any product or service without notice. Customers should
obtain the latest relevant information before placing orders and should verify that such information is current and complete. All products are
sold subject to TI’s terms and conditions of sale supplied at the time of order acknowledgment.
TI warrants performance of its hardware products to the specifications applicable at the time of sale in accordance with TI’s standard
warranty. Testing and other quality control techniques are used to the extent TI deems necessary to support this warranty. Except where
mandated by government requirements, testing of all parameters of each product is not necessarily performed.
TI assumes no liability for applications assistance or customer product design. Customers are responsible for their products and
applications using TI components. To minimize the risks associated with customer products and applications, customers should provide
adequate design and operating safeguards.
TI does not warrant or represent that any license, either express or implied, is granted under any TI patent right, copyright, mask work right,
or other TI intellectual property right relating to any combination, machine, or process in which TI products or services are used. Information
published by TI regarding third-party products or services does not constitute a license from TI to use such products or services or a
warranty or endorsement thereof. Use of such information may require a license from a third party under the patents or other intellectual
property of the third party, or a license from TI under the patents or other intellectual property of TI.
Reproduction of TI information in TI data books or data sheets is permissible only if reproduction is without alteration and is accompanied
by all associated warranties, conditions, limitations, and notices. Reproduction of this information with alteration is an unfair and deceptive
business practice. TI is not responsible or liable for such altered documentation. Information of third parties may be subject to additional
restrictions.
Resale of TI products or services with statements different from or beyond the parameters stated by TI for that product or service voids all
express and any implied warranties for the associated TI product or service and is an unfair and deceptive business practice. TI is not
responsible or liable for any such statements.
TI products are not authorized for use in safety-critical applications (such as life support) where a failure of the TI product would reasonably
be expected to cause severe personal injury or death, unless officers of the parties have executed an agreement specifically governing
such use. Buyers represent that they have all necessary expertise in the safety and regulatory ramifications of their applications, and
acknowledge and agree that they are solely responsible for all legal, regulatory and safety-related requirements concerning their products
and any use of TI products in such safety-critical applications, notwithstanding any applications-related information or support that may be
provided by TI. Further, Buyers must fully indemnify TI and its representatives against any damages arising out of the use of TI products in
such safety-critical applications.
TI products are neither designed nor intended for use in military/aerospace applications or environments unless the TI products are
specifically designated by TI as military-grade or "enhanced plastic." Only products designated by TI as military-grade meet military
specifications. Buyers acknowledge and agree that any such use of TI products which TI has not designated as military-grade is solely at
the Buyer's risk, and that they are solely responsible for compliance with all legal and regulatory requirements in connection with such use.
TI products are neither designed nor intended for use in automotive applications or environments unless the specific TI products are
designated by TI as compliant with ISO/TS 16949 requirements. Buyers acknowledge and agree that, if they use any non-designated
products in automotive applications, TI will not be responsible for any failure to meet such requirements.
Following are URLs where you can obtain information on other Texas Instruments products and application solutions:
Products Applications
Audio [Link]/audio Communications and Telecom [Link]/communications
Amplifiers [Link] Computers and Peripherals [Link]/computers
Data Converters [Link] Consumer Electronics [Link]/consumer-apps
DLP® Products [Link] Energy and Lighting [Link]/energy
DSP [Link] Industrial [Link]/industrial
Clocks and Timers [Link]/clocks Medical [Link]/medical
Interface [Link] Security [Link]/security
Logic [Link] Space, Avionics and Defense [Link]/space-avionics-defense
Power Mgmt [Link] Transportation and [Link]/automotive
Automotive
Microcontrollers [Link] Video and Imaging [Link]/video
RFID [Link] Wireless [Link]/wireless-apps
RF/IF and ZigBee® Solutions [Link]/lprf
TI E2E Community Home Page [Link]
Mailing Address: Texas Instruments, Post Office Box 655303, Dallas, Texas 75265
Copyright © 2011, Texas Instruments Incorporated