Skip to main content
Visitor II
June 21, 2018
Question

LSM6DS3 activity/inactivity recognition: restore activity by software

  • June 21, 2018
  • 1 reply
  • 590 views
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
    This topic has been closed for replies.

    1 reply

    ST Employee
    July 27, 2018

    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)