AnsweredAssumed Answered

Example FXOS8700CQ Driver Code in Datasheet gives 0,0,256 for magnetometer x,y,z values

Question asked by Peter Thompson on Apr 16, 2019
Latest reply on Apr 18, 2019 by Tomas Vaverka

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....#