DS2790G+T&R Maxim Integrated Products, DS2790G+T&R Datasheet

no-image

DS2790G+T&R

Manufacturer Part Number
DS2790G+T&R
Description
IC FUEL GAUGE BATT 28-TDFN
Manufacturer
Maxim Integrated Products
Datasheet

Specifications of DS2790G+T&R

Function
Fuel, Gas Gauge/Monitor
Battery Type
Lithium-Ion (Li-Ion)
Voltage - Supply
2.5 V ~ 5.5 V
Operating Temperature
-40°C ~ 85°C
Mounting Type
Surface Mount
Package / Case
28-TDFN
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Note: Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple revisions of any device
may be simultaneously available through various sales channels. For information about device errata, click here: www.maxim-ic.com/errata.
www.maxim-ic.com
GENERAL DESCRIPTION
The DS2790 provides a complete fuel gauging and
protection solution for single cell Li-Ion battery packs.
A low-power 16-bit MAXQ20 microcontroller with
generous program and data memory, combined with
an accurate measurement system for battery current,
voltage, and temperature provide the ideal platform
for customized fuelgauge algorithms. The 2-wire
interface provides an I
communication path between the host and battery
pack,
programming of the fuel-gauging firmware. EEPROM
data memory supports nonvolatile in-pack storage of
charge
history, and manufacturing/lot tracking data.
An autonomous state machine performs voltage,
current, and temperature related protection functions.
This capability increases reliability of the whole
system by eliminating dependence on the CPU for
protection. The DS2790 supports Li-Ion batteries in a
wide range of applications.
TYPICAL OPERATING CIRCUIT
PIN CONFIGURATION
See last page for TSSOP and TDFN packages.
0.1µF 0.1µF
while
parameters,
CP
VIN
VDD
AVSS
VSS
SNS1
providing
CC
IS2
2.5V
DS2790
1nF × 2
0.1μF
R
SNS
[P0.0 - P0.5]
cell
2
DC
C- or SMBus™-compatible
(1)
IS1
SNS2
SDA
SCL
PLS
characteristics,
password
6
(1) Optional for 8kV/15kV ESD
5.6V
(1)
5.6V
(1)
150Ω
150Ω
protected
PACK+
PACK-
usage
DATA
CLK
1 of 41
Programmable 1-Cell Li-Ion Fuel
FEATURES
ORDERING INFORMATION
Contact factory concerning Mask ROM devices.
+ Denotes lead-free package.
MAXQ is a registered trademark of Maxim Integrated Products,
Inc.
SMBus is a trademark of Intel Corp.
DS2790E+
DS2790G+
PART
Accurate Current Measurement for Coulomb
Counting (Current Accumulation)
1.5% ±7.8µV over ± 64mV Input Range
1.5% ±520µA over ±4.2A Range Using an
External 15mΩ Series Resistor
High Resolution Current Reporting
12-bit + Sign Average Every 88ms
15-bit + Sign Average Every 2.8s
Voltage Measurement
10-bit Average
Temperature Measurement
10-bit Using On-Chip Sensor
16-bit MAXQ20 Low Power Microcontroller
Efficient C-Language Programming
8k Words Total Program Memory
− 4k Words EEPROM Program Memory
− 4k Words ROM Program Memory
64 Words Data EEPROM
256 Words Data RAM
State Machine-Driven Protection
Protection Independent of CPU Operation
Programmable Levels for:
− Overvoltage/Undervoltage
− Overcurrent
− Temperature Limits
Lithium-Ion Protector Drives Highside N-FETs
Industry Standard 400kHz 2-Wire interface
Password Protected Programming
Operates as Low as 2.5V Input on V
SHA-1 Hash Algorithm in ROM
Internal Oscillator⎯No Crystal Required
Low Power Consumption
3.3mA CPU Mode (1MHz), 280µA Analog Mode,
4.5µA Sleep Mode
-20ºC to +70ºC
-20ºC to +70ºC
TEMP RANGE
Gauge and Protector
PIN-PACKAGE
TSSOP-28
DS2790
TDFN-28
REV: 030107
DD

