step count and sensor time register

Dear,

I read out the datasheet of BMA400 for Sensor time.

The resister value of sensor time is described as "After the timer has reached the maximum value, the counter resets to zero."

- Could you tell me the "step count" value resets to zero after the value reached the maximum? for BMA400 and BMI160?

Thanks

Best reply by BSTRobin

Hello Gideon,

No.

You confused the two things:
1.Step counter: this counter is for step, not for sensor time. Get values from register STEP_CNT_0(0x15) to STEP_CNT_2(0x17).
2.Sensor time: this counter is for sensor stamp, sensor uses this counter to accumulate time. Get values from register SENSOR_TIME0(0xA) to SENSOR_TIME2(0xC).

View original
3 replies
Resolved