Rainbow-electronics DS2404 User Manual

Browse online or download User Manual for Control panel Rainbow-electronics DS2404. Rainbow Electronics DS2404 User Manual

  • Download
  • Add to my manuals
  • Print
  • Page
    / 29
  • Table of contents
  • BOOKMARKS
  • Rated. / 5. Based on customer reviews
Page view 0
1 of 29 110501
FEATURES
§ 4096 bits of nonvolatile dual-port memory
including real time clock/calendar in binary
format, programmable interval timer, and
programmable power-on cycle counter
§ 1-Wire
®
interface for MicroLAN
communication at 16.3kbits/s
§ 3-wire host interface for high-speed data
communications at 2Mb/s
§ Unique, factory-lasered and tested 64-bit
registration number (8-bit family code +
48-bit serial number + 8-bit CRC tester)
assures absolute traceability because no two
parts are alike
§ Memory partitioned into 16 pages of 256-bits
for packetizing data
§ 256-bit scratchpad with strict read/write
protocols ensures integrity of data transfer
§ Programmable alarms can be set to generate
interrupts for interval timer, real time clock,
and/or cycle counter
§ 16-pin DIP, SO, and SSOP packages
§ Operating temperature range from -40°C to
+85°C
§ Operating voltage range from 2.8V to 5.5V
ORDERING INFORMATION
DS2404-001 16-pin DIP
DS2404S-001 16-pin SO
DS2404B 16-pin SSOP
DS2404S-001/T&R Tape and Reel of S2404S-001
DS2404B/T&R Tape and Reel of DS2404B
PIN ASSIGNMENT
PIN DESCRIPTION
V
CC
– 2.8 to 5.5V
IRQ – Interrupt Output
RST – 3-Wire Reset Input
DQ – 3-Wire Input/Output
I/O – 1-Wire Input/Output
CLK – 3-Wire Clock Input
NC – No Connection
GND – Ground
V
BATB
– Battery Backup Input
V
BATO
– Battery Operate Input
1Hz – 1Hz Output
X
1
, X2 – Crystal Connections
DESCRIPTION
The DS2404 EconoRAM Time Chip offers a simple solution for storing and retrieving vital data and time
information with minimal hardware. The DS2404 contains a unique lasered ROM, real-time
clock/calendar, interval timer, cycle counter, programmable interrupts, and 4096-bits of SRAM. Two
separate ports are provided for communication: 1-Wire and 3-wire. Using the 1-Wire port, only one pin is
required for communication, and the lasered-ROM can be read even when the DS2404 is without power.
The 3-wire port provides high-speed communication using the traditional Dallas Semiconductor 3-wire
interface. With either interface, a strict protocol for accessing the DS2404 ensures data integrity. Utilizing
backup energy sources, the data is nonvolatile (NV) and allows for stand-alone operation.
VCC 1 16 VCC
IRQ 2 15 X1
RST 3 14 X2
DQ 4 13 GND
I/O 5 12 NC
CLK 6 11 1HZ
N
C 7 10VBATO
GND 8 9 VBATB
16-PIN DIP (300 MIL)
16-PIN SO (300 MIL)
16-PIN SSOP (208 MIL)
See Mechanical Drawings Section
DS2404
EconoRAM Time Chip
www.maxim-ic.com
Page view 0
1 2 3 4 5 6 ... 28 29

Summary of Contents

Page 1 - EconoRAM Time Chip

1 of 29 110501FEATURES§ 4096 bits of nonvolatile dual-port memoryincluding real time clock/calendar in binaryformat, programmable interval timer, and

Page 2 - OVERVIEW

DS240410 of 29MEMORY FUNCTION FLOW CHART Figure 6

Page 3 - COMMUNICATION PORTS

DS240411 of 29Read Memory [F0h]The read memory command may be used to read the entire memory. After issuing the command, the usermust provide the 2-b

Page 4 - 1-WIRE CRC CODE Figure 3

