Skip to main content
Visitor II
June 25, 2018
Solved

Setting LIS2MDL Interrupt Threshold

  • June 25, 2018
  • 2 replies
  • 1016 views
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.
    Best answer by Nishant Garg
    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.

    2 replies

    Graduate II
    June 26, 2018
    Posted on June 26, 2018 at 02:46

    Do the settings and new measurements read-back properly?

    Visitor II
    July 2, 2018
    Posted on July 02, 2018 at 22:08

    Yes the new settings read back from the registers immediately

    Nishant GargAuthorAnswer
    Visitor II
    July 4, 2018
    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.