a 16035 Vineyard Blvd. Morgan Hill, CA 95037 p 408 225 4314 f 408 225 2079 e www.allsensors.com all sensors
All Sensors DS-0300 Rev A
I2C Command Sequence
Depending on whether the Fast, Noise Reduced, Low-Power, or Sleep options have been selected, the command se-
quence diers slightly. See Figure 3 for details of the three I2C commands.
Fast, Noise Reduced or Low-power Conguration
The part enters Free Running mode (see table 1) after power-up: it performs an initial complete measurement,
writes the calculated data to the output registers, sets the INT pin high, then goes to sleep. After a delay deter-
mined by the update rate option, the part will wake up, perform measurements, update the output registers,
then go back to sleep. DataRead is the only command recognized; as with the Micropower conguration, if
the INT pin is ignored, the host processor can repeat this command until the Status bits indicate an updated
reading.
Sleep Conguration
The part enters Triggered mode (see table 1) after power-up, and waits for a command from the bus master. If
the StartAll command is received, the temperature, ADC zero, and pressure readings are all measured, and cor-
rection calculations are performed. When valid data is written to the output registers, the INT pin is set high,
and the processing core goes back to sleep. The host processor then sends the DataRead command to shift
out the updated values. If the INT pin is not monitored, the host can poll the output registers by repeating
the DataRead command until the Status bits indicate that the values have been updated (see Tables 2 and 3).
The response time depends on conguration options (refer to Table 1 and Performance Characteristics).
Depending on the application, pressure measurements may be performed by sending the StartPressure com-
mand, which only measures the pressure value and uses previously measured temperature data in calculating
the compensated output value. This presents the result faster (in about 1/3 the delay time) than the StartAll
command. This can be a useful method to synchronize the sensor with the hose controller as well as attain-
ing the fastest overall response time without Special cycles occuring at unwanted times. The system designer
should determine the interval required for sending StartAll commands, necessary to refresh the temperature
1. Sending a Start condition, then a Stop condition, without any transitions on the CLK line, creates a com-
munication error for the next communication, even if the next start condition is correct and the clock pulse is
applied. A second Start condition must be set, which clears the error and allows communication to proceed.
2. The Restart condition—a falling SDA edge during data transmission when the CLK clock line is still high—
creates the same stall/deadlock. In the following data request, an additional Start condition must be sent for
correct communication.
3. A falling SDA edge is not allowed between the start condition and the rst rising SCL edge. If using an I2C
address with the rst bit 0, SDA must be held low from the start condition through the rst bit.
I2C Exceptions
Page 9
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R
www.allsensors.com
Signed Original On File
R