Datasheet

- 8 -
C bus Response: 9 Figure
Slave Address
I
2
C bus does not additional address decoder and chip select signals. Multiple with I
2
C bus
interface devices can be connected to the same I
2
C bus, through the device address to distinguish
between them. I
2
C bus addressing procedure is usually starting at the first byte determines the
conditions to choose which one from the host machine, the seven addressable address (the other is a
10-bit addressing addresses differ the sensor uses seven addressable address). Bit of the first byte of
the definition shown in Figure 10, the first byte of the first seven constitute the slave address, the
least significant bit (LSB) is the first 8. It determines the direction of the packet, the lowest bit of the
first byte (LSB) is "0": Indicates that the host will write information to the selected slave; "1"
indicates that the host will read information from the machine to.
Figure 10: The first byte after the START condition
After sending an address, each device in the system after the initial conditions, the head seven
comparison with its own address, if different, the device will think it is the host address, as a slave on
the receiver or from a machine the transmitter consists of R / W bits. The host is the master device, it
does not require the device address, other devices are all slaves, to have the device address. Must
ensure that the same I
2
C bus address all slaves are uniquely determined, can’t be duplicated,
otherwise I
2
C-bus will not work properly.
The basic data format diagram
Figure 11, Figure 12 shows the basic format of each of I
2
C transmission and reception of
data. It should be noted that the situation in Figure 11 and Figure 12 is different, in Figure 11, the
host at the time of sending the last byte of data to the slave, the slave may also be a non-answer
answer, but in any case the host can generate stop condition. If the host sends data to the machine
(even including slave address) from the detection of non-response from the machine, you should
promptly stop transmission.