I use MAX78000 to interface the BHI160B IC and for calibration of the IMU sensor I use the following example https://github.com/boschsensortec/BHy1_driver_and_MCU_solution/blob/master/examples/calib_profile_ex...
I can calibrate the accelerometer but have problems with the magnetometer and gyroscope as the accuracy value does not change from 0.
The calibration procedure I used is referred to in the below video.
can anyone give me a hint as to what the problem might be?
Thanks in advance
Solved! Go to Solution.
I upload example on STM32F4 for your reference, which based on BHI160B sensor API https://github.com/boschsensortec/BHy1_driver_and_MCU_solution/tree/master
Eanble the macro definition in user_define.h
Eanble virtual sensor IDs VS_TYPE_ACCELEROMETER, VS_TYPE_GYROSCOPE, VS_TYPE_GEOMAGNETIC_FIELD and get calibration profile & accuracy in callback function sensors_callback_acc_gyro_mag().
The calibration values are lost during the power cycle. is there any possibility of storing the calibration parameters and rewriting them to the device on every power on?