DS1200
Serial RAM Chip
www.maxim-ic.com
FEATURES
§
§
§
§
§
§
§
§
§
§
§
§
§
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
PIN ASSIGNMENT
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
V
CC
RST
DQ
CLK
GND
V
BAT
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 V
BAT.
A load of
0.5
mA
should be used to size the external battery for the required data retention time. If nonvolatility is
not required the V
BAT
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
7
R
W
6
R
W
5
R
W
4
R
W
3
R
W
2
R
W
1
R
W
0
R
W
A6 A5 A4 A3 A2 A1 A0
B-BURST
R-READ
W-WRITE
BYTE 3
BYTE 2
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 V
CC
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 V
CC
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 V
IH
and V
IL
inputs with a drive current requirement of 500
mA
. 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