Skip to main content
Nishant Garg
Associate II
Jun 25, 2018 10:26 PM UTC
Solved

Setting LIS2MDL Interrupt Threshold

Posted on June 26, 2018 at 00:26

Hi,

I am trying to dynamically configure the interrupt threshold on the LIS2MDL. It seems that sometimes after setting a new threshold, the old threshold still is in effect and causes an interrupt transition on the output pin. Is there any minimum (settling) time required after setting a new threshold on the LIS2MDL?

Thank you.

    This topic has been closed for replies.
    Nishant Garg
    Nishant GargBest answer
    Associate II
    Jul 4, 2018 8:02 PM UTC
    Posted on July 04, 2018 at 20:02

    Hi - Update to all. I have determined it was an issue with my code. The updated settings do seem to be taking hold correctly/immediately.

    3 replies

    Tesla DeLorean
    Guru
    Jun 26, 2018 12:46 AM UTC
    Posted on June 26, 2018 at 02:46

    Do the settings and new measurements read-back properly?

    Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..
    Nishant Garg
    Associate II
    Jul 2, 2018 8:08 PM UTC
    Posted on July 02, 2018 at 22:08

    Yes the new settings read back from the registers immediately

    Nishant Garg
    Nishant GargAuthorBest answer
    Associate II
    Jul 4, 2018 8:02 PM UTC
    Posted on July 04, 2018 at 20:02

    Hi - Update to all. I have determined it was an issue with my code. The updated settings do seem to be taking hold correctly/immediately.