Skip to main content
addast
Associate
July 31, 2020
Solved

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

  • July 31, 2020
  • 3 replies
  • 1009 views

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.
Best answer by niccolò

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
August 7, 2020

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
August 7, 2020

10 times per second, maybe more.

niccolò
ST Employee
August 7, 2020

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