add function to initialize ADXL before being configured