DALLAS DS1200

DS1200
Serial RAM Chip
www.maxim-ic.com
FEATURES
§
§
§
§
§
§
PIN ASSIGNMENT
1024 Bits of Read/Write Memory
Low Data Retention Current for Battery
Backup Applications
Four Million Bits/Second Data Rate
Single-Byte or Multiple-Byte Data Transfer
Capability
No Restrictions on the Number of Write
Cycles
Low-Power CMOS Circuitry
16-Pin SO (300mil)
See Mech. Drawings Section
APPLICATIONS
§
§
§
§
§
§
§
Software Authorization
Computer Identification
System Access Control
Secure Personnel Areas
Calibration
Automatic System Setup
Traveling Work Record
PIN DESCRIPTION
VCC
RST
DQ
CLK
GND
VBAT
NC
- +5V
- Reset
- Data Input/Output
- Clock
- Ground
- Battery (+)
- No Connection
DESCRIPTION
The DS1200 serial RAM chip is a miniature read/write memory that can randomly access individual
8-bit strings (bytes) or sequentially access the entire 1024-bit contents (burst). Interface cost to a
microprocessor is minimized by on-chip circuitry, which permits data transfers with only three signals:
CLK, RST , and DQ.
Nonvolatility can be achieved by connecting a battery of 2V to 4V at the battery input VBAT. A load of
0.5mA should be used to size the external battery for the required data retention time. If nonvolatility is
not required the VBAT pin should be grounded.
1 of 7
092702
DS1200
Figure 1. ELECTRONIC TAG BLOCK DIAGRAM
Figure 2. ADDRESS/COMMAND
7
B
6
0
5
0
4
0
3
0
2
0
1
0
0
0
7
0
6
5
4
3
2
1
0
A6 A5 A4 A3 A2 A1 A0
7
6
5
4
3
2
1
0
R
R
R
R
R
R
R
R
W
B-BURST
R-READ
W-WRITE
BYTE 3
BYTE 2
W
W
W
W
W
W
W
BYTE 1
OPERATION
The block diagram (Figure 1) illustrates the main elements of the device: shift register, control logic,
NV RAM, and power switch. To initiate a memory cycle, RST is taken high and 24 bits are loaded into
the shift register, providing both address and command information. Each bit is input serially on the
rising edge of the CLK input. Seven address bits specify one of the 128 RAM locations. The remaining
command bits specify read/write and byte/burst mode. After the first 24 clocks, which load the shift
register, additional clocks will output data for a read or input data for a write. The number of clock pulses
equal 24 plus 8 for byte mode or 24 plus 1024 for burst mode.
For hardwired applications, active power is supplied by the VCC pin. Alternatively, for user-insertable
applications, power can be supplied by the RST pin.
2 of 7
DS1200
ADDRESS/COMMAND
Each memory transfer consists of a 3-byte input called the address/command. The address/command is
shown in Figure 2. As defined, the first byte of the address/command specifies whether the memory is
written or read. If any one of the bits of the first byte of the address/command fail to meet the exact
pattern of read or write, the cycle is aborted and all future inputs to the tag are ignored until RST is
brought low and then high again to begin a new cycle. The 8-bit pattern for read is 10011101. The second
byte of the address/command describes address inputs A0 in bit 0 through A6 in bit 6. Bit 7 of the second
byte of the address/command word must be set to logic 0. If bit 7 does not equal logic 0, the cycle is
aborted and all future inputs to the tag are ignored until RST is brought low and then high again to begin
a new cycle. The third byte of the address/command (bits 0 through 6) must be set to logic 0 or the cycle
is aborted and all future inputs are ignored until RST is brought low and then high again to begin a new
cycle. Bit 7 of byte 3 of the address/command is used along with address bits A0 through A6 to define
burst mode. When A0 through A6 equals logic 0 and bit 7 of byte 3 of the address command equals logic
1, the tag will enter the burst mode after the address/command sequence is complete.
BURST MODE
Burst mode is when all address bits (A0 to A6) of the address/command are set to logic 0 and bit 7 of byte
3 to logic 1. The burst mode causes 128 consecutive bytes to be read or written. Burst mode terminates
when the RST input is driven low.
RESET AND CLOCK CONTROL
All data transfers are initiated by driving the RST input high. The RST input serves three functions.
First, RST turns on the control logic, which allows access to the shift register for the address/command
sequence. Second, the RST signal provides a power source for the cycle to follow. To meet this
requirement, a drive source for RST of 2mA at 3.8V is required. However if the VCC pin is connected to
a 5V source within nominal limits, then the RST pin is not used as a source of power and input levels
revert to normal VIH and VIL inputs with a drive current requirement of 500mA. Finally, the RST signal
provides a method of terminating either single byte or multiple byte data transfers. A clock cycle is a
sequence of falling edge followed by a rising edge. For data inputs, the data must be valid during the
rising edge of the clock cycle. Address/command bits and data bits are input on the rising edge of the
clock and data bits are output on the falling edge of the clock. All data transfer terminates if the RST
input is low and DQ pin goes to a high-impedance state. When data transfer to the serial RAM chip is
terminated using, RST , the transition of RST must occur while the clock is at high level to avoid
disturbing the last bit of data. Data transfer is illustrated in Figure 3.
DATA INPUT
Following the 24 clock cycles that input an address/command, a data byte is input on the rising edge of
the next eight clock cycles, assuming that the read/write and write/read bits are properly set (for data
input byte 1, bit 0 = 1; bit 1 = 0; bit 2 = 1; bit 3 = 1; bit 4 = 1; bit 5 = 0; bit 6 = 0; bit 7 = 1).
DATA OUTPUT
Following the 24 clock cycles that input the read mode, a data byte is output on the falling edge of the
next eight clock cycles (for data output byte 1, bit 0 = 0; bit 1 = 1; bit 2 = 0; bit 3= 0; bit 4 = 0; bit 5 = 1;
bit 6 = 1; bit 7 = 0).
3 of 7
DS1200
Figure 3. DATA TRANSFER
NOTES:
1) Data input sampled on rising edge of clock cycle.
2) Data output changes on falling edge of clock.
4 of 7
DS1200
Figure 4. READ/WRITE DATA TRANSFER
5 of 7
DS1200
ABSOLUTE MAXIMUM RATING*
Voltage Range on Any Pin Relative to Ground
Operating Temperature Range
Storage Temperature Range
-1.0V to +7.0V
0°C to +70°C
-40°C to +70°C
* This is a stress rating only and functional operation of the device at these or any other conditions
beyond those indicated in the operation sections of this specification is not implied. Exposure to
absolute maximum rating conditions for extended periods of time can affect reliability.
RECOMMENDED DC OPERATING CONDITIONS
PARAMETER
SYMBOL
MIN
Logic 1
VIH
2.0
Logic 0
VIL
-0.3
RST Logic 1
VIHE
3.8
Power Supply Voltage
VCC
4.5
Battery Voltage
VBAT
2.0
TYP
0.8
SYMBOL
V
1, 2, 10
V
1
1, 7, 11
5.0
DC ELECTRICAL CHARACTERISTICS
PARAMETER
MAX
(0°C to +70°C)
UNITS NOTES
5.5
V
1
4.0
V
1
(0°C to +70°C; VCC = 5V ± 10%)
MIN
TYP
MAX
UNITS
NOTES
Input Leakage
IL
+500
µA
5
Output Leakage
ILO
+500
µA
5
Output Current at 2.4V
IOH
Output Current at 0.4V
IOL
RST Input Resistance
ZRST
DQ Input Resistance
-1
mA
+2
mA
10
40
kΩ
1
ZDQ
10
40
kΩ
1
CLK Input Resistance
ZCLK
10
40
kΩ
1
Active Current
ICC1
6
mA
8
Standby Current
ICC2
2.5
mA
8
RST Current
IRST
mA
7, 8, 13
2
CAPACITANCE
PARAMETER
Input Capacitance
Output Capacitance
(TA = +25°C)
SYMBOL
MIN
MAX
UNITS
CIN
5
pF
COUT
7
pF
6 of 7
TYP
NOTES
DS1200
AC ELECTRICAL CHARACTERISTICS
PARAMETER
(0ºC to +70ºC; VCC = 5V ± 10%)
SYMBOL
MIN
Data to CLK Setup
tDC
Data to CLK Hold
tCDH
Data to CLK Delay
tCDD
CLK Low Time
tCL
CLK High Time
UNITS
NOTES
35
ns
3, 9
40
ns
3, 9
ns
3, 4, 6, 9
125
ns
3, 9
tCH
125
ns
3, 9
CLK Frequency
fCLK
DC
4.0
MHz
3, 9
CLK Rise and Fall
tR , t F
500
ns
9
RST
to Clock Setup
CLK to RST Hold
TYP
MAX
125
tCC
1
µs
3, 9
tCCH
40
ns
3, 9
125
ns
3, 9, 14
ns
3, 9
RST
Inactive Time
tCWH
RST
to I/O High-Z
tCDZ
50
NOTES:
1) All voltages and resistances are referenced to ground.
2) Input levels apply to CLK, DQ, and RST while VCC is not connected to the tag, then RST input
reverts to VIHE.
3) Measured at VIH = 2.0 or VIL = 0.8V and 10ns maximum rise and fall time.
4) Measured at VOH = 2.4V and VOL = 0.4V.
5) For CLK, DQ, RST , and VCC at 5V.
6) Load capacitance = 50pF.
7) Applies to RST when VCC < 3.8V.
8) Measured with outputs open.
9) Measured at VIH of RST greater than or equal to 3.8V when RST supplies power.
10) Logic 1 maximum is VCC + 0.3V if the VCC pin supplies power and RST +0.3V if the RST pin
supplies power.
11) RST logic 1 maximum is VCC + 0.3V if the VCC pin supplies power and 5.5V maximum if RST
supplies power.
12) Each DS1200 is marked with a four-digit date code AABB. AA designates the year of manufacture.
BB designates the week of manufacture. The expected tDR is defined as starting at the date of
manufacture.
13) Average AC RST current can be determined using the following formula:
ITOTAL = 2 + ILOAD DC + (4 x 10-3)(CL + 140)f
ITOTAL and ILOAD are in mA; CL is in pF; f is in MHz.
Applying the above formula, a load capacitance of 50pF running at a frequency of 4.0MHz gives an
ITOTAL current of 5mA.
14) When RST is supplying power, tCWH must be increased to 100ms.
7 of 7