I have a PCB with the ADXL343 in I2C-Mode. The most time, it works without problems. But sometimes after a powercycle, all registers of the ADXL343 are only readable and not writeable, so i am not able to configure the device correct. The initialisation for this device, on power on, looks as follows:
and then reading out the data-registers 0x32 to 0x37 will start
This problem occurs not only on 1 device, so i don't think that the ADXL343 has a hardware-defect.
If the ADXL343 is in the "failure-mode", the register looks like this:
and i am not able to reconfigure it!
And also there are values in the offset-register, which nobody has written into it:
0x1D 0x20 -> not ok
0x1E 0x00 -> is ok
0x1F 0x04 -> not ok
The device-ID (0xE5) could be read without problems in this "failure-mode".
What could be the mistake?