2023-09-17 03:42 AM
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!
Solved! Go to Solution.
2023-09-18 07:50 AM
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
2023-09-18 05:44 AM
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
2023-09-18 07:29 AM
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.
2023-09-18 07:50 AM
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
2023-09-18 10:31 PM
Thanks a lot for support