Skip to main content
Visitor II
February 6, 2020
Question

LSMDLHC: What is the function of the REFERENCE_A register (0x26)?

  • February 6, 2020
  • 1 reply
  • 516 views

 According to the datasheet: "Reference value for interrupt generation.".

Is this intended to be used to subtract off say gravity or some other constant value? Is this a scalar value applied to all three dimensions?

    This topic has been closed for replies.

    1 reply

    ST Employee
    February 21, 2020

    Hi @NSand.1​ , are you referring to LSM303DLHC part number? Yes, it is a threshold reference value, but should not to be used because you can separately define thresholds for both INT1 and INT2 in the proper INT1_THS_A (32h) and INT2_THS_A (36h) registers. Regards