LIS3MDL: Understanding REBOOT and SOFT_RST
Hi,
I am using the LIS3MDL in a battery powered data logging application. I would like to be able to "reset" the part, but I do not understand the difference between the REBOOT and SOFT_RST bits in CNTRL_REG2 (21h).
Page 25 of the LIS3MDL data sheet (Rev 6) states that REBOOT "Reboot memory content." What memory content? Specifically, which registers? or is these memory locations that are not accessible? How is this different from power-cycling the part?
On the same page, the data sheet states that SOFT_RST "Configuration registers and user register reset function." This is more self explanatory, but how is it different from REBOOT? Is SOFT_RST a subset of REBOOT?
How is the reset/soft-reset used? I assume the process is to write to CRTL_REG2 with either REBOOT or SOFT_RST set, delay, write with bits cleared? Or do the bits clear themselves after the reboot/soft-reset is complete?
Thank you,
Nick
