Skip to main content
Visitor II
September 10, 2019
Question

Interrupt(Active High)minimum 16 to 20 ms

  • September 10, 2019
  • 1 reply
  • 600 views

Hi Team 

We are using the LSM6DSL Accelerometer with Qualcomm Soc(MDM9206).They both are connected over i2c.

Now we want to generate an interrupt from LSM6DSL and wake up my Soc from power save mode.

So the issue is that we need Interrupt(Active High)minimum 16 to 20 ms for turning on the our Soc from LSM6DSL.

How much maximum High state can be possible to configure.

Thanks

    This topic has been closed for replies.

    1 reply

    ST Employee
    September 17, 2019

    Hi @KChau​ , if you are using the Wake-up embedded feature, you can act on WAKE_ DUR1 and WAKE_ DUR0 bits of WAKE_UP_DUR (5Ch) register. By default, the interrupt duration is 1/ODR. You have also to act on LIR bit of the TAP_CFG (58h) register, in order to latch the interrupt. If you want a duration between 16ms and 20ms, you have to set ODR = 52Hz and "01" in WAKE_ DURx bits. Regards