Related parts for DS2790G+T&R

DS2790G+T&R Summary of contents

Page 1

... DS2790E+ PACK- DS2790G+ (1) Optional for 8kV/15kV ESD Contact factory concerning Mask ROM devices. + Denotes lead-free package. MAXQ is a registered trademark of Maxim Integrated Products, Inc. SMBus is a trademark of Intel Corp Gauge and Protector Accurate Current Measurement for Coulomb Counting (Current Accumulation) 1.5% ±7.8µV over ± 64mV Input Range 1.5% ± ...

Page 2

ABSOLUTE MAXIMUM RATINGS PLS to V ................................................................................................................................................ -0.3V to +18V ................................................................................................................................................. -0.3V to +12V ...........................................................................................................................................-0.3V to CP+0. .................................................................................................................................... V SS P0.4, P0 .............................................................................................................................. -0. ...

Page 3

PARAMETER P0.0–P0.5 Pulse Rejection Current Measurement Input Range (Full Scale) Current Measurement Resolution Current Measurement Offset Error Current Measurement Gain Error Accumulated Current Offset Temperature Measurement Resolution Temperature Measurement Error Voltage Full Scale Voltage Measurement Resolution Voltage Measurement Error VIN ...

Page 4

PARAMETER Undervoltage Detect Charge and Discharge Overcurrent Detect (Limits for Charge Thresholds are Positive, While Discharge is Negative.) Short-Circuit Detect Overvoltage Delay Undervoltage Delay Overcurrent Delay Short-Circuit Delay Secondary Short-Circuit Delay Test Threshold Test Current Pulldown Current, PLS Recovery Charge ...

Page 5

PARAMETER Setup Time for STOP Condition Spike Pulse Width that can be Suppressed by Input Filter Clock Low Time-Out Cumulative Clock Low Extend Time for Slave Device Cumulative Clock Low Extend Time for Bus Master SCL, SDA Input Capacitance ELECTRICAL ...

Page 6

Figure 1. 2-Wire Bus Timing Diagram Figure 2. JTAG Timing Diagram TCK TMS / TDI TDO V REF DVTH THDX t TLQ ...

Page 7

PIN DESCRIPTION PIN NAME 1 N. PLS SCL 8 SDA 9 P0.0 10 P0.1 11 SNS2 12 IS2 13 N.C. 14 N.C. 15 N.C. 16 N.C. 17 IS1 18 SNS1 ...

Page 8

FUNCTIONAL DIAGRAM PRECISION ANALOG OSCILLATOR TTCK0:1 CLK DIV P0.3 TIMER/ COUNTER WATCHDOG TIMER SNS1 LITHIUM ION PROTECTOR SNS2 SENSE PLS & CONTROL VDD CC FET DRIVERS DC CP FET CHARGE VDD PUMP VDD_INT VSS VSS_INT VOLTAGE (VIN - AVSS) A/D ...

Page 9

DETAILED DESCRIPTION The following is an introduction to the primary features of the DS2790 Programmable 1-Cell Li-Ion Fuel Gauge and Protector. More detailed descriptions of the device features can be found in the errata sheets, and user's guides described later ...

Page 10

Memory Organization The DS2790 incorporates several memory areas: • 4k words of utility ROM contain a debugger, program loader, and SHA-1 routines • 4k words of EEPROM memory for application program storage • 256 words of SRAM for storage of ...

Page 11

Stack Memory A 16-bit, 16-level internal stack provides storage for program return addresses and general-purpose use. The stack is used automatically by the processor when the CALL, RET, and RETI instructions are executed and interrupts serviced. The stack can also ...

Page 12

Activating the JTAG interface and loading the Test Access Port (TAP) with the system programming instruction invokes the bootstrap loader for use over the JTAG interface. Setting the SPE bit to 1 during reset through the JTAG interface executes the ...

