Hi all, I configured the BNO055 to trigger a no-motion interrupt according to some threshold and duration value. The interrupt is triggered after duration amount of time being at rest position, which is what I expect. However, when moving the sensor arround with accelerations clearly above the threshold (threshold is 1 LSB), the interrupt pin stays high instead of going low. From the diagram in the data sheet page 43 I read that the interrupt is cleared once the slope is above the threshold. Is this assumption correct? When I clear the interrupt by writing to the SYS_TRIGGER (0x3F) register bit RST_INT (6), the interrupt is cleared and stays low while the sensor is moving. When the sensor is at rest again, the interrupt is triggered after duration amount of time, but again is not cleared when moving again. What is the correct behaviour of this interrupt? I use the following API functions to configure the no-motion interrupt: bno055_ret = bno055_set_accel_any_motion_no_motion_axis_enable(BNO055_ACCEL_ANY_MOTION_NO_MOTION_X_AXIS, BNO055_BIT_ENABLE);
bno055_ret += bno055_set_accel_any_motion_no_motion_axis_enable(BNO055_ACCEL_ANY_MOTION_NO_MOTION_Y_AXIS, BNO055_BIT_ENABLE);
bno055_ret += bno055_set_accel_any_motion_no_motion_axis_enable(BNO055_ACCEL_ANY_MOTION_NO_MOTION_Z_AXIS, BNO055_BIT_ENABLE);
bno055_ret += bno055_set_accel_slow_no_motion_thres(1);
bno055_ret += bno055_set_accel_slow_no_motion_durn(0);
bno055_ret += bno055_set_accel_slow_no_motion_enable(1);
bno055_ret += bno055_set_intr_accel_no_motion(BNO055_BIT_ENABLE);
bno055_ret += bno055_set_intr_mask_accel_no_motion(BNO055_BIT_ENABLE); Thanks for your help.
... View more