1280-Bit EEPROM with SHA-1 Authentication

SHA-1 Authentication with 1280 Bits of EEPROM and Backwards-Compatible with the DS2502

Please check latest availability status for a specific part variant.


The DS2704 provides 1280 bits of EEPROM data storage and a Secure Hash Algorithm (SHA) engine. The Dallas 1-Wire® interface enables serial communication on a single battery contact and the 64-bit unique serial number allows multidrop networking and identification of individual devices.

The 1280-bit memory is organized as 5 pages of 32 bytes each and supports storage of battery cell characteristics, charging voltage, current, and temperature parameters, as well as battery pack manufacturing data. The EEPROM pages are in circuit rewritable and can be individually locked to write protect data.

The DS2704 employs the Secure Hash Algorithm (SHA-1) specified in the Federal Information publication 180-1 and 180-2, and ISO/IEC 10118-3. SHA-1 provides a robust cryptographic solution to ensure battery packs or other peripherals have been manufactured by authorized sources. The DS2704 processes a host transmitted challenge and the 64- bit secret key stored on chip to produce a 160-bit response for transmission back to the host. The secret key is never transmitted between the battery and the host.
DS2704: Block Diagram DS2704: Block Diagram Enlarge+

Key Features

  • Secure Challenge and Response Authentication Using the SHA-1 Algorithm
  • Five Lockable 32-Byte Pages of EEPROM
  • Dallas 1-Wire Interface with Standard and Overdrive Communications Speeds
  • Unique 64-Bit Serial Number
  • Compatible with DS2502 Memory Map and Read Function Command
  • Operates with VDD as Low as 2.5V
  • Tiny Chip-Scale UCSP and 3mm x 3mm TDFN Packaging (Pb-Free)


  • 2.5G/3G Wireless Handsets
  • Digital Still and Video Cameras
  • Handheld or Notebook Computers and Terminals
  • PDAs

See parametric specs for Battery ID and Authentication (7)

Part NumberFunctionsInterfaceUser Data Storage
Package/PinsOper. Temp.
Battery ID
SHA-1 Authentication
1-Wire1280 EEPROM2.5 to 5.5
-40 to +85

Pricing Notes:
This pricing is BUDGETARY, for comparing similar parts. Prices are in U.S. dollars and subject to change. Quantity pricing may vary substantially and international prices may differ due to local duties, taxes, fees, and exchange rates. For volume-specific and version-specific prices and delivery, please see the price and availability page or contact an authorized distributor.

DS2704EVKIT: Evaluation Kit for the DS2704
Product Reliability Reports: DS2704.pdf 
Device   Fab Process   Technology   Sample size   Rejects   FIT at 25°C   FIT at 55°C   Material Composition  

Note : The failure rates are summarized by technology and mapped to the associated material part numbers. The failure rates are highly dependent on the number of units tested.

Quality Management System >
Environmental Management System >


Related Resources

23VIN 3.2AOUT USB-C Buck-Boost Charger with Integrated FETs for 2S Li-Ion Batteries

  • 3.5V to 23V Input Operating Range, 30VDC Withstand Voltage
  • Reverse Leakage Protection
  • 50mA to 3.15A Programmable Input Current Limit

2S-4S ModelGauge m5 EZ Fuel Gauge with Protector, Internal Self-Discharge Detection, and SHA-256 Authentication

  • Battery Health + Programmable Safety/Protection
  • ModelGauge m5 EZ Algorithm
  • Precision Measurement Without Calibration

12-Channel High-Voltage Data Acquisition System

  • AEC-Q100 Grade 2 Temperature Range
  • Operating Voltage from 9V to 65V
  • Ultra-Low-Power Operation