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.

ADS1220 How to read temperature

Other Parts Discussed in Thread: ADS1220

Hi,

I want to read temperature from ADS1220.

For this I am sending write 0x02  (TS = 1) to config register 1 and after this I am reading data from data register.

I get always same value from adc data register after reading it through data read command.

Is there any other setting? Is there any enable disable bit for conversion of temperature? 

Thanks

  • Hi Hemant,

    Welcome to the forum!  You are running in single-shot conversion mode (default condition).  When using this mode you must issue the START command to start a new conversion.  If not, you will just keep reading the same data as no new data is yet available.

    Best regards,

    Bob B

  • Thank you Bob Sir,

    I tried using single shot conversion mode and using START command, it is working fine.

    Now I want to ask one thing that in this temperature sensing mode what is role of DRDY signal? I have connected DRDY pin to interrupt pin of MCU so is it possible that when DRDY is asserted then I will begin SPI READ transaction?

    I tried using this way but I don't get DRDY signal when conversion is complete.

  • Ohh....
    I forgot to configure interrupt on MCU that's why it was not working.
    Now It is working with DRDY signal also.
    Thanks Bob,
    My issue is solved.