The FXOS8700 is connected to Beaglebone Black via i2c. The example code from the Datasheet is copied - print statements were added. The accelerometer data seems fine but the magnetometer data is consistently 0,0,256.
The magnetometer control register 2, FXOS8700CQ_M_CTRL_REG2, is being set to 0x20 for a burst read but it does not seem to work.
Not sure if this is being posted in the correct location....#
Peter