Document
11/09
EV KIT AVAILABLE
www.maxim-ic.com
DS28DG02
2Kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog
GENERAL DESCRIPTION
The DS28DG02 combines 2Kb (256 x 8) EEPROM with 12 PIO lines, a real-time clock (RTC) and calendar with alarm function, a CPU reset monitor, a battery monitor, and a watchdog. Communication with the device is accomplished with an industrystandard SPI™ interface. The user EEPROM is organized as four blocks of 64 bytes each with single-byte and up to 16-byte page write capability. Additional registers provide access to PIOs and to setup functions. Individual PIO lines can be configured as inputs or outputs. The power-on state of PIOs programmed as outputs is stored in nonvolatile (NV) memory. All PIOs may be reconfigured by the user through the serial interface. The RTC/calendar operates in the 12/24-hour format and automatically corrects for leap years. Battery monitor threshold and watchdog timeout are userprogrammable through NV registers. The reset monitor generates a reset to the CPU if the voltage at the VCC pin falls below the factory-set limit. The reset output includes a debounce circuit for manual pushbutton reset.
APPLICATIONS
Asset-Tracking Systems Broadband Access Network Equipment Patient-Monitoring Systems Home Lighting Control Systems Holter Heart Monitors
Typical Operating Circuit appears on page 32. Pin Configuration appears on page 33.
FEATURES
2Kb (256 x 8) EEPROM Organized in Four 64-Byte Blocks
Single Byte and Up to 16-Byte EEPROM Write Sequences
EEPROM Write-Protect Control Pin Protects 1, 2, or All 4 Blocks
Endurance 200k Cycles per Page at +25°C; 10ms (max) EEPROM Write Cycle
SPI Serial Interface Supporting Modes (0,0) and (1,1) at Up to 2MHz Clock Frequency
12 PIO Lines with LED Drive Capability Each PIO is Configured to Input or Output,
Open-Drain/Push-Pull on Startup by Stored Value All PIOs are Reconfigurable After Startup RTC/Calendar/Alarm with BCD Format and Leap-Year Compensation RTC Controlled Through 32.768kHz, 12.5pF Crystal or External TCXO CPU Reset Through Fast-Response Precision VCC Monitor with Hysteresis or Pushbutton Battery Monitor 2.5V, 2.25V, 2.0V, 1.75V, -5% Watchdog Timer 1.6s, 0.8s, 0.4s, 0.2s (typ) Unique Factory-Programmed 64-Bit Device Registration Number Operating Range: 2.2V to 5.25V, -40°C to +85°C ±4kV IEC 1000-4-2 ESD Protection Level (Except Crystal Pins) Available in 28-Lead, 4.4mm TSSOP or 36-Lead 6mm × 6mm QFN Package
ORDERING INFORMATION
PART
TEMP RANGE
DS28DG02E-3C+
-40°C to +85°C
DS28DG02E-3C+T
-40°C to +85°C
DS28DG02G-3C+
-40°C to +85°C
DS28DG02G-3C+T
-40°C to +85°C
VCC TRIP 3.3V -5% 3.3V -5% 3.3V -5% 3.3V -5%
PIN-PACKAGE 28 TSSOP-EP* (4.4mm) 28 TSSOP-EP* T&R 36 TQFN-EP* (6mm × 6mm) 36 TQFN-EP* T&R
*EP = Exposed Paddle. +Denotes lead-free/RoHS compliant device. For additional VCC monitor trip points or other device options, contact the factory.
Note: Registers are capitalized for clarity.
PKG CODE U28E+5 U28E+5 T3666+3 T3666+3
SPI is a trademark of Motorola, Inc.
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.
1 of 34
DS28DG02: 2Kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog
ABSOLUTE MAXIMUM RATINGS
Voltage Range on Any Pin Relative to Ground Maximum Current SO, ALMZ, RSTZ, WDOZ Pins
Maximum Current Each PIO Pin Maximum GND and VCC Current Operating Temperature Range Junction Temperature
Storage Temperature Range Soldering Temperature
-0.5V, +6V
20mA
50mA 270mA -40°C to +85°C +150°C
-55°C to +125°C See IPC/JEDEC J-STD-020
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 in the operational sections of the specifications is not implied. Exposure to the absolute maximum rating conditions for extended periods may affect device.
ELECTRICAL CHARACTERISTICS
(TA = -40°C to +85°C.)
PARAMETER
SYMBOL
CONDITIONS
Supply Voltage Battery Voltage Battery Current (VBAT = 3.0V, Note 1)
Standby Current (Note 2)
Operating Current
Programming Current VCC Monitor Trip Point VCC Monitor Trip-Point Tolerance VCC Monitor Hysteresis Power-Up Wait Time EEPROM
VCC VBAT IBAT
ICCS
ICCA
IPROG VTRIP VTRIPTOL VHYST tPOIP
Battery monitor off Battery monitor enabled (Note 1) RTC oscillator off RTC oscillator on RTC oscillator on, +25°C SPI idle, ALMZ, WDOZ, RTSZ high, VCC = 5.25V, RTC oscillator on, all PIOs grounded Reading EEPROM at 2 Mbps, ALMZ, WDOZ, RTSZ high, VCC = 5.25V, RTC oscillator on, all PIOs grounded
VCC = 5.25V (Note 3)
+25°C
-40°C to +85°C
Programming Time Endurance Da.