Document Data Sheet "FXOS8700CQ.pdf" Rev 4.0 has an error in the code example on page 31 in Example 2.
It incorrectly assigns the value of 0x00 to FXOS8700CQ_WHOAMI.
The correct value is 0x0D.