Digital Interfaces
3.1.3 I²C Write Operations
3.1.3.1 Single-Byte Write
To start a write command, the master transmits an ST to the FXAS21002C, followed by
the slave address with the R/W bit set to “0” for a write, and the FXAS21002C sends an
ACK. Then, the master transmits the address of the register to write to, and the
FXAS21002C sends an ACK. Then, the master transmits the 8-bit data to write to the
designated register and the FXAS21002C sends an ACK that it has received the data.
Since this transmission is complete, the master transmits an SP to end the data transfer.
The data sent to the FXAS21002C is now stored in the appropriate register.
3.1.3.2 Multiple-Byte Write
The FXAS21002C automatically increments the register address write pointer after a
write command is received. Therefore, after following the steps of a single-byte write,
multiple bytes of data can be written to sequential registers after each FXAS21002C
ACK is received.
16
Freescale Semiconductor, Inc.
3-Axis Digital Angular Rate Gyroscope, Rev. 2.1, 5/2015