I recently purchased an ADXL313 and have been trying to interface with it
through SPI. I finally managed to and I am reading the 3-axis data. The problem
is that the device ID being sent back is that of an ADXL312, i.e. E5 in hex. I
can't retrieve part ID or change the range bits. The batch number printed on
the top is 313 #1521 42171 I believe. Do you know if you had a bad batch?