Page 13

SYSTEM RESET Several reset sources are provided for microcontroller control. Although code execution is halted in the reset state, OSCI continues to run. Power-On Reset - An internal power-on reset circuit enhances system reliability. This circuit forces the device to ...

Page 14

DS2790 POWER MODES When power is first applied to the DS2790, a Power-on-Reset (POR) circuit transitions the IC to Brown-Out State where cell voltage is monitored and begins code execution. Firmware determines if the IC switches to ANALOG ...

Page 15

REGISTER SET Most functions of the device are controlled by sets of registers. These registers provide a working space for memory operations as well as configuring and addressing peripheral registers on the device. Registers are divided into two major types: ...

Page 16

Table 2. System Register Bit Functions REGISTER APC PSF IC IMR SC IIR CKCN WDCN A[n] (0..15) PFX IP SP — — IV LC[0] LC[1] Offs DPC — — GR GR.15 GR.14 GR.13 GR.12 GR.11 GR.10 GR.9 ...

Page 17

Table 3. System Register Bit Reset Values REGISTER APC PSF IC IMR SC IIR CKCN WDCN A[n] (0..15 PFX LC[ LC[1] 0 ...

Page 18

Table 4. Peripheral Register Map REGISTER INDEX M0 (0h) 00h PO 01h PPU 02h PAF 03h EIC 04h TWSTXD/RXD EINT 05h PROT 06h TC 07h TCC 08h PI 09h — 0Ah — 0Bh — 0Ch — 0Dh — 0Eh — ...

Page 19

Table 5. Peripheral Register Bit Functions REGISTER PPU PAF EIC MBOI MSCI EINT BOI SCI PROT COCF DOCF TC THI.7 THI.6 TTC PI ICDT0 ICDT0.15 ICDT0.14 ICDT1 ICDT1.15 ICDT1.14 ICDC ICDF ICDB ICDA ICDA.15 ICDA.14 ICDD ICDD.15 ...

Page 20

Table 6. Peripheral Register Reset Values REGISTER PPU PAF EIC 0 0 EINT 0 0 PROT TTC PI ICDT0 0 0 ICDT1 0 0 ICDC ICDF ICDB ICDA 0 0 ICDD 0 ...

Page 21

SYSTEM INTERRUPTS Multiple interrupt sources are available for quick response to internal and external events. The MAXQ20 architecture uses a single interrupt vector (IV), single interrupt-service routine (ISR) design. For maximum flexibility, interrupts can be enabled globally, individually ...

Page 22

Figure 6. EINT Register Interrupt Sources GENERATOR INTERRUPT INT0 PAF.0/PIE.0 INT1 PAF.1/PIE.1 SCI Ports and Pins SDI SNDI CCI Brown-Out BOI Detector Protection BEI Logic VI A/D Converter CI TI Timer/ TCI Counter MASK DESCRIPTION The interrupt from pin P0.0 ...

Page 23

I/O PORTS The DS2790 includes a simple input/output (I/O) data port. From a software perspective, the port appears as a group of Special Function Registers within module M0. The simple I/O port defined for this product is described below: • ...

Page 24

Table 8. P0 Interrupt Configuration PIE.x PIT.x PIP Figure 7. Port Pin Schematics Interrupt Disabled Interrupt Enabled, Triggered on Logic Low Interrupt Enabled, Triggered on ...

Page 25

PROGRAMMABLE TIMER/COUNTER The Timer/Counter block operates as a simple 8-bit interval timer or counter. The start value is programmable and is automatically reloaded when a rollover occurs. The TMOD bit in the TCC register selects between the counter and timer ...

Page 26

Figure 9. 2-Wire Slave Configuration Register (TWSCFG) FIELD BIT ADDR 15:9 8:5 reserved TOUT_LONG 4 TLS_DIS 3 TTO_DIS 2 CMD_HM 1 CMD_HM_DIS 0 Note: The peripheral handles clock extension and Ack/Nack generation without intervention from the MAXQ20 core. Bus timeout ...

Page 27

Slave Interrupts An interrupt is generated when any condition that sets an interrupt status register bit occurs, and the corresponding interrupt mask bit in the 2-Wire Slave Interrupt Mask Register (TWSIM) is also set. All 2-wire interrupts are maskable ...

Page 28

Both the TXD and RXD FIFOs are flushed when a new command byte is accepted (command handshaking is enabled and the TWSCMD register is not busy, or when command handshaking is disabled). In the TWS FIFO register (TWSFIF), LRX[3:0] reports ...

Page 29

Figure 10. 2-Wire Communication Examples 2 I C/SMBus Write Data Sequence Slave Command S Wr Ack Address Byte Potential Clock Extension if Cmd Release Latch Clear, CMD_HM_DIS = 0, and CMD_HM = C/SMBus Read Data Sequence Slave ...

Page 30

ANALOG-TO-DIGITAL CONVERSION The DS2790 performs real-time measurements of system temperature, voltage, current, and accumulated current. The DS2790’s analog-to-digital converter is controlled by an internal state machine that sequences the measurements, and stores the results in memory. The conversion results of ...

Page 31

Figure 11. Current Register Format 12-bit + sign resolution (13-bit), 88ms update interval MSb “S”: sign bit(s) Figure 12. Average Current Register Format 15-bit + sign resolution (16-bit), 2.8s update interval ...

Page 32

Accumulation Blanking In order to avoid the accumulation of small positive offset errors over long periods, an offset blanking filter is provided. The blanking filter is enabled by setting the OBEN bit in the ADC Configuration Register. When OBEN is ...

Page 33

Figure 16. Temperature Register Format MSb “S”: sign bit ADC Configuration Register The ADC Configuration register located at word address 600Ah controls current measurement bias and offset blanking as well as current fault limits ...

Page 34

LITHIUM-ION PROTECTION For safety, lithium-Ion cell protection functions are handled by a completely independent state machine. Application firmware can disable the protection FETs, but is not able to override the protector and enable the FETs. During active operation (CPU or ...

Page 35

The Charge V Configuration register. Discharge Overcurrent, DOC external discharge FET and sets the DOCF bit in the protection register. The discharge current path is not re- established until the voltage on PLS rises ...

Page 36

CC = (Overvoltage) and (Undervoltage) and (Overcurrent, Charge Direction) and (Charge Overtemperature if enabled) and (Charge Undertemperature if enabled) and ( and SLEEP Protection Register The Protection Register allows system software to determine if a protection fault condition ...

Page 37

CC and the CP voltage. The system designer should consider the following V OCP when selecting external FETs: • Gate to Source voltage. The external FETs must be able to withstand a voltage between ...

Page 38

Address 001Fh Field Bit 15:13 Unused UVT 12:8 TLIME 7 TLIM 6:5 OVT 4:0 Bit Definition Format Allowable Values R/W Undefined – General purpose R/W Undervoltage Threshold The Undervoltage threshold ranges from 2.30V to 2.90V and is calculated by the ...

Page 39

IN-CIRCUIT DEBUG Embedded debugging capability is available through the JTAG-compatible Test Access Port. Embedded debug hardware and embedded ROM firmware provide in-circuit debugging capability to the user application, eliminating the need for an expensive in-circuit emulator. Figure 21 shows a ...

Page 40

APPLICATIONS The low-power, high-performance RISC architecture of the DS2790 makes it an excellent fit for many portable or battery-powered applications that require cost-effective computing and analog measurement capability. The high- throughput core is programmable in-circuit over the 2-wire and JTAG ...

Page 41

PIN CONFIGURATION DS2790G PLS SCL 7 PAD SDA 8 TDI/INT0/P0.0 9 TMS/INT1/P0.1 10 SNS2 11 IS2 8mm × 4mm TDFN-28 PACKAGE INFORMATION (The package ...

Related keywords