This respository contains Bosch Sensortec's BMI270 inertial measurement unit's sensor API. To report issues, go to https://community.bosch-sensortec.com/t5/Bosch-Sensortec-Community/ct-p/bst_community
BSD 3-Clause "New" or "Revised" License
67
stars
52
forks
source link
FIFO headerless mode example: Always one accel frame less than gyro frames #15
I'm working on some code using the FIFO of the BMI270 and ran into an issue because the number of available data frames of both same configured parts acc and gyro do not show the same value.
I now tried the official examle fifo_full_headerless_mode.c and run into the same issue:
There are e.g. 166 extracted gyro frames, but only 165 gyro frames. With each iteration there's one frame difference.
But I think it should be the same amount of data.
As example: If both (gyro and acc) are set to e.g. 25Hz I'd assume to get 25 frames for each one per second, which doesn't seem to be the case.
So what am I doing wrong or what could I improve to get the same amount of data for both, gyro and acc?
Hi there,
I'm working on some code using the FIFO of the BMI270 and ran into an issue because the number of available data frames of both same configured parts acc and gyro do not show the same value. I now tried the official examle fifo_full_headerless_mode.c and run into the same issue:
There are e.g. 166 extracted gyro frames, but only 165 gyro frames. With each iteration there's one frame difference. But I think it should be the same amount of data. As example: If both (gyro and acc) are set to e.g. 25Hz I'd assume to get 25 frames for each one per second, which doesn't seem to be the case.
So what am I doing wrong or what could I improve to get the same amount of data for both, gyro and acc?