03-07-2024 10:28 AM
I used flat and high-g interrupt for comparison and attached are the settings for flat interrupt and data export log for acc interrupts. It is always 0 in the column of Accel Interrupt Status Byte 0 no matter what the z-axis is entering or exiting the flat interrupt zone.
04-03-2024 04:55 AM
Hi Frankie,
You can check on the interrupt page in DD to see if a high-g or flat interrupt has been triggered.
Interrupt status register will be read from the interrupt page, if the interrupt page shows that the interrupt has been triggered, then reading the interrupt status register will trigger the reset of the register. The value of the interrupt status displayed in the corresponding binary view will also be reset to zero.
You can also run the sensor API of BMX160(https://github.com/boschsensortec/BMI160_SensorAPI) in Coines environment and check the interrupt triggering status of high g and flat in the actual software code.
BMX160 has been discontinued and is not recommended for use in new designs.
You can use BMI323, BMI270 or smart sensor(BHI360) in your new designs.