cancel
Showing results for 
Search instead for 
Did you mean: 

I use LIS2DH for 3 axis angle detection, want to evaluate and upgrade to LIS3DH. Can I use my software developed for LIS2DH , on LIS3DH ? Are the register locations and values the same? What is the main difference in hardware specifications?

IOlme
Associate
 
3 REPLIES 3
Eleon BORLINI
ST Employee

Hi @IOlme​ , the LIS2DH and LIS3DH differs mostly from the package and the pin numbers, and it is important to take it into account from a HW point of view. The LIS3DH is also more robust than LIS2DH (but it depends on your target application). From a FW and SW point of view, however, you don't need much trouble to adapt your code. Regards

IOlme
Associate

Thank you Eleon, for the quick answer.

I would like to follow up on 2 specifics:

1) Is there any register location or value change I should be careful about?

2) You mentioned "more robust", could you please elaborate?

Regards

Eleon BORLINI
ST Employee

​Hi @IOlme​ ,

>> 1) Is there any register location or value change I should be careful about?

No, from a FW point of view no differences between the two sensors' regmaps, except from ADC pins and registers (OUT_ADC1/2/3_L (08h), OUT_ADC1/2/3_H (09h))

>> 2) You mentioned "more robust", could you please elaborate?

I mean, a mechanical robustness: it is declared at datasheet the survivability up to 10000g high shock for the LIS3DH.

Regards