AnsweredAssumed Answered

Trying to get FXOS8700CQ to work

Question asked by Tamir Michael on Jul 2, 2017
Latest reply on Jul 19, 2017 by Anthony Duhamel

Hi all,


I have bought a breakout board for this NXP compass after having experimented with a Honeywell HMC5883, which was lacking because it cannot tilt-compensate the heading calculation.

I have i2c communication running correctly (I can read the product id and temperature as well as sensor data) but the issue I'm facing is that the fusion of the magnetometer and accelerometer using the adafruit libraries, as this source code demonstrates:


does not yield a 0-360 degrees smooth heading.

I am aware of Freescale libraries but the thing is that the adafruit software seems to be correct as well - hence me wondering whether I need to calibrate the device (I do not have an arduino board).

What are my options in doing so

Do you think the code I linked above is correct?

How do you suggest I proceed?


Thanks in advance