Skip to main content
Visitor II
June 29, 2020
Question

LIS3DHH SPI mode?

  • June 29, 2020
  • 2 replies
  • 934 views

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.

    2 replies

    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

    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.

    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