AnsweredAssumed Answered

H3LIS331DL configuartion issues

Question asked by Thangaraj Ponnusamy on Feb 9, 2018
Latest reply on Feb 15, 2018 by Miroslav B

Hi,

 

I am working with H3LIS331DL sensor . my configuration is as follows

  1. 1Power on the sensor
  2. configure the control register 1 with normal power mode and data rate 1000hz
  3. configure interrupt source1 for data ready interrupt
  4. GPIO call back registered for data ready interrupt.

This scenario is working fine. we are sampling after getting the data ready interrupt.

I have some special cases where i am facing some issues.

 

if there is some delay in step 2 and step 3 due to some other register configuration example configuring the control register 4 then (in between step 2 and 3)i am not getting the data ready interrupt. This is one issue.

 

Next one is after step 4 if get data ready interrupt in case if i delayed to clear the data ready interrupt by reading the data for more than 3 msec then next data ready interrupt is not triggering.

 

could you help me is there is sequence needs to be followed?

or what could be the reason for the above 2 issues.

 

thanks in advance.

 

with Regards,

Thangaraj.P

Outcomes