I'm using the BMX055 in a company's project. I read the data using the bma2x2_driver, bmg160_driver and bmm150_sensor_api for ACC, GYRO and MAG respectively.
The data coming from ACC and DATA seem to be fine, whereas the data from the MAG doesn't seem relyable.
As a preliminary test I'm using the smartphone compass to detect the North, in order to compare it with the result I get from the BMX055. Since the results are very different and the readings from the BMX055 are varying over time I tried to perform a self test:
- the normal test completes successfully
- the advanced test always fails (I used 3 different boards)
Here is a snipped of my code: