1.0 Functional Description
The LM95071 temperature sensor incorporates a tempera-
ture sensor and 13-bit-plus-sign ∆Σ ADC (Delta-Sigma
Analog-to-Digital Converter). Compatibility of the LM95071’s
three-wire serial interface with SPI and MICROWIRE allows
simple communications with common microcontrollers and
processors. Shutdown mode can be used to optimize current
drain for different applications. A Manufacturer/Device ID
register identifies the LM95071 as a National Semiconductor
product.
1.1 POWER UP AND POWER DOWN
The LM95071 always powers up in a known state and in the
continuous conversion mode. Immediately after power up,
the LM95071 will output an erroneous code until the first
temperature conversion has completed.
When the supply voltage is less than about 1.6V (typical),
the LM95071 is considered powered down. As the supply
voltage rises above the nominal 1.6V power up threshold,
the internal registers are reset to the power up default state
described above.
1.2 SERIAL BUS INTERFACE
The LM95071 operates as a slave and is compatible with
SPI or MICROWIRE bus specifications. Data is clocked out
on the falling edge of the serial clock (SC), while data is
clocked in on the rising edge of SC. A complete communi-
cation is framed by falling and rising chip select (CS) signal.
The CS signal should be held high for at least one clock
cycle (160 ns minimum) between communications. The
transmit-only communication (register read) consists of 16
clock cycles. A complete transmit/receive communication will
consist of 32 serial clocks (see Figure 7). The first 16 clocks
comprise the transmit phase of communication, while the
second 16 clocks are the receive phase.
When CS is high SI/O will be in TRI-STATE. Communication
should be initiated by taking chip select (CS) low. This
should not be done when SC is changing from a low to high
state. Once CS is low the serial I/O pin (SI/O) will transmit
the first bit of data. The master can then read this bit with the
rising edge of SC. The remainder of the data will be clocked
out by the falling edge of SC. CS can be taken high at any
time during the transmit phase. If CS is brought low in the
middle of a conversion the LM95071 will complete the con-
version and the output shift register will be updated after CS
is brought back high.
The receive phase of a communication starts after 16 SC
periods. CS can remain low for 32 SC cycles. The LM95071
will read the data available on the SI/O line on the rising
edge of the serial clock. Input data is to an 8-bit shift register.
The part will detect the last eight bits shifted into the register.
The receive phase can last up to 16 SC periods. All ones
must be shifted in order to place the part into shutdown. All
zeros must be shifted in order to place the LM95071 into
continuous conversion mode. Only the following codes
should be transmitted to the LM95071:
•00 hex for continuous conversion
•FF hex for shutdown
Another code may place the part into a test mode. Test
modes are used by National Semiconductor to thoroughly
test the function of the LM95071 during production testing.
Only eight bits have been defined above since only the last
eight transmitted are detected by the LM95071, before CS is
taken HIGH.
The following communication can be used to determine the
Manufacturer’s/Device ID and then immediately place the
part into continuous conversion mode. With CS continuously
low:
•Read 16 bits of temperature data
•Write 16 bits of data commanding shutdown
•Read 16 bits of Manufacture’s/Device ID data
•Write 8 to 16 bits of data commanding Conversion Mode
•Take CS HIGH.
Note that 228 ms (max) will have to pass for a conversion to
complete before the LM95071 actually transmits tempera-
ture data.
1.3 TEMPERATURE DATA FORMAT
Temperature data is represented by a 14-bit, two’s comple-
ment word with an LSB (Least Significant Bit) equal to
0.03125˚C:
Temperature Digital Output
Binary Hex
+150˚C 0100 1011 0000 0011 4B03
+125˚C 0011 1110 1000 0011 3E83
+25˚C 0000 1100 1000 0011 0C83
+0.03125˚C 0000 0000 0000 0111 0007
0˚C 0000 0000 0000 0011 0003
−0.03125˚C 1111 1111 1111 1111 FFFF
−25˚C 1111 0011 1000 0011 F383
−40˚C 1110 1100 0000 0011 EC03
The first data byte is the most significant byte with most
significant bit first, permitting only as much data as neces-
sary to be read to determine temperature condition. For
instance, if the first four bits of the temperature data indicate
an overtemperature condition, the host processor could im-
mediately take action to remedy the excessive tempera-
tures.
1.4 SHUTDOWN MODE/MANUFACTURER ID
The master controller may enable the shutdown mode for
the purpose of reducing power consumption or for reading
the Manufacturer/Device ID information. The shutdown
mode is enabled by writing XX FF hex to the LM95071 as
shown in Figure 7c. The serial bus is still active when the
LM95071 is in shutdown. When in shutdown mode the
LM95071 always will output 1000 0000 0000 1111. This is
the Manufacturer/Device ID information. The first 5-bits of
the field (1000 0XXX) are reserved for the manufacturer ID.
LM95071
www.national.com 8