Adxl31 change from SPI to I2C and Chip ID detected,but x/y/z avlue is Zero.
Please support of Adxl312 I2C Sample code.
It’s not clear what you are asking. The ADXL312 accel data is in registers 0x32-0x37, if you do not see any activity on these registers, it could be that the device is in standby mode. Set the Measure Bit in register 0x2D to 1 to see if this helps.
Retrieving data ...