cancel
Showing results for 
Search instead for 
Did you mean: 

Effect of STEP_COUNT_DELTA register on step count in STEP_COUNTER register

AB.4
Associate II

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

1 ACCEPTED SOLUTION

Accepted Solutions
niccolò
ST Employee

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.

View solution in original post

2 REPLIES 2
niccolò
ST Employee

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.4
Associate II

Hi Niccolo,

Thanks for your response. This is clear.

Regards,

Anusha