cancel
Showing results for 
Search instead for 
Did you mean: 

H3LIS331DL

Kattinti Siva Krishna
Associate II
Posted on January 08, 2018 at 15:19

Dear Team,

I am trying to configure CTRL_REG4 of H3LIS331DL chip register value multiple times with default configuration, which is creating a problem of not generating data ready interrupt. If I am not configuring it then working fine.

Could any one please tell me what went wrong or did I made configuration as wrong or Accel chip itself internally having the mechanism of if we configure CTRL_REG4 with multiple time default value then Data Ready Interrupt will not generate? Please help us finding on this.

Thanks,

Siva.

#h3lis331dl #h3lis331dl-data-ready-interrupt #h3lis331dl-configuration
3 REPLIES 3
Miroslav BATEK
ST Employee
Posted on January 08, 2018 at 16:17

Can please specify which value are you writing to the CTRL_REG4 and also tell me how many times you write it there.

I can then try to reproduce your issue.

But I think the problem is somewhere else, you can write to the register how many times you want.

Posted on January 08, 2018 at 17:17

Dear Miroslav,

Thanks for your reply.

Sequence will be as follows :

Power On,

Configure CTRL_REG1

I am writing the following settings to the CTRL_REG4

.BDU = 0

.BLE=0

.FS1&FS0=0&0

.SIM=0

To reproduce the issue, Please write this values into the CTRL_REG4 and Rotate the sensor.

I am not able to reproduce the issue if accel sensor is in idle. But able to reproduce the issue, if I am rotating or shacking with my hand. This configuration I am making while sensor is rotating.

100 times I am writing into the register.

Please let us know what might be the root cause.

Thanks,

Siva.

.

Posted on January 08, 2018 at 18:43

Why do you write the configuration so many times?

Cannot it be a problem with hardware connection?