ADM1021A
http://onsemi.com
10
Table 8. CONFIGURATION REGISTER BIT
ASSIGNMENTS
Bit Name Function
Power-on
Default
7 MASK1 0 = ALERT Enabled
1 = ALERT
Masked
0
6 RUN/STOP 0 = Run
1 = Standby
0
5 to 0 Reserved 0
Conversion Rate Register
The lowest three bits of this register are used to program
the conversion rate by dividing the ADC clock by 1, 2, 4, 8,
16, 32, 64, or 128 to give conversion times from 125 ms
(Code 0x07) to 16 seconds (Code 0x00). This register can be
written to and read back over the SMBus. The higher five
bits of this register are unused and must be set to 0. Use of
slower conversion times greatly reduces the device power
consumption, as shown in Table 9.
Table 9. CONVERSION RATE REGISTER CODE
Data
Conversion/
Sec
Average Supply Current
mA Typ at V
CC
= 3.3 V
0x00 0.0625 150
0x01 0.125 150
0x02 0.25 150
0x03 0.5 150
0x04 1 150
0x05 2 150
0x06 4 160
0x07 8 180
0x08 to 0xFF Reserved
Limit Registers
The ADM1021A has four limit registers to store local and
remote and high and low temperature limits. These registers
can be written to and read back over the SMBus. The high
limit registers perform a > comparison, while the low limit
registers perform a < comparison. For example, if the high
limit register is programmed as a limit of 80C, measuring
81C results in an alarm condition. Even though the
temperature measurement range is from 0 to 127C, it is
possible to program the limit register with negative values.
This is for backwards compatibility with the ADM1021.
Offset Register
An offset register is provided at Address 0x11. This
allows the user to remove errors from the measured remote
temperature. These errors can be introduced by clock noise
and PCB track resistance. See Table 10 for an example of
offset values.
The offset value is stored as an 8-bit, twos complement
value. The value of the offset is negative if the MSB of
Register 0x11 is 1, and is positive if the MSB of
Register 0x11 is 0. This value is added to the remote
temperature. The offset register defaults to 0 at powerup.
The offset register range is 128C to +127C.
Table 10. OFFSET VALUES
Offset Register Remote Temperature
(0x11)
Offset
Value
(With
Offset)
(Without
Offset)
1111 1100 4C 14C 18C
1111 1111 1C 17C 18C
0000 0000 0C 18C 18C
0000 0001 +1C 19C 18C
0000 0100 +4C 22C 18C
One-shot Register
The one-shot register is used to initiate a single conversion
and comparison cycle when the ADM1021A is in standby
mode, after which the device returns to standby. This is not
a data register as such, and it is the write operation that
causes the one
-shot conversion. The data written to this
address is irrelevant and is not stored.
Serial Bus Interface
Control of the ADM1021A is carried out via the serial bus.
The ADM1021A is connected to this bus as a slave device,
under the control of a master device. Note that the SMBus
and SCL pins are three
-stated when the ADM1021A is
powered down and will not pull down the SMBus.
Address Pins
In general, every SMBus device has a 7-bit device address
(except for some devices that have extended 10
-bit
addresses). When the master device sends a device address
over the bus, the slave device with that address responds.
The ADM1021A has two address pins, ADD0 and ADD1,
to allow selection of the device address so that several
ADM1021As can be used on the same bus, and/or to avoid
conflict with other devices. Although only two address pins
are provided, these are three-state and can be grounded, left
unconnected, or tied to V
DD
so that a total of nine different
addresses are possible, as shown in Table 11.
It should be noted that the state of the address pins is only
sampled at powerup, so changing them after powerup has no
effect.
ADM1021A
http://onsemi.com
11
Table 11. DEVICE ADDRESSES (Note 1)
ADD0
ADD1 Device Address
0 0 0011 000
0 NC 0011 001
0 1 0011 010
NC 0 0101 001
NC NC 0101 010
NC 1 0101 011
1 0 1001 100
1 NC 1001 101
1 1 1001 110
1. ADD0 and ADD1 are sampled at powerup only.
The serial bus protocol operates as follows:
1. The master initiates data transfer by establishing a
start condition, defined as a high-to-low transition
on the serial data line SDATA, while the serial
clock line SCLK remains high. This indicates that
an address/data stream will follow. All slave
peripherals connected to the serial bus respond to
the START condition and shift in the next eight
bits, consisting of a 7-bit address (MSB first) plus
an R/W
bit, which determines the direction of the
data transfer, that is, whether data will be written
to or read from the slave device.
The peripheral whose address corresponds to the
transmitted address responds by pulling the data
line low during the low period before the ninth
clock pulse, known as the Acknowledge Bit. All
other devices on the bus now remain idle while the
selected device waits for data to be read from or
written to it. If the R/W
bit is a 0, the master writes
to the slave device. If the R/W
bit is a 1, the
master reads from the slave device.
2. Data is sent over the serial bus in sequences of
nine clock pulses, eight bits of data followed by an
Acknowledge Bit from the slave device.
Transitions on the data line must occur during the
low period of the clock signal and remain stable
during the high period, because a low-to-high
transition when the clock is high can be interpreted
as a stop signal. The number of data bytes that can
be transmitted over the serial bus in a single read
or write operation is limited only by what the
master and slave devices can handle.
3. When all data bytes have been read or written,
stop conditions are established. In write mode, the
master pulls the data line high during the 10th
clock pulse to assert a stop condition. In read
mode, the master device overrides the
acknowledge bit by pulling the data line high
during the low period before the ninth clock pulse.
This is known as No Acknowledge. The master
then takes the data line low during the low period
before the 10th clock pulse, then high during the
10th clock pulse to assert a stop condition.
Any number of bytes of data can be transferred over the
serial bus in one operation, but it is not possible to mix read
and write in one operation, because the type of operation is
determined at the beginning and cannot subsequently be
changed without starting a new operation.
For the ADM1021A, write operations contain either one
or two bytes, while read operations contain one byte.
To write data to one of the device data registers or read
data from it, the address pointer register must be set so that
the correct data register is addressed, data can then be written
into that register or read from it. The first byte of a write
operation always contains a valid address that is stored in the
address pointer register. If data is to be written to the device,
the write operation contains a second data byte that is written
to the register selected by the address pointer register.
This is illustrated in Figure 14. The device address is sent
over the bus followed by R/W
set to 0. This is followed by
two data bytes. The first data byte is the address of the
internal data register to be written to, which is stored in the
address pointer register. The second data byte is the data to
be written to the internal data register.
Figure 14. Writing a Register Address to the Address Pointer Register, then Writing Data to the Selected Register
A6
SCLK
SDATA
A5 A4
A3
A2
A1
A0
D7 D6 D5 D4 D3 D2 D1 D0
ACK. BY
ADM1021A
START BY
MASTER
19
1
ACK. BY
ADM1021A
9
D7 D6 D5 D4 D3 D2 D1 D0
ACK. BY
ADM1021A
STOP BY
MASTER
1
9
SCLK (CONTINUED)
SDATA (CONTINUED)
FRAME 1
SERIAL BUS ADDRESS BYTE
FRAME 2
ADDRESS POINTER REGISTER BYTE
FRAME 3
DATA BYTE
R/W
ADM1021A
http://onsemi.com
12
Figure 15. Writing to the Address Pointer Register Only
A6
SCLK
SDATA
A5 A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
ACK. BY
ADM1021A
STOP BY
MASTER
START BY
MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
FRAME 2
ADDRESS POINTER REGISTER BYTE
1
19
ACK. BY
ADM1021A
9
R/W
Figure 16. Reading Data from a Previously Selected Register
A6
SCLK
SDATA
A5 A4
A3
A2
A1
A0
D7
D6
D5
D4
D3
D2
D1
D0
NO ACK. BY
MASTER
STOP BY
MASTER
START BY
MASTER
FRAME 1
SERIAL BUS ADDRESS BYTE
FRAME 2
DATA BYTE FROM ADM1021A
1
19
ACK. BY
ADM1021A
9
R/W
When reading data from a register there are two
possibilities:
1. If the ADM1021As address pointer register value
is unknown or not the desired value, it is first
necessary to set it to the correct value before data
can be read from the desired data register. This is
done by performing a write to the ADM1021A as
before, but only the data byte containing the
register read address is sent, because data is not to
be written to the register. This is shown in
Figure 15.
A read operation is then performed consisting of
the serial bus address, R/W
bit set to 1, followed
by the data byte read from the data register. This is
shown in Figure 16.
2. If the address pointer register is known to be
already at the desired address, data can be read
from the corresponding data register without first
writing to the address pointer register, so Figure 15
can be omitted.
NOTES:Although it is possible to read a data byte from a data
register without first writing to the address pointer register,
if the address pointer register is already at the correct value,
it is not possible to write data to a register without writing to
the address pointer register; this is because the first data
byte of a write is always written to the address pointer
register.
Remember that the ADM1021A registers have different
addresses for read and write operations. The write address
of a register must be written to the address pointer if data is
to be written to that register, but it is not possible to read data
from that address. The read address of a register must be
written to the address pointer before data can be read from
that register.
ALERT Output
The ALERT output goes low whenever an out-of-limit
measurement is detected, or if the remote temperature sensor
is open-circuit. It is an open drain and requires a 10 kW
pullup to V
DD
. Several ALERT outputs can be wire-ANDed
together so the common line goes low if one or more of the
ALERT
outputs goes low.
The ALERT
output can be used as an interrupt signal to a
processor, or it can be used as an SMBALERT
. Slave devices
on the SMBus cannot normally signal to the master that they
want to talk, but the SMBALERT
function allows them to do
so.
One or more ALERT
outputs are connected to a common
SMBALERT
line connected to the master. When the
SMBALERT
line is pulled low by one of the devices, the
following procedure occurs, as shown in Figure 17.
Figure 17. Use of SMBALERT
ALERT RESPONSE
ADDRESS
MASTER SENDS
ARA AND READ
COMMAND
DEVICE SENDS
ITS ADDRESS
RDSTART ACK
DEVICE
ADDRESS
NO
ACK
STOP
MASTER RECEIVES SMBALERT
1. SMBALERT is pulled low.
2. Master initiates a read operation and sends the
alert response address (ARA = 0001 100). This is
a general call address that must not be used as a
specific device address.
3. The device whose ALERT
output is low responds
to the alert response address and the master reads
its device address. The address of the device is
now known and it can be interrogated in the usual
way.
4. If more than one device’s ALERT
output is low,
the one with the lowest device address has priority,
in accordance with normal SMBus arbitration.

ADM1021ARQ

Mfr. #:
Manufacturer:
ON Semiconductor
Description:
IC SENSOR TEMP DUAL3/5.5V 16QSOP
Lifecycle:
New from this manufacturer.
Delivery:
DHL FedEx Ups TNT EMS
Payment:
T/T Paypal Visa MoneyGram Western Union