DS240412 of 29Example 2: Write two data bytes to memory locations 0026h and 0027h (the seventh and eighth byte ofpage 1). Read entire memory (1-Wire

Page 5 - MEMORY MAP Figure 4

DS240413 of 29The write protect bits, once set, permanently write protects their corresponding counter and alarmregisters, all write protect bits, an

Page 6 - Cycle Counter

DS240414 of 29HARDWARE CONFIGURATION Figure 8NOTE:Depending on 1-Wire communication speed and bus load characteristics, the optimal pull-up resistorv

Page 7 - Control Register

DS240415 of 29Match ROM [55h]The match ROM command, followed by a 64-bit ROM sequence, allows the bus master to address aspecific DS2404 on a multidr

Page 8 - MEMORY FUNCTION COMMANDS

DS240416 of 29ROM FUNCTIONS FLOW CHART (1-WIRE PORT ONLY) Figure 9(See Figure 8)

Page 9 - Copy Scratchpad [55h]

DS240417 of 291-WIRE SIGNALINGThe DS2404 requires strict protocols to ensure data integrity. The protocol consists of five types ofsignaling on one l

Page 10 - 10 of 29

DS240418 of 29READ/WRITE TIMING DIAGRAM Figure 11Write-one Time Slot60ms < tSLOT < 120ms1ms £ tLOW1 < 15ms1ms £ tREC < ¥Write-zero Time S

Page 11 - MEMORY FUNCTION EXAMPLES

DS240419 of 29InterruptsIf the DS2404 detects an alarm condition, it will automatically set the corresponding alarm flag (CCF,ITF or RTF) in the Stat

Page 12 - 12 of 29

DS24042 of 29The DS2404 features can be used to create a stopwatch, alarm clock, time and date stamp, logbook, hourmeter, calendar, system power-cycl

Page 13 - HARDWARE CONFIGURATION

DS240420 of 29TYPE 1 INTERRUPT Figure 12TYPE 1A INTERRUPT (SPECIAL CASE) Figure 13TYPE 2 INTERRUPT Figure 14DS2404

Page 14 - 14 of 29

DS240421 of 29TYPE 2 INTERRUPT (SPECIAL CASE) Figure 153-WIRE I/O COMMUNICATIONSThe 3–wire bus is comprised of three signals. These are the RST (res

Page 15 - Search Interrupt [ECh]

DS240422 of 29VCC Operate Mode (Battery-Backed)Figure 16 shows the necessary connections for operating the DS2404 in VCC Operate mode.VCC OPERATE MOD

Page 16 - (See Figure 8)

DS240423 of 29Battery Operate ModeFigure 17 shows the necessary connections for operating the DS2404 in Battery Operate mode.BATTERY OPERATE MODE Fig

Page 17 - READ/WRITE TIME SLOTS

DS240424 of 29OPERATION MODES AND CONDITIONS Table 1PORT USAGE BATTERY OPERATE MODE VCC OPERATE MODE (BATTERY BACKED)1-Wire onlyFloat RST , DQ, CLK

Page 18 - Read-data Time Slot

DS240425 of 29CRYSTAL PLACEMENT ON PCB Figure 183-WIRE WRITE DATA TIMING DIAGRAM Figure 193-WIRE READ DATA TIMING DIAGRAM Figure 20

Page 19 - Interrupts

DS240426 of 29ABSOLUTE MAXIMUM RATINGS*Voltage on DATA to Ground -0.5V to +7.0VOperating Temperature Range -40°C to +85°CStorage Temperature Range -

Page 20 - TYPE 2 INTERRUPT Figure 14

DS240427 of 29CAPACITANCE (tA = 25°C)PARAMETER SYMBOL MIN TYP MAX UNITS NOTESInput Capacitance CIN10 pFOutput Capacitance COUT15 pFI/O (1-Wire) I

Page 21 - POWER CONTROL

DS240428 of 29NOTES:1. All voltages are referenced to ground.2. VIH = 2.0V or VIL = 0.8V with 10ns maximum rise and fall time.3. VDQH = 2.4V and V

Page 22 - OPERATE MODE Figure 16

DS240429 of 2920. The reset low time (tRSTL) should be restricted to a maximum of 960ms, to allow interrupt signaling,otherwise, it could mask or con

Page 23 - DEVICE OPERATION MODES

DS24043 of 294) skip ROM or 5) search interrupt. After a ROM function sequence has been successfully executed, thememory functions are accessible and

Page 24 - DUAL PORT OPERATION

DS24044 of 29Port selection is accomplished on a first-come, first-serve basis. Whichever port comes out of reset firstwill obtain control. For the 3

Page 25 - 25 of 29

DS24045 of 29MEMORY MAP Figure 4

Page 26 - RST Logic 1

DS24046 of 29MEMORYThe memory map in Figure 4 shows a page (32 bytes) called the scratchpad and 17 pages called memory.Pages 0 through 15 each contai

Page 27 - =2.8 to 5.5V)

DS24047 of 29Alarm RegistersThe alarm registers for the real-time clock, interval timer, and cycle counter all operate in the samemanner. When the va

Page 28 - IRQ pins only

DS24048 of 29Setting a write protect bit to a logic 1 will permanently write protect the corresponding counter and alarmregisters, all write protect

Page 29 - 29 of 29

DS24049 of 29The third register (E/S) is a read only register. The first five bits (E4: E0) of this register are called theending offset. The ending

Comments to this Manuals

No comments