Rainbow-electronics DS28DG02 User Manual

Browse online or download User Manual for Storage Rainbow-electronics DS28DG02. Rainbow Electronics DS28DG02 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 33
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
1 of 33
REV: 061907
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
.
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 industry-
standard 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 user-
programmable through NV registers. The reset
monitor generates a reset to the CPU if the voltage at
the V
CC
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
V
CC
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 V
CC
TRIP PIN-PACKAGE PKG CODE
DS28DG02E-3C+ -40°C to +85°C 3.3V -5% 28 TSSOP-EP
*
(4.4mm) U28E+5
DS28DG02E-3C+T -40°C to +85°C 3.3V -5% 28 TSSOP-EP
*
T&R U28E+5
DS28DG02G-3C+ -40°C to +85°C 3.3V -5% 36 TQFN-EP
*
(6mm × 6mm) T3666+3
DS28DG02G-3C+T -40°C to +85°C 3.3V -5% 36 TQFN-EP
*
T&R T3666+3
*EP = Exposed Paddle.
+ Denotes lead-free/RoHS compliant device.
For additional V
CC
monitor trip points or other device options, contact the factory.
Note: Registers are capitalized for clarity.
SPI is a trademark of Motorola, Inc.
www.maxim-ic.com
Page view 0
1 2 3 4 5 6 ... 32 33

Summary of Contents

Page 1 - DS28DG02

1 of 33 REV: 061907 Note: Some revisions of this device may incorporate deviations from published specifications known as errata. Multiple r

Page 2 - ELECTRICAL CHARACTERISTICS

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 10 of 33 PIO Direction ADDR b7 b6 b5 b4 b3 b2 b1 b0 122h DIR7 DIR6 DIR5

Page 3 - 100 ns

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 11 of 33 PIO Read Access ADDR b7 b6 b5 b4 b3 b2 b1 b0 126h IV7 IV6 IV5 I

Page 4

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 12 of 33 RTC and Calendar Registers ADDR b7 b6 b5 b4 b3 b2 b1 b0 129h 0

Page 5 - OVERVIEW

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 13 of 33 Table 1. Alarm Frequency Control DY/DT AM4 AM3 AM2 AM1 ALAR

Page 6 - Figure 1. Block Diagram

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 14 of 33 BIT DESCRIPTION BIT(S) DEFINITION RST: Reset Flag b0 RSTZ pi

Page 7 - Figure 2. Memory Map

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 15 of 33 MONITORING FUNCTIONS The DS28DG02 has two voltage monitors: one

Page 8

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 16 of 33 In contrast to the VCC monitor, the battery monitor is active o

Page 9 - Registration Number

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 17 of 33 SPI INTERFACE The DS28DG02 is a slave device that communicates

Page 10 - IMSK11 IMSK10

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 18 of 33 Figure 9. SPI Timing, Mode (0,0) CSZSCKSISOHigh Impedance High

Page 11

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 19 of 33 Principles of Operation The first byte that the DS28DG02 receiv

Page 12 - RTC Alarm

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 2 of 33 ABSOLUTE MAXIMUM RATINGS Voltage Range on Any Pin Relative to Gr

Page 13 - RTC must be running (OSCE

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 20 of 33 Figure 12. SPI Status Register ADDR b7 b6 b5 b4 b3 b2 b1 b0 N/

Page 14 - Debounce

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 21 of 33 Figure 13. Write-Enable Timing 0 0 0 0 0 1 1 0 0 1 2 3 4 5 6 7

Page 15 - MONITORING FUNCTIONS

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 22 of 33 WRSR Write SPI Status Register The WRSR instruction is the only

Page 16 - Battery Test

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 23 of 33 Figure 16. Read SPI Status Register Timing 0 1 2 3 4 5 6 7 8 9

Page 17 - SPI INTERFACE

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 24 of 33 RFSH Refresh PIO Registers The volatile PIO-related registers f

Page 18 - Reading from the device

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 25 of 33 is 1 AND the number if bits sent by the master is a multiple of

Page 19 - Principles of Operation

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 26 of 33 Figure 18. Single-Byte Write to Memory and PIO Timing CSZ S

Page 20 - WRDI Write Disable

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 27 of 33 Figure 19. Multiple-Byte Write to Memory and PIO Timing (contin

Page 21 - High Impedance

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 28 of 33 Figure 20. Read Memory and PIO Timing (continued) CSZ SCK

Page 22

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 29 of 33 Figure 21. PIO Write Access Timing, Low-Current Mode This edge

Page 23

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 3 of 33 PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS LOW-Level Input Vo

Page 24 - Table 3. Write Access Cases

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 30 of 33 Reading from PIO When reading from PIOs, as shown in Figure 23,

Page 25

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 31 of 33 Command-Specific Communication—Color Codes Master-to-Slave Slav

Page 26

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 32 of 33 Figure 24. Crystal Placement on PCB Local ground plane beneath

Page 27 - Mode (0,0)

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 33 of 33 Pin Configurations 2827262524232221201918171615VBAT CSZ SCK SI

Page 28 - PIO Read/Write Access

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 4 of 33 PARAMETER SYMBOL CONDITIONS MIN TYP MAX UNITS BATTERY MONITOR (S

Page 29 - PIO3 (PIO11)

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 5 of 33 PIN DESCRIPTION PIN NAME TSSOP28 TQFN36 FUNCTION X1 1 33 32.768

Page 30 - SPI Communication—Legend

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 6 of 33 Figure 1. Block Diagram SPI Communication Interface 64-bit Uniq

Page 31 - Communication Examples

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 7 of 33 Figure 2. Memory Map ADDRESS TYPE ACCESS DESCRIPTION 000h to

Page 32 - Typical Operating Circuit

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 8 of 33 DETAILED REGISTER DESCRIPTIONS Power-On Default for PIO Output

Page 33 - PACKAGE INFORMATION

DS28DG02: 2kb SPI EEPROM with PIO, RTC, Reset, Battery Monitor, and Watchdog 9 of 33 Power-On Default for PIO Read Inversion (PIO8 to PIO11), PIO Out

Comments to this Manuals

No comments