Hello,
I am using the ADXL362 with a Digilent Nexys A7-100T FPGA development board through SPI communication.
To verify that the SPI communication is working correctly, I first read the PARTID, STATUS, and POWER_CTL registers. All of these registers return the expected values according to the datasheet.
The register values are displayed on the Nexys A7 board LEDs, allowing me to verify the received data directly on the FPGA board.
After that, using the same SPI read procedure, I read the temperature registers by changing only the register address. I read TEMP_H (0x15) and TEMP_L (0x14) in separate SPI read transactions, and I also display these values on the board LEDs.
The values I obtain are:
TEMP_H (0x15) = 11111110
TEMP_L (0x14) = 10011110
The ambient temperature is approximately 25 °C. However, when I combine or interpret these register values as the temperature output, they appear to correspond to a negative raw temperature value. Therefore, I am not sure whether my implementation is correct or whether I am misunderstanding how the temperature registers should be read or interpreted.
I would appreciate your help with the following questions:
1. Are these temperature register values expected or reasonable under these conditions?
2. If the PARTID, STATUS, and POWER_CTL registers are read correctly, is it still possible that only the temperature registers are being read incorrectly?
3. Is there any additional configuration, calibration step, or special procedure required to read and interpret the temperature registers correctly besides what is described in the datasheet?
Thank you for your help.