cancel
Showing results for 
Search instead for 
Did you mean: 

Interrupt(Active High)minimum 16 to 20 ms

KChau
Associate

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

1 REPLY 1
Eleon BORLINI
ST Employee

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