Skip to main content
tonypdmtr
Associate
June 29, 2020
Question

LIS3DHH SPI mode?

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.

    This topic has been closed for replies.

    3 replies

    Eleon BORLINI
    ST Employee
    June 29, 2020

    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
    Visitor II
    October 19, 2020

    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.

    Eleon BORLINI
    ST Employee
    October 20, 2020

    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