Skip to main content
Visitor II
August 31, 2020
Solved

Effect of STEP_COUNT_DELTA register on step count in STEP_COUNTER register

  • August 31, 2020
  • 2 replies
  • 667 views

Hello ST community,

I was going through the application note for LIS2DS12 (https://www.st.com/resource/en/application_note/dm00218428-lis2ds12-alwayson-3d-accelerometer-stmicroelectronics.pdf) which mentions in section 5.9.1 that STEP_COUNT_DELTA can be configured to generate interrupt if a step is detected in a certain time period. Does configuration of this register also apply to the step count value in STEP_COUNTER register?

Regards,

Anusha

    This topic has been closed for replies.
    Best answer by niccolò

    Hi Anusha @AB.4​ ,

    the step counter register only tracks the number of steps detected until it is reset (RST_nSTEP bit of reg STEP_COUNTER_MINTHS (3Ah) set to 1).

    So: no, the STEP_COUNT_DELTA  configuration does not affect the STEP_COUNTER register.

    2 replies

    niccolòAnswer
    ST Employee
    September 1, 2020

    Hi Anusha @AB.4​ ,

    the step counter register only tracks the number of steps detected until it is reset (RST_nSTEP bit of reg STEP_COUNTER_MINTHS (3Ah) set to 1).

    So: no, the STEP_COUNT_DELTA  configuration does not affect the STEP_COUNTER register.

    AB.4Author
    Visitor II
    September 1, 2020

    Hi Niccolo,

    Thanks for your response. This is clear.

    Regards,

    Anusha