EasyManua.ls Logo

Bosch BMP581 - Page 39

Bosch BMP581
74 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Bosch Sensortec"| BST-BMP581-DS004-02 39 | 74
Modifications reserved | Data subject to change
without notice Document number: BST-BMP581-DS004-02
5.6.1 I²C write operation
I²C write operation supports single-byte as well as multi-byte (burst) writing. Figure 13 depicts the I²C write transfer for
single-byte write operation. The transfer begins with a start condition generated by the host, followed by 7 bit slave
address and a write bit (R/W = 1'b0). The slave sends an acknowledge bit (ACK = 1'b0) and releases the bus.
Subsequently the host is expected to send the register address. Only the first 7 bit (right aligned) are the valid address
bit and the MSB is ignored. The slave shall again acknowledge the transmission and wait for the 8 bit data, which shall
be written to the specified register address. After slave acknowledges the data byte, the host generates a stop signal
and terminates the writing protocol.
Figure 13: I²C single-byte write
BMP581 also supports multi-byte write operation in I2C mode. The multi-byte write telegram is depicted in Figure 14.
The telegram begins with a start condition generated by the host, followed by 7 bit slave address and a write bit (R/W
= 1'b0). The slave sends an acknowledge bit (ACK = 1'b0) and releases the bus. Subsequently the host sends the one
byte register address. Only 7 bit (right aligned) are the valid address bits and the MSB shall be ignored. The slave
shall again acknowledge the transmission and wait for several 8 bit wide data words. The first data word is written to
the specified register address. The register address pointer is automatically incremented for each data word. Each
received data word is written to the register referenced by the current register address pointer. The slave
acknowledges each data byte. When no more data words need to be written, the host generates a stop signal and
terminates the writing protocol.
Figure 14: I²C multi-byte write

Related product manuals