I have already gone through the code and what I can see is, only thing is to bring accelerometer in active mode (unless we don't want to change ODR and range) and after that we can read the data. In my case, I have confirmed the written register, and temperature data is coming correctly. Infact I have checked all the register values, before and after writing. Even sensor_time register is not incrementing, it's LSB is showing value of 54 and not changing. Other two higher bits are showing 0. And as I said, all 6 registers of accelerometer is being read as zero. But acc_bit is being set, which I have confirmed by reading corresponding register.
... View more