Skip to main content
Visitor II
July 31, 2020
Solved

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

  • July 31, 2020
  • 1 reply
  • 988 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ò

    1 reply

    niccolò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ò

    addastAuthor
    Visitor II
    August 7, 2020

    10 times per second, maybe more.

    ST Employee
    August 7, 2020

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