DS1216D ,Smart watch RAMDS1216SmartWatch RAM DS1216B/C/D/HSmartWatch ROM DS1216E/F
DS1216D ,Smart watch RAMFEATURES Keeps track of hundredths of seconds, Lithium energy source is electricallyseconds, minu ..
DS1216D ,Smart watch RAMDS1216SmartWatch RAM DS1216B/C/D/HSmartWatch ROM DS1216E/F
DS1216-D ,Smart watch RAMFEATURES Keeps track of hundredths of seconds, Lithium energy source is electricallyseconds, minu ..
DS1216F ,Smart watch ROMFEATURES The DS1216 SmartWatch RAM and SmartWatch Keeps Track of Hundredths of Seconds, ROM socke ..
DS1216H ,Smart watch RAMFEATURES The DS1216 SmartWatch RAM and SmartWatch Keeps Track of Hundredths of Seconds, ROM socke ..
DTA114WE , -100mA / -50V Digital transistors (with built-in resistors)
DTA114WUA , -100mA / -50V Digital transistors (with built-in resistors)
DTA114YCA ,Conductor Holdings Limited - Digital Transistor
DTA114YE ,Bias Resistor Transistor PNP Silicon Surface Mount Transistor with Monolithic Bias Resistor NetworkMaximum ratings applied to the device are individual stress limit values (notnormal operating condi ..
DTA114YET1 ,Bias Resistor TransistorFeaturesBASE(INPUT)• Pb−Free Packages are Available* R2• Simplifies Circuit DesignPIN 2• Reduces Bo ..
DTA114YM , -100mA / -50V Digital transistors (with built-in resistors)
DS1216-DS1216--DS1216+D-DS1216B-DS1216-B-DS1216B.-DS1216C-DS1216D-DS1216-D
SmartWatch RAM DS1216B/C/D/H
FEATURESKeeps track of hundredths of seconds,
seconds, minutes, hours, days, date of themonth, months, and yearsConverts standard 2k x 8 up to 512k x 8
CMOS static RAMs into nonvolatile memoryEmbedded lithium energy cell maintains
watch information and retains RAM dataWatch function is transparent to RAM
operationMonth and year determine the number of days
in each month; leap-year compensation valid
up to 2100Lithium energy source is electrically
disconnected to retain freshness until power is
applied for the first timeProven gas-tight socket contactsFull �10% operating rangeOperating temperature range: 0�C to +70�CAccuracy is better than �1 minute/month @
+25�C
ORDERING INFORMATIONDS1216B, DS1216C, DS1216D, DS1216E,
DS1216F, DS1216H (See Figure 2 for letter suffix
marking identification.)
PIN DESCRIPTIONRST- RESET
DQ0- Data Input/Output 0 [RAM]A2- Address Bit 2 (Read/Write [ROM])- Address Bit 0 (Data Input [ROM])
GND- Ground- Conditioned Chip Enable- Output Enable- Write Enable
Vcc- Switched VCC for 28-/32-Pin RAM
VCCB- Switched VCC for 24-Pin RAMVCCD- Switched VCC for 28-Ppin RAM
DS1216
SmartWatch RAM DS1216B/C/D/H
SmartWatch ROM DS1216E/FDS1216B/C/D/E23
RST128VCC
DS1216
TYPICAL OPERATING CIRCUIT
DESCRIPTIONThe DS1216 SmartWatch RAM and SmartWatch ROM Sockets are 600mil-wide DIP sockets with a
built-in CMOS watch function, an NV RAM controller circuit, and an embedded lithium energy source.
The sockets provide an NV RAM solution for memory sized from 2k x 8 to 512k x 8 with package sizes
from 26 pins to 32 pins. When a socket is mated with a CMOS SRAM, it provides a complete solution to
problems associated with memory volatility and uses a common energy source to maintain time and date.
The SmartWatch ROM sockets use the embedded lithium source to maintain the time and date only. A
key feature of the SmartWatch is that the watch function remains transparent to the RAM. The
SmartWatch monitors VCC for an out-of-tolerance condition. When such a condition occurs, an internal
lithium energy source is automatically switched on and write protection is unconditionally enabled to
prevent loss of watch and RAM data.
Using the SmartWatch saves PC board space since the combination of SmartWatch and the mated RAM
take up no more area than the memory alone. The SmartWatch uses the VCC, data I/O 0, CE, OE, and WE
for RAM and watch control. All other pins are passed straight through to the socket receptacle.
The SmartWatch provides timekeeping information including hundredths of seconds, seconds, minutes,
hours, days, date, months, and years. The date at the end of the month is automatically adjusted for
months with fewer than 31 days, including correction for leap years. The SmartWatch operates in either
24-hour or 12-hour format with an AM/PM indicator.
OPERATIONCommunication with the SmartWatch RAM is established by pattern recognition on a serial bit stream of
64 bits that must be matched by executing 64 consecutive write cycles containing the proper data on
VCC
[A2] 10
[A0] 1224GND
DQ0
RST
DS1216D/E/F/H
DS1216
After the pattern match, the next 64 reads and/or writes are directed to the clock, and the RAM is
disabled. Once the pattern is established, the next 64 read/write cycles will be directed to the RTC
registers. When power is cycled, 64 reads should be executed prior to any writes to ensure that the RTC
registers are not written. A pattern match is ignored if the RST bit is zero and the RST pin goes low
during the match sequence. A pattern match is also terminated if a read occurs during the 64-bit match
sequence.
PATTERN MATCH—RAMData transfer to and from the timekeeping registers is accomplished with a serial bit stream under control
of chip enable (CE), output enable (OE), and write enable (WE). Initially, a read cycle to any memory
location using the CE and OE control of the SmartWatch starts the pattern recognition sequence by
moving a pointer to the first bit of the 64-bit comparison register. Next, 64 consecutive write cycles are
executed using the CE and WE control of the SmartWatch. These 64 write cycles are used only to gain
access to the SmartWatch. Therefore, any address to the memory in the socket is acceptable. However,
the write cycles generated to gain access to the SmartWatch are also writing data to a location in the
mated RAM. The preferred way to manage this requirement is to set aside just one address location in
RAM as a SmartWatch scratch pad. When the first write cycle is executed, it is compared to bit 0 of the
64-bit comparison register. If a match is found, the pointer increments to the next location of the
comparison register and awaits the next write cycle. If a match is not found, the pointer does not advance
and all subsequent write cycles are ignored. If a read cycle occurs at any time during pattern recognition,
the present sequence is aborted and the comparison register pointer is reset. Pattern recognition continues
for 64 write cycles as described above until all the bits in the comparison register have been matched (this
bit pattern is shown in Figure 1). With a correct match for 64 bits, the SmartWatch is enabled and data
transfer to or from the timekeeping registers can proceed. The next 64 cycles will cause the SmartWatch
to either receive or transmit data on DQ0, depending on the level of the OE pin or the WE pin. Cycles to
other locations outside the memory block can be interleaved with CE cycles without interrupting the
pattern recognition sequence or data transfer sequence to the SmartWatch.
PATTERN MATCH—ROMCommunication with the SmartWatch is established by pattern recognition of a serial bit stream of 64 bits
that must be matched by executing 64 consecutive write cycles, placing address bit A2 low with the
proper data on address bit A0. The 64 write cycles are used only to gain access to the SmartWatch. Prior
to executing the first of 64 write cycles, a read cycle should be executed by holding A2 high. The read
cycle will reset the comparison register pointer within the SmartWatch, ensuring the pattern recognition
starts with the first bit of the sequence. When the first write cycle is executed, it is compared to bit 0 of
the 64-bit comparison register. If a match is found, the pointer increments to the next location of the
comparison register and awaits the next write cycle. If a match is not found, the pointer does not advance
and all subsequent write cycles are ignored. If a read cycle occurs at any time during pattern recognition,
the present sequence is aborted and the comparison register pointer is reset. Pattern recognition continues
for a total of 64 write cycles as described above, until all the bits in the comparison register have been
matched (this bit pattern is shown in Figure 1). With a correct match for 64 bits, the SmartWatch is
enabled and data transfer to or from the timekeeping registers can proceed. The next 64 cycles will cause
the SmartWatch to either receive data on data in (A0) or transmit data on data out (DQ0), depending on
DS1216
SMARTWATCH COMPARISON REGISTER DEFINITION Figure 1
Note: The pattern recognition in Hex is C5, 3A, 5C, C5, 3A, A3, 5C. The odds of this pattern
accidentally duplicating and causing inadvertent entry to the SmartWatch are less than 1 in 1019. This
pattern is sent to the SmartWatch LSB to MSB.
After power-up, the controller could be in the 64-bit clock register read/write sequence (from an
incomplete access prior to power-down). Therefore, it is recommended that a 64-bit read be performed
upon power-up to prevent accidental writes to the clock, and to prevent reading clock data when access to
the RAM would otherwise be expected.
NONVOLATILE CONTROLLER OPERATIONThe DS1216 SmartWatch performs circuit functions required to make a CMOS RAM nonvolatile. First, a
switch is provided to direct power from the battery or VCC supply, depending on which voltage is greater.
This switch has a voltage drop of less than 0.2V. The second function that the SmartWatch provides is
power-fail detection, which occurs at VTP. The DS1216 constantly monitors the VCC supply. When VCC
goes out of tolerance, a comparator outputs a power-fail signal to the chip-enable logic. The third function
accomplishes write protection by holding the chip-enable signal to the memory within 0.2V of VCC or
battery. During nominal power-supply conditions, the memory chip-enable signal will track the chip-
enable signal sent to the socket with a maximum propagation delay of 7ns for the 5V and 12ns for the
3.3V version.
FRESHNESS SEALEach DS1216 is shipped from Dallas Semiconductor with its lithium energy source disconnected,
ensuring full energy capacity. When VCC is first applied at a level greater than the lithium energy source
is enabled for battery-backup operation.
BYTE 0
BYTE 1
BYTE 2
BYTE 3
BYTE 4
BYTE 5
BYTE 6
BYTE 7
HEX
VALUE7 0
DS1216
SMARTWATCH REGISTER INFORMATIONThe SmartWatch information is contained in eight registers of 8 bits, each of which is sequentially
accessed one bit at a time after the 64-bit pattern recognition sequence has been completed. When
updating the SmartWatch registers, each must be handled in groups of 8 bits. Writing and reading
individual bits within a register could produce erroneous results. These read/write registers are defined in
Figure 3.
Data contained in the SmartWatch registers is in binary-coded decimal format (BCD). Reading and
writing the registers is always accomplished by stepping through all eight registers, starting with bit 0 of
register 0 and ending with bit 7 of register 7.
AM–PM/12/24 MODEBit 7 of the hours register is defined as the 12-hour or 24-hour mode-select bit. When high, the 12-hour
mode is selected. In the 12-hour mode, bit 5 is the AM/PM bit with logic high being PM. In the 24-hour
mode, bit 5 is the second 10-hour bit (20–23 hours).
OSCILLATOR AND RESET BITSBits 4 and 5 of the day register are used to control the RESET and oscillator functions. Bit 4 controls the
RESET(pin 1). When the RESETbit is set to logic 1, the RESETinput pin is ignored. When the RESETbit
is set to logic 0, a low input on the RESETpin will cause the SmartWatch to abort data transfer without
changing data in the watch registers. Bit 5 controls the oscillator. When set to logic 1, the oscillator is off.
When set to logic 0, the oscillator turns on and the watch becomes operational. These bits are shipped
from the factory set to logic 1.
ZERO BITSRegisters 1, 2, 3, 4, 5, and 6 contain one or more bits that will always read logic 0. When writing these
locations, either a logic 1 or 0 is acceptable.
ADDITIONAL INFORMATIONRefer to Application Note 52 for information about using regarding optional modifications and thephantom clock contained within the SmartWatch.
DS1216
RESET AND MEMORY DENSITY OPTIONS Figure 2The letter suffix of the SmartWatch is located on the PCB as shown above.
The RESET pin on the controller has an internal pullup resistor. To disable the RESET function, the trace
between pin 1 on the socket and pin 13 on the controller can be cut. In this case, the socket will ignore the
RESET input, preventing address transitions from resetting the pattern match, even if the RST bit is
enabled.
On the DS1216B and DS1216D, the two VCC pins are connected together on the PCB. The switched VCC
from the controller is connected to the two VCC pins that connect to the inserted RAM. No modifications
are required if the lower density RAM is used. To use the higher density RAM, the trace by the lower
density RAM VCC pin, identified by a hash mark labeled “U,” must be cut. The two square-metal pads,
labeled “G,” must be shorted together. This disconnects switched VCC from the pin going to the inserted
RAM, and connects it to the corresponding address input pin for the higher density RAM.
DS1216
SMARTWATCH REGISTER DEFINITION Figure 3RANGE (BCD)REGISTER7 0
7 0
7 0
7 0