Skip to main content
addast
Associate
Jul 31, 2020 1:56 PM UTC
Solved

Can I use lsm6ds33 tap detection without interrupt pins connected to MCU?

I'm planning to use lsm6ds33 for my project, but I don't have enough MCU pins for interrupt.

Can I use tap and double tap events without interrupt pins connected to MCU, just checking some registers few times a sec?

This topic has been closed for replies.
niccolò
niccolòBest answer
ST Employee
Aug 7, 2020 9:38 AM UTC

Hi @addast​ ,

yes, you can read the register TAP_SRC (1Ch) to check if the event you wait for has occurred or not, just like you would do with the interrupt pin available.

How often are you going to check for the event?

Niccolò

3 replies

niccolò
niccolòBest answer
ST Employee
Aug 7, 2020 9:38 AM UTC

Hi @addast​ ,

yes, you can read the register TAP_SRC (1Ch) to check if the event you wait for has occurred or not, just like you would do with the interrupt pin available.

How often are you going to check for the event?

Niccolò

addast
addastAuthor
Associate
Aug 7, 2020 9:55 AM UTC

10 times per second, maybe more.

niccolò
ST Employee
Aug 7, 2020 11:18 AM UTC

that should be fine, remember to check register INT_DUR2 (5Ah), for time constraints compatibility with your application.