cancel
Showing results for 
Search instead for 
Did you mean: 

How to clear LSM6DSOX I3C IBI interrupt status?

simon_myth
Associate

I'm now using LSM6DSOX with I3C protocol. And I'm trying to use ibi to notify a tap event. Here are the following information to configure the sensor register:

 

LSM6DSOX_INT1 0x0D 0x00
LSM6DSOX_INT2 0x0E 0x00
LSM6DSOX_CTRL1_XL 0x10 0x3C
LSM6DSOX_CTRL2_G 0X11 0X7C
LSM6DSOX_CTRL3_C 0X12. 0x04
LSM6DSOX_CTRL4_C 0X13. 0x00
LSM6DSOX_CTRL5_C 0X14 0x00
LSM6DSOX_CTRL6_C 0X15. 0x00
LSM6DSOX_CTRL7_G 0X16. 0x00
LSM6DSOX_CTRL8_XL 0X17 0x00
LSM6DSOX_CTRL9_XL 0X18. 0x70
LSM6DSOX_CTRL10_C 0X19 0x00
LSM6DSOX_TAP_CFG0 0X56 0x0E
LSM6DSOX_TAP_CFG1 0X57 0x0F
LSM6DSOX_TAP_CFG2 0X58 0xFF
LSM6DSOX_TAP_THS_6D 0X59 0x06
LSM6DSOX_INT_DUR2 0X5A 0x1F
LSM6DSOX_MD1_CFG 0X5E 0x48

After I configure these, it works fine until I tap the sensor and I can see ENDLESS ibi on logic analyzer. 
 
ENTDAA and some of the command
simon_myth_2-1755844500271.png

 

command set and endless ibi
simon_myth_0-1755844395670.png
 
ibi content:
simon_myth_1-1755844436494.png

During the endless IBI, I cannot send any command like read TAP source or reset sensor.

Am I doing anything wrong? Thanks

 

1 REPLY 1
simon_myth
Associate

If I disable the IBI payload on master side, I got this

 

simon_myth_0-1755852042587.png

SDA always low.