Skip to main content
Explorer
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

    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

    MBoch.2Author
    Explorer
    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.

    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

    MBoch.2Author
    Explorer
    September 19, 2023

    Thanks a lot for support