Hi,
Need support to read temperature using ADS1220.
I am using ADS1220 in my project to read thermocouple temperature.
This is the command I used to write
uint8_t buffer[3] = {0,0,0};
buffer[0] = 0x10; //RDATA command
spi_intf.Write(reinterpret_cast<std::uint8_t*>(&buffer[0]), 0x03 );
and this is the command I used to read Data using RDATA command
spi_intf.Read(reinterpret_cast<std::uint8_t*>(&buffer[0]), 0x03);
but I am not getting proper values while reading.
These are the values I could read ( buff[0]= 0x23, buff[1] = 0x40 buff[2] =0x80)
but approximate values should be buff[0]= 0x03 and buff[1] = 0x20 for 25 Degree temperature measurement
so am I missing any thing ( any other settings)here and also want to know my commands(Read & write) above are correct?
Regards,
Anil