LIS2DH12 reset (BOOT in CTRL_REG5)
Hallo,
I am wondering how can I reset the LIS2DH12 accelerometer. I am using the official ST driver which preserves register contents on nearly all actions (read-modify-write), and the MCU in hardware may perform a soft reset when it tries to re-initialize the LIS, so it will be good to make some "reset"...
I supposed that the BOOT field in CRTL_REG5 is initiates a kind of soft reset. I write it to '1' in the beginning of initialization, but the results are not what I expect. (I didn't check all registers but it is sure that it does not reset all in my case.)
What does this BOOT field exactly do? Should I reset all registers manually instead?
Thank you in advance.
Gábor
