Skip to main content
Visitor II
July 18, 2017
Question

Hi, I am working with LIS2DE12 accelerometer, I want detect any new data is updated to temperature and x,y,z axis registers.can any one provide steps for configuration.

  • July 18, 2017
  • 1 reply
  • 1019 views
Posted on July 18, 2017 at 10:45

Hi, I am working with LIS2DE12 accelerometer, I want detect any new data is updated  to temperature and x,y,z axis registers.can any one provide steps for configuration. 

    This topic has been closed for replies.

    1 reply

    ST Employee
    July 18, 2017
    Posted on July 18, 2017 at 11:04

    You should set bit I1_ZYXDA in CTRL_REG3 register. With this settings the interrupt pin INT1 is triggered when new data are available.

    If you can't use INT1 pin you can continuously read ZYXDA bit in STATUS_REG register which give you the same information.

    Visitor II
    July 18, 2017
    Posted on July 18, 2017 at 11:52

    Thanks for your reply.