06-03-2024 10:47 AM
Hello,
I found that when I just turned on gyroscope or accelerometer, the frame interval of the first 5 seconds is unstable.
Is this a hardware related limitation? Or is there something wrong with my sensor configuration? Is there any solution?
My sensor settings:
bmi08xdev.gyro_cfg.range = BMI08X_GYRO_RANGE_125_DPS;
bmi08xdev.gyro_cfg.bw = BMI08X_GYRO_BW_64_ODR_200_HZ;
bmi08xdev.accel_cfg.range = BMI088_ACCEL_RANGE_3G;
bmi08xdev.accel_cfg.odr = BMI08X_ACCEL_ODR_100_HZ;
How I turn on the sensor:
bmi08xdev.accel_cfg.power = BMI08X_ACCEL_PM_ACTIVE;
rslt = bmi08a_set_power_mode(&bmi08xdev);
bmi08xdev.gyro_cfg.power = BMI08X_GYRO_PM_NORMAL;
rslt = bmi08g_set_power_mode(&bmi08xdev);
My gyroscope time interval graph(similar to accelerometer):
Thanks!
06-20-2024 04:45 AM
Hi lemon123,
Thanks for your inquiry.
If your application needs to use synchronized BMI088 acc and gyro data, we recommend using this example on GitHub.
https://github.com/boschsensortec/BMI08x_SensorAPI/tree/master/examples/bmi08x/read_synchronized_dat...