Datasheet

TMP102
SBOS397C AUGUST 2007REVISED OCTOBER 2012
www.ti.com
SERIAL INTERFACE This action is accomplished by issuing a slave
address byte with the R/W bit low, followed by the
The TMP102 operates as a slave device only on the
Pointer Register byte. No additional data are
two-wire bus and SMBus. Connections to the bus are
required. The master can then generate a START
made via the open-drain I/O lines SDA and SCL. The
condition and send the slave address byte with the
SDA and SCL pins feature integrated spike
R/W bit high to initiate the read command. See
suppression filters and Schmitt triggers to minimize
Figure 14 for details of this sequence. If repeated
the effects of input spikes and bus noise. The
reads from the same register are desired, it is not
TMP102 supports the transmission protocol for both
necessary to continually send the Pointer Register
fast (1kHz to 400kHz) and high-speed (1kHz to
bytes, because the TMP102 remembers the Pointer
3.4MHz) modes. All data bytes are transmitted MSB
Register value until it is changed by the next write
first.
operation.
Note that register bytes are sent with the most
SERIAL BUS ADDRESS
significant byte first, followed by the least significant
To communicate with the TMP102, the master must
byte.
first address slave devices via a slave address byte.
The slave address byte consists of seven address
SLAVE MODE OPERATIONS
bits, and a direction bit indicating the intent of
executing a read or write operation. The TMP102 can operate as a slave receiver or slave
transmitter. As a slave device, the TMP102 never
The TMP102 features an address pin to allow up to
drives the SCL line.
four devices to be addressed on a single bus.
Table 12 describes the pin logic levels used to
Slave Receiver Mode:
properly connect up to four devices.
The first byte transmitted by the master is the slave
Table 12. Address Pin and Slave Addresses address, with the R/W bit low. The TMP102 then
acknowledges reception of a valid address. The next
DEVICE TWO-WIRE
A0 PIN CONNECTION
byte transmitted by the master is the Pointer
ADDRESS
Register. The TMP102 then acknowledges reception
1001000 Ground
of the Pointer Register byte. The next byte or bytes
1001001 V+
are written to the register addressed by the Pointer
1001010 SDA
Register. The TMP102 acknowledges reception of
each data byte. The master can terminate data
1001011 SCL
transfer by generating a START or STOP condition.
WRITING/READING OPERATION
Slave Transmitter Mode:
Accessing a particular register on the TMP102 is
The first byte transmitted by the master is the slave
accomplished by writing the appropriate value to the
address, with the R/W bit high. The slave
Pointer Register. The value for the Pointer Register is
acknowledges reception of a valid slave address. The
the first byte transferred after the slave address byte
next byte is transmitted by the slave and is the most
with the R/W bit low. Every write operation to the
significant byte of the register indicated by the Pointer
TMP102 requires a value for the Pointer Register
Register. The master acknowledges reception of the
(see Figure 13).
data byte. The next byte transmitted by the slave is
When reading from the TMP102, the last value stored the least significant byte. The master acknowledges
in the Pointer Register by a write operation is used to reception of the data byte. The master can terminate
determine which register is read by a read operation. data transfer by generating a Not-Acknowledge on
To change the register pointer for a read operation, a reception of any data byte, or generating a START or
new value must be written to the Pointer Register. STOP condition.
10 Submit Documentation Feedback Copyright © 2007–2012, Texas Instruments Incorporated
Product Folder Links: TMP102