# bmi\_get\_gyro() overrun

**URL:** <https://community.stereolabs.com/t/bmi-get-gyro-overrun/11884>\
**Category:** Software\
**Created:** [December 2, 2026, 8:49am UTC](https://community.stereolabs.com/t/bmi-get-gyro-overrun/11884 "2026-12-02T08:49:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![0596](https://community.stereolabs.com/letter_avatar_proxy/v4/letter/0/ba8739/32.png) [@0596](https://community.stereolabs.com/u/0596)\
**Post date:** [December 2, 2026, 8:49am UTC](https://community.stereolabs.com/t/bmi-get-gyro-overrun/11884/1 "2026-12-02T08:49:38Z")

</div>

With the gyro period at or below `BMI_VERNIER_MAX_PERIOD_US` (2500 µs), the count comes from `fifo_status_2` (`bmi088_core.c`) but the overrun flag comes from `fifo_status_1 & 0x80`. `bmi_flush_fifo()` writes the FIFO config registers, which is what clears the sticky bit. In `bmi_spsc.c` the overrun check runs before the seeding flush). An overrun first seen in the second read can be flushed away without being counted.
