LIS3DH Startup Sequence
Hi,
This is my first question to the community so hello! :)
I've recently started working with the LIS3DH accelerometer and I am experiencing some difficulty in interpreting the startup sequence for the device. Using the datasheet and AN3308 the startup sequence is described as the following for a generic configuration:
- Write Ctrl_Reg1
- Write Ctrl_Reg2
- Write Ctrl_Reg3
- Write Ctrl_Reg4
- Write Ctrl_Reg5
- Write Ctrl_Reg6
- Write REFERENCE
- Write INTX_THS
- Write INTX_DUR
- Write INTX_CFG
- Write Ctrl_Reg5
For my project I need to first write the configuration to the device in power-down mode and then when prompted set the correct power mode and begin sampling. However the above format seems to begin sampling after the first write to the device once the ODR has been set and axis enabled.
Additionally for signal synchronisation on DRDY the I1_ZYXDA must be set before the ODR.
I would like the device to operate at 50Hz Bypass Mode with 10 bit resolution and the ZYXDA interrupt mapped to INT1 as active high. I would like the device to sit in that configuration in power-down mode until prompted and then I can set the device into normal mode.
Could anyone please advise?
Jono :)
