ICM20948 DMP accuracy flag

By jonacappelleku… , 4 November 2020

Hi

I'm developing an application based on the eMD Nucleo code using the DMP ported to the nRF52832.
The accuracy flag changes when the gyroscope, accelerometer and magnetometer are tested and enabled separately. After inactivity, putting the sensor on 4 sides and performing a figure 8 movement, the 3 sensors can be calibrated separately and indicate this by "accuracy_flag = 3".
However, the accuracy flag remains "0" when the sensor is set to rotation vector (quaternions, 9DoF sensor fusion) or orientation (euler angles), with the same calibration procedure as for the individual sensors. (So sensor is started, DMP is loaded and sensor is setup by:
rc += inv_device_set_sensor_period_us(device, INV_SENSOR_TYPE_ROTATION_VECTOR, 50000); // 20 Hz
rc += inv_device_start_sensor(device, INV_SENSOR_TYPE_ROTATION_VECTOR);

Where can I find more documentation about the sensor calibration procedures or the way calibration is implemented in the eMD? Or are there other things I do wrong?

Thanks in advance!

Kind regards,

Jona

phpbb Topic ID
38716