cancel
Showing results for 
Search instead for 
Did you mean: 

LIS3DHH SPI mode?

tonypdmtr
Associate

Can someone confirm which SPI mode (0 thru 3) LIS3DHH uses?

It is not explicitly mentioned and from the diagram it seems to be either mode 2 or mode 3 (which start with clock high), but then I'm not too sure.

3 REPLIES 3
Eleon BORLINI
ST Employee

Hi @tonypdmtr​ , the picture at p.12 of the device datasheet shows the SPI mode3, with CPOL = 1 and CPHA = 1.

0693W000001rl0cQAA.png

Regards

Fasdf.3
Associate

You can try it with latest sheet of your device which you are using in your program. I'm also working on the same model for my skateboard model. Learn more about the model information.

Hi @Fasdf.3​ ,

good to hear it: are you using LIS3DHH device in combination of a skateboard?

Did you make a project with it? If so, you can share it in the MEMS&Sensors community here.

Thanks,

-Eleon