hi,
i am using ADS1247 for sensing the Temperature. i am using 3 wire RTD sensor. to find the RTD resistance what is the exact formula?
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.
hi,
i am using ADS1247 for sensing the Temperature. i am using 3 wire RTD sensor. to find the RTD resistance what is the exact formula?
Hi Pattan
that depends on your circuit implementation and ADC configuration. The following reference design shows one possible solution for a 3-wire RTD measurement system and describes how to calculate the RTD resistance.
Please let us know in case this is not helpful and you would need further guidelines.
Regards,
i am using the same design as you mentioned in your reply. i am also sending the pic of design in the attachment. my question is how to calculate the Temperature from the output of ADC (24 bit data) and also how to calculate RTD resistance from the output of ADC. i want the formula to calculate both.
Hi Joseph Wu,
i have configured the ADC by writing data into the Registers like MUX0, MUX1, SYS0, IDAC0, IDAC1, GPIOCFG, GPIODIR and GPIODAT but
1). how to Read The 24 bit Output from the ADC? which Command i have to give to get the Output?
2).whether if i gave a command, can i get the 24 bit data automatically? or i can read 3 bytes of data separately?
3). In Your Previous Reply you have told me the formula to calculate RRTD,
Output code = (RRTD*2^23*PGA)/(2*RREF)
here PGA=4, RREF=820 ohms and let RRTD= 157.33 ohms for that RRTD i have to get a Temperature of 150 degree centigrade. if a submit these values in the formula then i get a code 0x311E1E . then how Could i get 150 Degrees with this formula?
4). what is the purpose of OFC Registers. i did not understand that registers functionality
Hi,
Can u please explain me briefly the second approach of reading ADC? I want the syntax of command. I.e the sample code. How to issue that command and how to provide NOPs?
Pattan,
If you are able to read and write to the registers, you should be easily able to read data back from the device.
There is some code that is used for the ADS1248EVM-PDK, and you can find that in one of the older posts here:
I'm not sure if the code uses a RDATA command, but surely it uses a RREG command which will be similar.
The code may be a bit complicated to follow so I'll include my own example.
To communicate with the ADS1248, the /CS is low to enable the SPI, SCLK dwells low and data is clocked in (or read) at the falling edge of the SCLK, MSB first. The example drawing I have here is using RDATA (12h) clocked into the device and then a series NOPs to clock out the data on DOUT. Here the example figure clocks out 311E1Eh as in the code example you mention in a previous post.
Dotted lines separate the bytes, but in operation, bytes do not need to be separated to extra time.
Joseph Wu
Hi Joseph Wu,
i am trying to write data into ADC GPIODAT Register, but the SPI Communication is not writing data. here i am providing my code. Please Correct me.
ADC_Write(0x4C,0x00,0x0F); // Selecting as GPIO
Delay(0x0F);
ADC_Write(0x4D,0x00,0x00); //Selecting as Outputs
Delay(0x0F);
ADC_Write(0x4E,0x00,0x0F); //writing four bits as 1's
Delay(0x0F);
while reading the Register i am not getting data what i wrote
Temp=ADC_Register_Read(0x2E,0x00);