The SMS1242 microprocessor supervisory circuit reduces the complexity and number of components required
to monitor the supply voltage in +5V, +3V and +2.5V
systems. The SMS1242 will significantly improve system
reliability and accuracy when compared to implementing
the same functions with discrete components.
The SMS1242 provides reset output during power-up,
power-down, and brown-out conditions. It has a 1.25V
threshold input detector for power-fail warning, low battery
detection, or monitoring a secondary power supply. The
part also integrates a separate active low manual reset
input.
It also has 16k-bits of nonvolatile memory accessible over
an industry standard 2-wire serial interface.
Temperature Under Bias–55°C to 125°C
Storage Temperature–65°C to 150°C
Terminal Voltage (With Respect to Ground)–0.3V to 6V
Lead Solder Temperature (10 secs)300°C
lobmySretemaraPsnoitidnoC.niM.pyT.xaMstinU
V
CC
I
CC
V
TSR
tnerrucylppuS
dlohserhtteseR
egatlovylppusgnitarepO15.5V
<V6.3V
>V6.3V
*COMMENT
Stresses above those listed under Absolute Maximum Ratings
may cause permanent damage to the device. These are stress
ratings only, and functional operation of the device at these or
any other conditions outside those listed in the operation sections of this specification is not implied. Exposure to any absolute maximum rating for extended periods may affect device
performance and reliability.
The SMS1242 provides a precision reset function for a
microcontroller or microprocessor during power-up,
power-down and brown-out conditions. The device will
monitor two independent voltage supplies and will generate a reset condition when either supply is invalid. It is
configured with two outputs, both driven by the same
conditions. They are open drain and will track each other
but the outputs are not internally tied together.
Because RESET1# and RESET2# are essentially open
drain outputs (RESET1# has a weak internal pullup,
RESET2# does not) they can be independently driven low
by external signals. This can be very useful in a dual
processor system or in a combined processor/ASIC system where, either for system operation or system test, the
processors or ASICs must be independently held in reset
without resetting the other portion of the system.
SUPPLY MONITOR
(Assume V
SENSE
> V
) During power-up the SMS1242
SNS
monitors the supply voltage. The RESET1# and RESET2# outputs are guaranteed to be driven low once V
CC
reaches 1V. As VCC rises RESET1# and RESET2#
remain asserted until VCC reaches the V
VCC passes through V
an internal timer is started to
RST
threshold. As
RST
continue driving the outputs for an additional 150ms
(nominal).
If a power-fail or brown-out condition occurs (VCC < V
RST
RESET1# and RESET2# will be asserted. They will
remain active so long as VCC is below V
. Because the
RST
internal timer will be continuously reset so long as VCC is
below V
, a brownout condition that interrupts a previ-
RST
ously initiated reset pulse causes an additional reset delay
from the time the VCC passes back through V
RST
During power down conditions, once VCC drops below
V
, RESET1# and RESET2# are guaranteed to be
RST
asserted for VCC ≥ 1V.
V
(Assume VCC is >V
SENSE
MONITOR
) The SMS1242 continuously
RST
monitors the VSENSE input. The RESET1# and RESET2# outputs will be driven low so long as V
VSNS. As V
passes through V
SENSE
SNS
SENSE
an internal timer
is started to continue driving the outputs for an additional
150ms (nom.).
If a power-fail condition occurs (V
SENSE
falls below V
RESET1# and RESET2# will be asserted. They will remain active so long as V
SENSE
is below V
. Because
SNS
the internal timer will be continuously reset so long as
V
SENSE
is below V
, a brownout condition that inter-
SNS
rupts a previously initiated reset pulse causes an additional reset delay from the time V
than V
SNS
.
becomes greater
SENSE
MANUAL RESET
The manual reset input allows RESET1# and RESET2# to
be activated by a pushbutton switch. The switch is
)
effectively debounced by the 100ms minimum t
SET pulse width). MR# can also be driven by an external
logic input that meets the 50ns minimum pulse width
required.
The SMS1242 memory is configured as a 2k × 8 array.
Data is read and written via an industry standard two-wire
interface. The bus was designed for two-way, two-line
serial communication between different integrated circuits. The two lines are a serial data line (SDA) and a serial
clock line (SCL). The SDA line must be connected to a
positive supply by a pull-up resistor located somewhere on
the bus
Input Data Protocol
The protocol defines any device that sends data onto the
bus as a “transmitter” and any device that receives data as
a “receiver.” The device controlling data transmission is
called the “master” and the controlled device is called the
“slave.” In all cases the SMS1242 will be a “slave” device
since it never initiates a data transfer.
One data bit is transferred during each clock pulse. The
data on the SDA line must remain stable during clock high
time, because changes on the data line while SCL is high
will be interpreted as start or stop condition.
START and STOP Conditions
When both the data and clock lines are high the bus is said
to be not busy. A high-to-low transition on the data line
while the clock is high is defined as the “START” condition.
A low-to-high transition on the data line while the clock is
high is defined as the “STOP” condition.
Acknowledge (ACK)
Acknowledge is a software convention used to indicate
successful data transfers. The transmitting device, either
the master or the slave, will release the bus after transmitting eight bits. During the ninth clock cycle the receiver will
pull the SDA line low to ACKnowledge that it received the
eight bits of data.
Device Addressing
Following a start condition the master must output the
address of the slave it is accessing. The most significant
four bits of the slave address are the device type identifier.
For the SMS1242 this is fixed as 1010
. The next three
BIN
bits are the Most Significant Bits of the data address. They
are supplied for write operations, and are "don't care" for
read operations.
Read/Write Bit
The last bit of the data stream defines the operation to be
performed. A “1” indicates a read operation; and a “0,” a
write operation.
reifitnedIeciveDstiBsserddASMW/R
10 10 01A9A8A0/1
2038 Table02 2.0
WRITE OPERATIONS
The SMS1242 allows two types of write operations: byte
write and page write. A byte write operation writes a single
byte during the nonvolatile write period (tWR). The page
write operation allows up to 16 bytes in the same page to
be written during tWR.
Byte Write
Upon receipt of the word address the SMS1242 responds
with an ACKnowledge. After receiving the next byte of
data it responds with another ACKnowledge. The master
then terminates the transfer by generating a STOP condition, at which time the SMS1242 begins the internal write
cycle. While the internal write cycle is in progress the
SMS1242 inputs are disabled and the device will not
respond to any requests from the master.
The SMS1242 will respond with an ACKnowledge after
recognition of a START condition and its slave address
byte. If both the device and a write operation are selected,
the SMS1242 will respond with an ACKnowledge after the
receipt of each subsequent 8-bit word. In the READ mode
the SMS1242 transmits eight bits of data, then releases
the SDA line, and monitors the line for an ACKnowledge
signal. If an ACKnowledge is detected and no STOP
condition is generated by the master, the SMS1242 will
continue to transmit data. If an ACKnowledge is not
detected the SMS1242 will terminate further data transmissions and await a STOP condition before returning to
the standby power mode.
2038 2.0 6/8/00
SUMMIT MICROELECTRONICS, Inc.
Page Write
The SMS1242 is capable of a 16-byte page write operation. It is initiated in the same manner as the byte-write
operation, but instead of terminating the write cycle after
the first data word the master can transmit up to 15 more
bytes of data. After the receipt of each byte the SMS1242
will respond with an ACKnowledge.
The SMS1242 automatically increments the address for
subsequent data words. After the receipt of each word, the
low order address bits are internally incremented by one.
The high order bits of the address byte remain constant.
7
Page 8
MEMORY OPERATION (Continued)
SMS1242
Should the master transmit more than 16 bytes, prior to
generating the STOP condition, the address counter will
“roll over” and the previously written data will be overwritten. As with the byte-write operation, all inputs are
disabled during the internal write cycle. Refer to Figure 8
for the address, ACKnowledge and data transfer sequence.
Acknowledge Polling
When the SMS1242 is performing an internal WRITE
operation it will ignore any new START conditions. Since
the device will only return an acknowledge after it accepts
the START, the part can be continuously queried until an
acknowledge is issued, indicating that the internal WRITE
cycle is complete. See the flow diagram for the proper
sequence of operations for polling.
READ OPERATIONS
Read operations are initiated with the R/W bit of the
identification field set to “1.” There are two different read
options:
1. Current Address Byte Read
2. Random Address Byte Read
Write Cycle
In Progress
Issue Start
Issue Slave
Address and
R/W = 0
ACK
Returned
Yes
Next
Operation
a Write?
Yes
Issue
Address
Issue Stop
No
No
Issue Stop
Current Address Read
The SMS1242 contains an internal address counter which
maintains the address of the last word accessed, incremented by one. If the last address accessed (either a read
S
T
Master
SDA
Slave
Master
SDA
Slave
A
R
T
A
1
0
S
T
A
R
T
X X
R
A
A
8
9
X
A7A6A5A4A3A2A1A
/
W
A
C
K
R
D7D6D5D4D3D2D1D
/
W
A
C
K
Typical Write Operation
Typical Read Operation
D7D6D5D4D3D2D1D
0
A
C
K
A
C
K
D7D6D5D4D3D2D1D
0
Proceed
With
Write
Await
Next
Command
2038 Flow01 2.0
S
T
O
P
D7D
0
0
6
A
C
K
A
C
K
D7D
6
D1D
0
A
C
K
S
T
O
P
D1D
0
2038 T Fig08 2.0
Figure 8. Memory Operation
8
2038 2.0 6/8/00SUMMIT MICROELECTRONICS, Inc.
Page 9
SMS1242
or write) was to address location n, the next read operation
would access data from address location n+1 and increment the current address pointer. When the SMS1242
receives the slave address field with the R/W bit set to “1”
it issues an acknowledge and transmits the 8-bit word
stored at address location n+1. The current address byte
read operation only accesses a single byte of data. The
master does not acknowledge the transfer, but does
generate a stop condition. At this point, the SMS1242
discontinues data transmission.
Random Address Read
Random address read operations allow the master to
access any memory location in a random fashion. This
operation involves a two-step process. First, the master
issues a write command which includes the start condition
and the slave address field (with the R/W bit set to WRITE),
followed by the address of the word it is to read. This
procedure sets the internal address counter of the
SMS1242 to the desired address. After the word address
acknowledge is received by the master it immediately
reissues a start condition followed by another slave address field with the R/W bit set to READ. The SMS1242
will respond with an acknowledge and then transmit the 8data bits stored at the addressed location. At this point, the
master does not acknowledge the transmission but does
generate the stop condition. The SMS1242 discontinues
data transmission and reverts to its standby power mode.
however, the master now responds with an ACKnowledge, indicating that it requires additional data from the
SMS1242. The SMS1242 continues to output data for
each ACKnowledge received. The master terminates the
sequential READ operation by not responding with an
ACKnowledge, and issues a STOP condition. During a
sequential read operation, the internal address counter is
automatically incremented with each ACKnowledge signal. For read operations, all address bits are incremented,
allowing the entire array to be read using a single read
command. After a count of the last memory address, the
address counter will roll-over, and the memory will continue to output data.
Sequential READ
Sequential reads can be initiated as either a current
address READ or a random access READ. The first word
is transmitted as with the other byte read modes (current
address byte READ or random address byte READ);
8 Pin SOIC (Type S) Package JEDEC (150 mil body width)
.050 (1.27) TYP.
.157 (4.00)
.150 (3.80)
.275 (6.99) TYP.
SMS1242
.050 (1.270) TYP.
8 Places
.061 (1.75)
.053 (1.35)
.0192 (.49)
.0138 (.35)
1
.196 (5.00)
.189 (4.80)
.0098 (.25)
.004 (.127)
.05 (1.27) TYP.
FOOTPRINT
.035 (.90)
.016 (.40)
.020 (.50)
.010 (.25)
.244 (6.20)
.228 (5.80)
.030 (.762) TYP.
8 Places
x45°
8pn JEDEC SOIC ILL.2
NOTICE
SUMMIT Microelectronics, Inc. reserves the right to make changes to the products contained in this publication in order to improve
design, performance or reliability. SUMMIT Microelectronics, Inc. assumes no responsibility for the use of any circuits described
herein, conveys no license under any patent or other right, and makes no representation that the circuits are free of patent
infringement. Charts and schedules contained herein reflect representative operating parameters, and may vary depending upon
a user’s specific application. While the information in this publication has been carefully checked, SUMMIT Microelectronics, Inc.
shall not be liable for any damages arising as a result of any error or omission.
SUMMIT Microelectronics, Inc. does not recommend the use of any of its products in life support applications where the failure or
malfunction of the product can reasonably be expected to cause failure of the life support system or to significantly affect its safety
or effectiveness. Products are not authorized for use in such applications unless SUMMIT Microelectronics, Inc. receives written
assurances, to its satisfaction, that: (a) the risk of injury or damage has been minimized; (b) the user assumes all such risks; and
(c) potential liability of SUMMIT Microelectronics, Inc. is adequately protected under the circumstances.