Skip to main content
TBurg.11
Associate II
January 12, 2021
Question

Is it possible to configure the LIS2DH12 such that INT1 is in a high impedance state? I have a pullup with NO button on same line. LIS2DH12 is unpowered and pulls INT1 to ground.

  • January 12, 2021
  • 4 replies
  • 1356 views

..

    This topic has been closed for replies.

    4 replies

    TBurg.11
    TBurg.11Author
    Associate II
    January 13, 2021

    NO means Normally Open

    Eleon BORLINI
    ST Employee
    January 13, 2021

    Hi @TBurg.11​ ,

    the problem is that if you power off the LIS2DH12 you will no more able to control the INT1 pad status, also in case you could

    You have to control it from the application processor...

    It could be a little different in case the device is powered on: in this case, you can try to modify the INT1 pin by setting 1 the bit <5> (value | 20h) of reserved register 00h.

    -Eleon

    TBurg.11
    TBurg.11Author
    Associate II
    January 15, 2021

    Thank you for your suggestion. I am running a datalogger along with this LIS2DH12. My plan was to completely remove power from this chip to maximize the lithium coin cell life. It was my misread of the spec sheet that missed the INT1 as a push-pull output forced to ground. I will try your suggestion with setting Reg 00h (undocumented in DocID025056 Rev 6) to 0x20 and see what happens.

    I will also set to low-power mode as described in Section 3.2.1 (2uA) This should minimize battery drain.

    If I need to I have the option to cut the INT1 trace and switch the interrupts over to INT2 which has a separate input to the micro.

    Eleon BORLINI
    ST Employee
    January 15, 2021

    Hi @TBurg.11​ ,

    thank you for the update, it's a good choice.

    Please let me know in case of any further progress.

    -Eleon