2020-03-02 07:07 AM
I am developing a driver for LSM6DSOX. According to the datasheet, the module is capable of detecting free-fall, wakeup, motion detection, activity/inactivity, and so on.
Is it possible, to configure multiple event detection interrupts (especially since there are only 2 interrupt pins? An example would be very much appreciated?
Thanks
Tim
Solved! Go to Solution.
2020-03-02 08:29 AM
Hi @timothy0508 , if you have a lot of activities to be recognized from you sensor, I would suggest you to change your approach and use the finite state machine or the machine learning core features instead of using the classical digital embedded features (btw, you can set a threshold for each of the events you want to detect and put all the interrupt in logic OR). Up to embedded finite state machines can be programmed independently for motion detection. In the AN5273 you can find an explanation on how the FSM works, an you can find suggestions also on this Community dedicated topic flow. Regards
2020-03-02 08:29 AM
Hi @timothy0508 , if you have a lot of activities to be recognized from you sensor, I would suggest you to change your approach and use the finite state machine or the machine learning core features instead of using the classical digital embedded features (btw, you can set a threshold for each of the events you want to detect and put all the interrupt in logic OR). Up to embedded finite state machines can be programmed independently for motion detection. In the AN5273 you can find an explanation on how the FSM works, an you can find suggestions also on this Community dedicated topic flow. Regards