When I enable the register for the temperature sensor and then send a start cmd, wait for DRDY, the data I read is the same data as I read for AIN0-VSS (0x08 setting in the mux)
It doesn't seem to set the TS mode. I know I am reading the AIN0 input as when I increase its voltage, the temp reading rises with it.
What is the sequence required to read the temperature sensor? Just now I do the following sequence in pseudo commands.
set_TS(1)
SendStartCMD()
WaitForDRDY()
ReadADCBytes()
set_TS(0)
The ADC reading of 3 bytes is the AIN0 value.