Skip to main content
Visitor II
November 1, 2018
Question

What's the procedure for change some config when lis3dh is running ?

  • November 1, 2018
  • 2 replies
  • 819 views

Hi,

currently, lis3dh is running well with IA1 function, but if i want to change some config,

such as CTRL_REG1(20h) for change target axis

INT1_CFG(30h) for target axis and direction change

INT1_THS(32h) for threashold change

what is the correct procedure for config's change ?

regards

Gary

    This topic has been closed for replies.

    2 replies

    ST Employee
    November 2, 2018

    Basically you can change any register any time, but I would switch the sensor to power-down mode (CTRL_REG1 = 0x0?), then modify the configuration and then switch on again.

    YGaryAuthor
    Visitor II
    November 4, 2018

    Hi,

    thanks, it works to me,

    regards

    Gary