cancel
Showing results for 
Search instead for 
Did you mean: 

LIS2DH2 setup registers

Michael Weber
Associate
Posted on March 09, 2017 at 20:13

Hi fellows,

on setting up an LIS2DH12 I wonder what settings to use for those registers:

CTRL_REG2:

HPCF1/2: couldn't find this in the datasheet...

CTRL_REG5:

How shall I enter '- -' ?

And what's gonna happen with D4D_INT1?

I got the impression that this value is to read, not to write...

CTRL_REG6:

Again, some '- -' values without comments...

We're not gonna use the INTs (at the moment).

2 REPLIES 2
Miroslav BATEK
ST Employee
Posted on March 10, 2017 at 10:45

Please check the application note

http://www.st.com/resource/en/application_note/dm00365457.pdf

 for more details.

In chapter 3.3.1 you will find cut off frequencies for all HPCF configurations.

In chapter 6 you will find details about 6D/4D detection interrupts.

You can write '0' into bits which are not used in 

CTRL_REG5, 

CTRL_REG6 registers.

Posted on March 10, 2017 at 14:56

Wow, thanks for your reply.

In fact I've found the AN5005. But I didn't assume it contains information the datasheet doesn't

A hint in the datasheet below the reg-mapping table for the HPCF would be nice!

At least a default-value if someone doesn't use the highpass filter should be mentioned in the datasheet.