cancel
Showing results for 
Search instead for 
Did you mean: 

Does the lis2dw12 sensor reset triggered via SOFT_RESET bit also reset the trimming parameters?

MBoch.2
Associate II

Or in other words if we are triggering SOFT_RESET,  is this necessary after that also explicitly re-read the trimming parameters  via BOOT  in CTRL2 register? Or this soft reset does not affect the calibration registers.

Background: 

We use different modes(ODR, with/without FIFO,LP/HP ) of lis2dw12 sensor and  when switching we are  triggering SOFT_RESET(CTRL2)  just to make sure that all configuration is in the default state before changing modes. The question comes up: is this necessary to trigger the BOOT as well on this stage to re-read calibration settings or is this not mandatory. 

Thanks in advance! 

 

 

1 ACCEPTED SOLUTION

Accepted Solutions

Hi @MBoch.2 ,

Yes, the BOOT is the one that affects the calib reg.

If my reply answered your question, please click on Accept as Solution at the bottom of this post. This will help other users with the same issue to find the answer faster

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

View solution in original post

4 REPLIES 4
Federica Bossi
ST Employee

Hi @MBoch.2 ,

If you want to reset the calibration register you need a BOOT, otherwise if you want to reset the CTRL registers a soft_reset is fine.

If my reply answered your question, please click on Accept as Solution at the bottom of this post. This will help other users with the same issue to find the answer faster

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
MBoch.2
Associate II

Hi @Federica Bossi​ ,

Thanks a lot for your reply, just to make sure:

Can you confirm that soft_reset does not affect the calibration registers and will not reset them?

Normally we don't want to touch calibration data by  soft_reset - our goal is to reset only control registers.

Hi @MBoch.2 ,

Yes, the BOOT is the one that affects the calib reg.

If my reply answered your question, please click on Accept as Solution at the bottom of this post. This will help other users with the same issue to find the answer faster

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.

Thanks a lot for support