Problem using RTD_Demo.c on ADuCM360

I'm trying to test this example code in order to implement a similar system using PT100. The thing is that when I connect a PT100 between AIN1 and AIN0 the code gives an output RTD resistance equal to 49 ohms which ain't even close to the actual value (around 110 ohms). Do you know why is this happening? Is the internal RTD connecteed to AIN1/AIN0 and thus the value I'm obtaining is the divisor of both PT100? (If so: How can I disconnect the inner RTD from AIN1/AIN0 in order to measure mine?).

EDIT:

I also noticed the ADC1STA Error to be enabling from time to time. Do I need to do any change in the software provided to make it work properly?

You will have to wait for the other software team who wrote the example your mentioned to help you with the software question.

But I was looking at how you were connecting up your RTD and you can't place the RTD across AIN1 and AIN0 and expect it to work. Neither of those pins have an available IEXC output, so there is nothing to excite your PT100.

You need to place one side of your RTD on a pin that has the IEXC function, and the other side on any other analog input. There was a reference design done called the CN0394 which measures the temperature on 4-channels of thermocouples. There are also 4 RTDs on that board and you can view the schematic/block diagram to see how those were connected up. There is even some code written for this application you could have a look at, or if you prefer you can buy the setup and play around with it on your bench.

You will have to wait for the other software team who wrote the example your mentioned to help you with the software question.

But I was looking at how you were connecting up your RTD and you can't place the RTD across AIN1 and AIN0 and expect it to work. Neither of those pins have an available IEXC output, so there is nothing to excite your PT100.

You need to place one side of your RTD on a pin that has the IEXC function, and the other side on any other analog input. There was a reference design done called the CN0394 which measures the temperature on 4-channels of thermocouples. There are also 4 RTDs on that board and you can view the schematic/block diagram to see how those were connected up. There is even some code written for this application you could have a look at, or if you prefer you can buy the setup and play around with it on your bench.