I initialized the sensor with these steps:
1. Read and verify WHO_AM_I (0x75, bank 0)
2. Soft-reset using DEVICE_CONFIG register (0x11, bank 0)
3. Set gyro and accel mode to low noise mode 2 using PWR_MGMT0 register (0x4E, bank 0)
4. Set gyro fullscale and ODR using GYRO_CONFIG0 register (0x4F, bank 0)
5. Set accel fullscale and ODR using ACCEL_CONFIG0 register (0x50, bank 0)
Then I read 12 bytes of data from register 0x1F bank 0 to get data from the accel and gyro.
The first read returns expected data for both accel and gyro. However, subsequence reads will have updated data for gyro, but the same data as the first read for accel. Did I miss any step in initializing the accelerometer?
Hello,
Did you check out the Datasheet and DK-42688-P eMD driver here: https://invensense.tdk.com/developers/software-downloads/#smartmotion