cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DS3 activity/inactivity recognition: restore activity by software

Posted on June 21, 2018 at 17:23

Dear all,

I'm working on a LSM6DS3 chip.

I have configured it to exploit the Activity/Inactivity recognition functionalities, and all is working.

On the other hand, I'm not able to do the following and/or to find documentation references for that.

The chip recovers

from the Inactivity state to the fully Active state if I shake it or tap it, which is fine.

 

But I would like to restore the fully Active state by software, without the need of physically touching the sensor.

Is there any way this can be achieved?

I tried resetting registers, re-configuring and so on, but this seems not to be working.

Thanks for help and hints.

Cheers,

Roberto

#accelerometer #lsm6ds3 #power-saving
1 REPLY 1
Miroslav BATEK
ST Employee

You should be able to switch from inactivity to activity mode by writing:

  • WAKE_DUR = 0 in register WAKE_UP_DUR (5Ch)
  • WK_THS = 0 in register WAKE_UP_THS (5Bh)