I saw your funciton to read out sensor data, but you put 50ms delay between reading MSB and LSB.
This is not correct.
Since our internal ODR is 100Hz, then you are not geting corresponding LSB with MSB.
Here we suggest to use burst read to read out all data register then you got the correct MSB with LSB value.
... View more