Skip to main content
Visitor II
March 16, 2018
Question

How does LIS3DH configure automatic sleep and arousal?

  • March 16, 2018
  • 1 reply
  • 1988 views
Posted on March 16, 2018 at 11:40

I want to be able to when the device has detected movement, LIS3DH to wake up from sleep mode, and at a higher rate to detect more than I get a set of threshold, then the interrupt, to remind me of the MCU.

I tried many times to combine two functions, but failed.

Is there anyone who can help me with this?

How should the relevant registers of LIS3DH be configured?

Note: this post was migrated and contained many threaded conversations, some content may be missing.
    This topic has been closed for replies.

    1 reply

    ST Employee
    March 16, 2018
    Posted on March 16, 2018 at 12:14

    I'm sorry, but I don't understand what exactly you want to achieve. Can you please explain it better?

    ? ?_3Author
    Visitor II
    March 16, 2018
    Posted on March 16, 2018 at 13:40

    Hi Miroslav,

       Thank you very much for your reply. What I hope is, when my equipment is forbidden, LIS3DH can work in the mode of low power consumption, the chip can work in normal mode when the apparatus moves, make the movement detection of the chip more sensitive, react faster. I found two new registers, ACT_THS and ACT_DUR, in the latest version of the datasheet. It allows the LIS3DH to automatically wake up and automatically sleep. An interrupt will also be generated when the acceleration exceeds the value I set in the ACT_THS register. If it can generate an interrupt, which related registers? I really need you to help me out.

    ST Employee
    March 19, 2018
    Posted on March 19, 2018 at 16:26

    Please read chapter 10 in application note

    http://www.st.com/content/ccc/resource/technical/document/application_note/77/ed/e7/e1/28/5a/45/d6/CD00290365.pdf/files/CD00290365.pdf/jcr:content/translations/en.CD00290365.pdf

    which describes the Activity / Inactivity recognition and proper register settings for this functionality.