This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

Linux/TMP125: Unable to read the data from the sensor

Part Number: TMP125

Tool/software: Linux

Hi I am trying to read data from the sensor. But all i am getting is a constant value 40206b00. This happens when I send a 0x3000 to put the device in one shot and shutdown mode and then read the latest converted data by sending a 0x2000. The SPI mode is set to 3.(CPOL=1 and CPHA=1). How do I check if the device is in shutdown mode or sending me the data ? I am using spidev to perform all the communications.