Hello Bob,
Extremely thankful to you for replying to my query in a easy-to-understand way-
and almost zero turn-around time.
Now I am clear about how to derive the temperature value from the A/D code.
Now, first, I will reply to questions asked by you above and then ask one another query (Confusion about IDAC).
To answer your questions:-
Yes, I am using 2-Wire RTD configuration with a single IDAC.
I have not populated the filter circuits (across RTD and Rref) yet, as I am still working on the core part.
Yes, I also am doubtful whether the return value of D4CA62 is a negative value, but the ambient temp.
at my desk is (30 DegC) [Indian Monsoon season and AC turned OFF :)].
The reason why I think it may not be 62CAD4 is because:
a) I have configured the UART of my uC as LSB first, so as to match the ADC code output format.
b) In my test setup, when I increase the temperature of PT100 (using Hot air Blower)-
the MSByte 'D4' remains most stable, 'CA' varies slightly more and LSByte '62' continuously varies.
With rise in temperature there is a drop in this count (and vice versa) i.e. MSByte changes as D3....D2.....D1......and so on.
In the image that I have inserted (with Rref = 6.8Kohm), the count is even bigger, and the change can be seen as I described.
Regarding Gain, yes you guessed it right, I have set the Gain as 16.
Now, Regarding the problem that I am facing with IDAC:
As you know I am using Ratiometric measurement configuration.
I am observing that irrespective of the IDAC value that I select in Configuration Register 2,
the IDAC is getting decided by DVDD (3.3vdc) and Rref (1.65K or 3.3K or 6.8K) that I connect across REFP and REFN.
With Rref=6.8K, the IDAC is 0.483mA (approx 0.5mA)
With Rref=3.3K, the IDAC is 0.96mA (approx 1mA)
With Rref=1.65K,the IDAC is 1.909mA (approx 2mA) and
Thus, I observe different values of IDAC while the one selected by me in Config Reg2 is constant i.e. 500uA.
So, the selection of IDAC value in Config Reg2 seems to have no effect on the actual value of IDAC.
Can you please suggest why this may be happening? Kindly see the inserted image2 below: