cancel
Showing results for 
Search instead for 
Did you mean: 

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

YGary
Associate II

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

2 REPLIES 2
Miroslav BATEK
ST Employee

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.

YGary
Associate II

Hi,

thanks, it works to me,

regards

Gary