SMBus communication with MLX90614 old 260 DownloadLink 5207

Application Note
SMBus communication with MLX90614
Scope
This document introduces the users in SMBus communication protocol and especially how it can
be used to communicate with MLX90614 infrared thermometers. The MLX90614 is an Infra Red
thermometer for non contact temperature measurements. Both the IR sensitive thermopile
detector chip and the signal conditioning ASSP are integrated in the same TO-39 can. Thanks to
its low noise amplifier, 17-bit ADC and powerful DSP unit, a high accuracy and resolution of the
thermometer is achieved. The thermometer comes factory calibrated with a digital PWM and
SMBus output. As a standard, the 10-bit PWM is configured to continuously transmit the
measured temperature in range of -20 to 120 °C, with an output resolution of 0.14 °C and the
POR default is SMBus.
The original purpose of the SMBus was to define the communication link between an intelligent
battery, charger for the battery and a microcontroller that communicates with the rest of the
system. However, SMBus can also be used to connect a wide variety of devices including
power-related devices, system sensors, inventory EEPROMs communications devices and
more. The original specification of the SMBus protocol can be found on http://www.smbus.org/specs/
Related Melexis Products
EVB90614 is the evaluation board which supports the MLX90614 devices.
Table of contents
Scope...................................................................................................................................................................... 1
Related Melexis Products ........................................................................................................................................ 1
SMBus protocol discription..................................................................................................................................... 2
Definitions of terms............................................................................................................................................. 2
SMBus overview................................................................................................................................................. 2
Electrical characteristics of SMBus devices ......................................................................................................... 4
SMBus common AC specifications...................................................................................................................... 4
Timeouts............................................................................................................................................................. 5
Slave device timeout definitions and conditions ................................................................................................... 5
Master device timeout definitions and conditions................................................................................................. 6
DC parameters .................................................................................................................................................... 6
Bit transfer .......................................................................................................................................................... 6
SMBus comunication with MLX90614 ................................................................................................................... 7
Overview ............................................................................................................................................................ 7
Timings .............................................................................................................................................................. 8
Detailed Description............................................................................................................................................ 9
Sleep Mode ....................................................................................................................................................... 11
Electrical considerations of SMBus applications with MLX90614...................................................................... 12
Conclusion........................................................................................................................................................ 14
390119061402
Rev 001
Page 1 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
SMBus protocol discription
Definitions of terms
Bus Master - Any device that initiates SMBus transactions and drives the clock.
Bus Slave - Target of a SMBus transaction which is driven by some master.
Master-receiver - A bus master in a SMBus transaction while it is receiving data from a bus
slave during a SMBus transaction
Master-transmitter - A bus master in a SMBus transaction while it is transmitting data onto the
bus during a SMBus transaction.
PEC - Packet Error Code
Slave-receiver - A Slave-receiver is a device that acts as a bus slave in a SMBus transaction
while it is receiving address, command or other data from a device acting as a bus master in the
transaction.
Slave-transmitter - A Slave-transmitter is a device acting as a bus slave in a SMBus
transaction while it is transmitting data on the bus in response to a bus master’s request
ACK - Acknowledgement from receiver
NACK - Not Acknowledgement from receiver
Repeated Start - A repeated START is a START condition on the SMBus used to switch from
write mode to read mode in a combined format protocol (e.g. Byte Read). The repeated START
always follows an Acknowledge, and it always indicates that an address phase is beginning.
MSb - The Most Significant bit
LSb - The Last Significant bit
SMBus overview
Only two bus lines are required; a serial data line (SDA) and a serial clock line (SCL). Each
device connected to the bus is software addressable by a unique address and a simple
master/slave relationships exist at all times. Masters can operate as master-transmitters or as
master-receivers. It’s a true multi-master bus including collision detection and arbitration to
prevent data corruption if two or more masters simultaneously initiate data transfer. Serial, 8-bit
oriented, bi-directional data transfers can be made at up to 100 kbit/s. The System Management
Bus (SMBus) is a two-wire interface through which various system component chips can
communicate with each other and with the rest of the system. It is based on the principles of
operation of I2C protocol. Multiple devices, both bus masters and bus slaves, may be connected
to a SMBus segment. Generally, a bus master device initiates a bus transfer between it and a
single bus slave and provides the clock signals. The one exception to this rule is during initial
bus setup when a single master may initiate transactions with multiple slaves simultaneously. A
bus slave device can receive data provided by the master or it can provide data to the master.
Only one device may master the bus at any time. Since more than one device may attempt to
take control of the bus as a master, the SMBus protocol provides an arbitration mechanism that
relies on the wired-AND connection of all SMBus device interfaces to the SMBus.
390119061402
Rev 001
Page 2 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
Devices may be powered by the bus VDD or by another power source Vbus (Fig.1).
Fig.1: SMBus Topology
VDD may be 3 to 5 volts +/- 10% and there may be SMBus devices powered directly by the bus
VDD. Both SDA and SCL lines are bi-directional, connected to a positive supply voltage through
a pull-up resistor or a current source or other similar circuit. When the bus is free, both lines are
high. The output stages of the devices connected to the bus must have an open drain or open
collector in order to perform the wired-AND function. SMBus standard recommends for both the
input and output stages of SMBus devices, not to load the bus when their power plane is turned
off, i.e. powered-down devices should provide no leakage path to ground. A device that wants to
place a ‘zero’ on the bus must drive the bus line to the defined logic low voltage level. In order to
place a logic ‘one’ on the bus the device should release the bus line letting it be pulled high by
the bus pull-up circuitry. The bus lines may be pulled high by a pull-up resistor or by a current
source. In cases that involve higher bus capacitance, a more sophisticated circuit may be used
that can limit the pull-down sink current while also providing enough current during the low-tohigh transition to maintain the rise time specifications of the SMBus.
Version 1.1 of SMBus introduced a Packet Error Checking mechanism to improve reliability and
communication robustness. Implementation of Packet Error Checking by SMBus devices is
optional for SMBus devices. Packet Error Checking, whenever applicable, is implemented by
appending a Packet Error Code (PEC) at the end of each message transfer. The PEC uses an
8-bit cyclic redundancy check (CRC-8) of each read or write bus transaction to calculate a
Packet Error Code (PEC). The PEC may be calculated in any way that conforms to a CRC-8
represented by the polynomial, C(x) = x8 + x2 + x1 + 1 and must be calculated in the order of
the bits as received. The PEC calculation includes all bytes in the transmission, including
address, command and data. The PEC calculation does not include ACK, NACK, START, STOP
nor Repeated START bits. This means that the PEC is computed over the entire message from
the first START condition.
Fig.2 shows the common structure of a SMBus transaction
Fig.2: SMBus Transaction
390119061402
Rev 001
Page 3 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
Electrical characteristics of SMBus devices
SMBus common AC specifications
The diagram bellow illustrates the various SMBus timings
Fig.3: SMBus timing measurements
The table below describes all timings.
Table 1
Symbol
FSMB
tBUF
tHD:STA
tSU:STA
tSU:STO
tSU:DAT
tTIMEOUT
tLOW
tHIGH
tLOW:SEXT
tLOW:MEXT
tF
tR
T POR
Parameter
SMBus Operation frequency
Bus free time between Stop and
Start condition
Hold time after(Repeated)Start
Condition.After this period, the first clock is generated
Repeated Start Condition setup time
Stop Condition setup time
Data hold time
Data setup time
Detect clock low timeout
Clock low period
Clock high period
Cumulative clock low extend time
(slave device)
Cumulative clock low extend time
(master device)
Clock/Data Fall time
Clock/Data Rise Time
Time in which a device must be
Operational after power-on reset
Min
10
4.7
Max
100
-
Units
kHz
s
Comments
See note 1
4.0
-
s
4.7
4.0
300
250
25
4.7
4.0
-
35
50
25
s
s
ns
ms
s
s
ms
See note 3
See note 4
-
10
ms
See note 5
-
300
1000
500
ns
ns
ms
See note 6
See note 6
See note 7
See note 2
Note 1: A master shall not drive the clock at a frequency below the minimum FSMB. Further, the operating clock
frequency shall not be reduced below the minimum value of FSMB due to periodic clock extending by slave devices .
This limit does not apply to the bus idle condition, and this limit is independent from the tLOW: SEXT and tLOW: MEXT
limits. For example, if the SCL is high for tHIGH,MAX, the clock must not be periodically stretched longer than
1/FSMB,MIN – THIGH,MAX. This requirement does not pertain to a device that extends the SCL low for data processing of
a received byte, data buffering and so forth for longer than 100us in a nonperiodic way.
Note 2: Devices participating in a transfer can abort the transfer in progress and release the bus when any single
clock low interval exceeds the value of TTIMEOUT,MIN. After the master in a transaction detects this condition, it must
generate a stop condition within or after the current data byte in the transfer process. Devices that have detected this
condition must reset their communication and be able to receive a new START condition no later than TTIMEOUT,MAX.
Typical device examples include the host controller, and embedded controller and most devices that can master the
SMBus. Some simple devices do not contain a clock low drive circuit; this simple kind of device typically may reset
390119061402
Rev 001
Page 4 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
its communications port after a start or a stop condition.A timeout condition can only be ensured if the device that is
forcing the timeout holds the SCL low for TTIMEOUT,MAX or longer.
Note 3: THIGH,MAX provides a simple guaranteed method for masters to detect bus idle conditions. A master can
assume that the bus is free if it detects that the clock and data signals have been high for greater than THIGH,MAX.
Note 4: TLOW:SEXT is the cumulative time a given slave device is allowed to extend the clock cycles in one message
from the initial START to the STOP. It is possible that, another slave device or the master will also extend the clock
causing the combined clock low extend time to be greater than TLOW:SEXT. Therefore, this parameter is measured with
the slave device as the sole target of a full-speed master.
Note 5: TLOW:MEXT is the cumulative time a master device is allowed to extend its clock cycles within each byte of a
message as defined from START-to-ACK, ACK-to-ACK, or ACK-to-STOP. It is possible that a slave device or
another master will also extend the clock causing the combined clock low time to be greater than TLOW:MEXT on a
given byte. Therefore, this parameter is measured with a full speed slave device as the sole target of the master.
Note 6: Rise and fall time is defined as follows:
TR = (VILMAX - 0.15) to (VIHMIN + 0.15)
TF = (VIHMIN + 0.15)to (VILMAX - 0.15)
Note 7: For a MLX90614 module this value is above 500ns
Timeouts
Timeout measurement intervals illustrates the definition of the timeout intervals, TLOW:SEXT
and TLOW:MEXT.
Fig.4: Timeout measurement intervals
Slave device timeout definitions and conditions
The TTIMEOUT,MIN parameter allows a master or slave to conclude that a defective device is
holding the clock low indefinitely or a master is intentionally trying to drive devices off the bus. It
is highly recommended that a slave device release the bus (stop driving the bus and let SCL
and SDA float high) when it detects any single clock held low longer than TTIMEOUT,MIN. Devices
that have detected this condition must reset their communication and be able to receive a new
START condition in no later than TTIMEOUT,MAX. Slave devices that violate TLOW:SEXT are not
conformant with this specification. A Master is allowed to abort the transaction in progress to any
slave that violates the TLOW:SEXT or TTIMEOUT,MIN specifications.
390119061402
Rev 001
Page 5 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
Master device timeout definitions and conditions
TLOW: MEXT is defined as the cumulative time a master device is allowed to extend its clock cycles
within one byte in a message as measured from:
START to ACK
ACK to ACK
ACK to STOP
A system host may not violate TLOW:MEXT except when caused by the combination of its clock
extension with the clock extension from a slave device or another master. A Master is allowed to
abort the transaction in progress to any slave that violates the TLOW:SEXT or TTIMEOUT,MIN
specifications. This can be accomplished by the Master issuing a STOP condition at the
conclusion of the byte transfer in progress.
Note: A Master should take care when evaluating TLOW:SEXT violation during arbitration since the clock may be held
low by multiple slave devices simultaneously. The arbitration interval may be extended for several bytes in the case
of devices that respond to commands to the SMBus ARP address. If timeouts are handled at the driver level, the
software may need to allow timeouts to be configured or disabled by applications that use the driver in order to
support older devices that do not fully meet the SMBus timeout specifications. Devices that implement ‘shared’ slave
addresses may also violate this specification due to combined clock stretching by the different devices sharing the
address. TTIMEOUT,MIN, however, does not increase due to combined clock stretching. Therefore, this is a safer timeout
parameter for a Master to use when it knows it”s accessing SMBus 2.0 devices.
DC parameters
In the table bellow are given the general DC parameters of the SMBus specification.
Table 2
Symbol
VIL
VIH
VOL
VDD
Parameter
Data, Clock Input Low Voltage
Data, Clock Input High Voltage
Data, Clock Output Low Voltage
Nominal bus voltage
Min
2.1
2.7
Max
0.8
VDD
0.4
5.5
Units
V
V
V
V
Comments
3V to 5V ±10%
Bit transfer
In accordance the SMBus specification, the MSb is transferred first. SMBus uses fixed voltage
levels to define the logic “ZERO” and logic “ONE” on the bus respectively. The data on SDA
must be stable during the “HIGH” period of the clock. Data can change state only when SCL is
low. Each transfer begins with START bit and finishes with STOP bit (Fig.5).
Fig.5: SMBus byte format
START bit is defined by HIGH to LOW transition of the SDA line while SCL is HIGH. STOP bit is
defined by LOW to HIGH transition of the SDA line while SCL is HIGH. Every byte consists of 8
bits. Each byte transferred on the bus must be followed by an acknowledge bit. The
acknowledge-related clock pulse is generated by the master (ACK clock). The transmitter,
390119061402
Rev 001
Page 6 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
master or slave, releases the SDA line (HIGH) during the acknowledge clock cycle. In order to
acknowledge a byte, the receiver must pull the SDA line LOW during the HIGH period of the
clock pulse according to the SMBus timing specifications. A receiver that wishes to NACK a byte
must let the SDA line remain HIGH during the acknowledge clock pulse. A SMBus device must
always acknowledge (ACK) its own address.
A SMBus slave device may decide to NACK a byte other than the address byte in the following
situations:
The slave device is busy performing a real time task, or data requested are not available.
The master upon detection of the NACK condition must generate a STOP condition to abort the
transfer. Note that as an alternative, the slave device can extend the clock LOW period within
the limits of the specifications in order to complete its tasks and continue the transfer.
The slave device detects an invalid command or invalid data. In this case the slave
device must NACK the received byte. The master upon detection of this condition must generate
a STOP condition and retry the transaction.
If a master-receiver is involved in the transaction it must signal the end of data to the
slave-transmitter by generating an NACK on the last byte that was clocked out by the slave. The
slave-transmitter must release the data line to allow the master to generate a STOP condition.
SMBus comunication with MLX90614
Overview
The MLX90614 can only be used as a slave device. Generally, the master initiates the start of
data transfer by selecting a slave through the Slave Address (SA). The MLX90614 meets all the
timing specifications of the SMBus (refer to Electrical characteristics of SMBus devices above).
MLX90614 has 32x17 RAM. It is not possible to write into the RAM memory. It can only be read
and only a limited number of RAM registers are of interest to the customer (see Table 5 below).
(RAM readings format is described in more details below as well as in the MLX90614 data
sheet.) 32x16 EEPROM is available for keeping the calibration data, chip configuration and chip
ID. Entire EEPROM can be read via the SMBus compatible interface. Some EEPROM locations
are write protected (access is possible with entry to Calibration mode). Before writing to
EEPROM an erase has to take place. Erase is simply writing zero into EEPROM. Erase
operations have the same access constrains as the write operations. Note that changes in
EEPROM will result in reconfiguration of the ASIC after POR (also includes enter and exit Sleep
mode). For example, Slave Address can be changed in EEPROM, but the ASIC will respond to
the old SA until POR is exited.
If MLX90614 is configured in PWM output mode, a SMBus request condition is needed. SMBus
request overrides the OD/PP bit that configures the SDA/PWM pin into Open Drain NMOS or
Push-Pull CMOS. For example, MLX90614 configured for PP PWM will switch to OD SMBus
upon SMBus request condition. The diagram below illustrates the way of switching to SMBus if
PWM is enabled. PWM output can be the POR default if configured in EEPROM.
Fig.6 SMBus request
390119061402
Rev 001
Page 7 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
The MLX90614’s SMBus request condition requires forcing LOW the SCL pad for period longer
than the request time t REQ (see Table 3 below). The Data line value is ignored in this case.
Once disabled PWM, it can be only enabled by switching Off-On of the supply or exit from Sleep
Mode.
Timings
The specific timings in MLX90614’s SMBus are: SMBus Request (tREQ) is the time that the SCL
should be forced low in order to switch the MLX90614 from PWM mode to SMBus mode; Tsuac
(SD) is the time after the eighth falling edge of SCL that MLX90614 will force PWM/SDA low to
acknowledge the last received byte. Thdac (MD) is the time after the ninth falling edge of SCL
that MLX90614 will release the PWM/SDA so the MD could continue with the communication.
Tsuac (MD) is the time after the eighth falling edge of SCL that MLX90614 will release
PWM/SDA so that the MD could acknowledge the last received byte. Thdac (MD) is the time
after the ninth falling edge of SCL that MLX90614 will take control over the PWM/SDA so the it
could continue with the next byte to transmit. (The indexes MD and SD for the latest timings are
used – MD when the master device is making acknowledge; SD when the slave device is
making acknowledge). For other timings see Electrical characteristics of SMBus devices above.
Fig.7:MLX90614 specific timings
In Table 3 are given the values of the specific timings.
Table 3
Symbol
Parameter
tREQ
SMBus Request
tsuac (MD)
tsuac(SD)
thdac(MD)
thdac(SD)
390119061402
Rev 001
Min
2
0.5
1.5
1.5
0.5
Max Units Comments
ms
1
s
2
s
2
s
1
s
Page 8 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
Detailed Description
Table 4 describes commands needed for communication with MLX90614.
Table 4
Note *: The xxxxx is the address of the cell that has to be accessed. Read/Write is selected via the Read/Write bit
(refer to Fig. 2).
Note**: Behaves like read command. The MLX90614 returns PEC after 16 bits data of which only 4 are meaningful
and if the MD wants it, it can stop the communication after the first byte. The difference between read and read flags
is that the latter does not have a repeated start bit.
Table 5 describes most important RAM registers. For other registers in RAM and EEPROM
memory refer to MLX90614 datasheet.
Table 5
!
"
#
"
$
%
&
'
(
)
&
*
'
(
*
+
&
*
'
(
*$
,
RAM and EEPROM memories are accessible in two modes: Application mode and Calibration
mode.
The main difference between the modes is that in Calibration mode additional 17 cells of the
EEPROM become write accessible (See MLX90614 datasheet). Note that these cells are
provided for advanced usage of MLX90614. A typical application of MLX90614 will not need
access to these cells. Therefore Application mode is enough to read and reconfigure most of the
MLX90614.
390119061402
Rev 001
Page 9 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
The format of SMBus reading from RAM is:
RAM memory is read only via SMBus. The reading data are divided by two, due to a sign bit
(Sn) in RAM (for example, TOBJ1 - RAM address 0x07h will sweep between 0x27ADh to
0x7FFF as the object temperature rises from -70.01°C to +382.19°C). The MSb read from RAM
is an error flag (active high) for the linearized temperatures (TOBJ1, TOBJ2 and Ta). The MSb
for the raw data (e.g. IR sensor1 data) is a sign bit (sign and magnitude format).
The format of SMBus reading from EEPROM is:
EEPROM memory is accessible for reading in both modes without restriction.
The format of SMBus writing in EEPROM is:
In Application mode only 9 cells are accessible for writing. An attempt to write not accessible
EEPROM cell results in no change.
The format of SMBus transaction which enters Calibration, Application or Sleep mode is:
390119061402
Rev 001
Page 10 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
The format of a SMBus transaction which reads flags is:
Flags read are:
Data[15] - EEBUSY – the previous write/erase EEPROM access is still in progress. High active.
Data[14] - Unused
Data[13] - EE_DEAD – EEPROM double error has occurred. High active.
Data[12] - INIT – POR initialization routine is still ongoing. High active.
Data[11] - Not implemented..
Data[10..0] - All zeros.
Flags read is a diagnostic feature. The MLX90614 can be used regardless of these flags.
Sleep Mode
MLX90614 can enter Sleep Mode via command “Enter SLEEP mode” sent via the SMBus
interface. This mode is not available for the 5V supply version. To limit the current consumption
to 2.5uA (typ), the SCL pin should be kept low during sleep (Fig.8). MLX90614 goes back into
power-up default mode (via POR reset) by setting SCL pin high and then PWM/SDA pin low for
at least tDDq=13ms (Fig.9).
Fig.8
390119061402
Rev 001
Fig.9
Page 11 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
Electrical considerations of SMBus applications with MLX90614
PP/-OD ; SMBus
Vdd
Vdd
Vdd
+Vdd
Din
PWM/SDA
SCL/Vz
Dout
Synthesized Zener diode
for building external HV voltage regulator
Vss
Vss
Vss
SCLin
Vss Vss
Fig.10: Input/Output pin schematics of MLX90614
For reliability reasons, the MLX90614 incorporates ESD clamp diodes to Vdd and from Vss.
Therefore a powered-down MLX90614 will load the SMBus. This differs from the SMBus
specification. In power-managed systems it is therefore needed to keep the MLX90614 powered
when the SMBus is needed. This is no issue with sleep mode.
Fig.11: SCL line undershoot with MLX90614
A synthesized Zener diode is integrated on the SCL/Vz pin of the device. It allows simple
implementation of higher voltage regulators. There are several things that influence the SMBus
applications with that feature:
Transient response of SCL pin of MLX90614 adds undershoot to the SMBus SCL line. Rising
edge on the bus results in partial opening of the zener diode, as shown on Fig.11. This
undershoot is typically well beyond the threshold level for high-to-low transition on SCL line.
When an external regulator is build the SCL can no longer be used. This would cause the
regulator to turn off and on with every clock cycle. Use of MLX90614 in >5V system is shown on
Fig. 12. However, if it is needed to have SMBus communication with an MLX90614 already
connected to a schematic like this, it will be necessary to override the power supply regulator as
shown on Fig. 12. Then the SCL pin can be toggled and the SMBus communication will run.
SCL input leakage is increased. In worst case (over temperature and voltage on the SCL pin)
390119061402
Rev 001
Page 12 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
this leakage may significantly exceed the sleep mode power drain of the MLX90614. Sleep
mode is available with the 3V version only, while the zener diode function can be used with the
5V version. However, the zener diode is present in all MLX90614 versions, so the leakage will
be seen on the 3V version too. It is recommended to disable the pull-up on the SCL line in order
to prevent the leakage from increasing the overall power-down power drain of the SMBus
system.
1
U1
5.7V
Vss
U1
MLX90614Axx
2
Voltage regulator
Equivalent
schematics
SDA
4
C1
1
SDA
Vss
U1
MLX90614Axx
SCL
+5V
+5V
SDA
SDA
Vdd
R1
3
SCL/Vz
C1
+5V
R2
SDA
3
+V
R3
U2
C2
SCL
2
R1
Q1
+5V
4
Q1
+V
Vdd
+5V
R1
SCL/Vz
Q1
+V
SCL
Vdd
MCU
SDA
SCL
Vss
Fig.12: External voltage regulator with MLX90614
The input levels of the MLX90614 are not 100% compliant with the SMBus specification. The
SMBus specification states an input low voltage maximum value of 0.8V and a minimum high
voltage of 2.1V. For the MLX90614 (refer to the data sheet) the specifications differs. When 5V
(also applies for >5V applications) is used, the MLX90614 uses an on-chip voltage regulator (5V
– to – 3V±10%). With the 3V version, the power supply is used directly. Then, at 5V (as well as
at >5V) the internal circuitry of MLX90614 operates at 3V±10%, while at 3V the power supply
specification covers 3V±20%. The higher tolerance of this power supply results in a higher
tolerance of the input levels. Worst-case values for MLX90614Axx are Vin,L=0.5…1.5V and
Vin,H=1.6…2.4V (over all temperatures and supply voltages), and for MLX90614Bxx –
0.5…1,5V and 1.2…2.8V (idem). However, this does not mean, that MLX90614Axx is likely to
have Vin,L=1.5V and Vin,H=1.6V at the same time; also MLX90614Bxx will not have Vin,L=1.5V
and Vin,H=1.2V at the same time. Both thresholds decrease as the power supply voltage
decreases. The two thresholds are also affected by temperature in the same direction. A
hysteresis is provided on both SDA and SCL inputs for noise immunity.
As a summary, keeping the logic levels on the bus Vlow<0.5V and Vhigh>2.8V will certainly
cover all operational cases with the MLX90614, but is not likely to be really necessary. Detailed
values (guaranteed by design, not test limits) are given below:
Table 6
!"
-% +
-+ %
-, #
-. #
- !
!"
-+ !
-.
-
- .
-$ .
# $"
-) !
-, $
-.
-
-$
# $"
-+ .
-. +
- +
- +
-! )
#% &"
-+ $
-.
-
-
-!
#% &"
-, ,
- +
- +
-$ +
-# )
'
!"
-$ !
-)
-,
'
!"
-% #
-. !
' # $"
-#
-,
' # $"
-) +
$- !
' #% &"
-% +
-. !
' #% &"
-+ $
$- +
390119061402
Rev 001
$-
$ -#
$- $
$ -! $
$ -) .
-. .
$- .
$ -% +
$ -$
$ -! ,
$ -+ #
$-
$ -$ .
$ -) #
$ -$ %
$ -# !
$ -+ +
Page 13 of 14
Oct-2006
Application Note
SMBus communication with MLX90614
3.00
VinL, VinH, V
Vin,L,-40°C,min
Vin,L,-40°C,max
2.50
Vin,L,+27°C,min
Vin,L,+27°C,max
2.00
Vin,L,+125 °C,min
Vin,L,+125 °C,max
1.50
Vin,H,-40°C,min
Vin,H,-40°C,max
1.00
Vin,H,+27°C,min
Vin,H,+27°C,max
0.50
Vin,H,+125 °C,min
Vdd,V (3V version)
0.00
2.4
2.8
3
3.2
Vin,H,+125 °C,max
3.6
Fig.13: Input voltage levels versus power supply voltage and temperature
Both temperature and supply voltage increase both low and high thresholds.
Conclusion
The MLX90614 can easily be used in with the SMBus interface to build a network of sensors.
Also for a single sensor the SMBus interface can be the preferred choice for communicating with
the application controller.
390119061402
Rev 001
Page 14 of 14
Oct-2006