Skip to main content
MBoch.2
Associate II
September 17, 2023
Solved

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

  • September 17, 2023
  • 2 replies
  • 1715 views

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! 

 

 

This topic has been closed for replies.
Best answer by Federica Bossi

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

2 replies

Federica Bossi
Technical Moderator
September 18, 2023

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
MBoch.2Author
Associate II
September 18, 2023

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.

Federica Bossi
Federica BossiBest answer
Technical Moderator
September 18, 2023

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.
MBoch.2
MBoch.2Author
Associate II
September 19, 2023

Thanks a lot for support