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.
Part Number: ADS1248
I am using ADS1248. I have connected a potentiometer across AIN2 and AIN3, with internal excitation current 500μA.
I am getting variation in the count by changing the potentiometer resistance but it's not in a full range. Not sure for that, ADC count is correct or not.
I am following the Pseudo Code example.
Welcome to the E2E forum! It would be helpful to see your schematic and the value of the pot you are using and how you have it connected to the analog inputs. It is not clear as to why you are using VBIAS at AIN2 and AIN3 if you are trying to measure a voltage across these same inputs. What you are doing with VBIAS is setting the AIN2 and AIN3 inputs at (AVDD-AVSS)/2 which is effectively shorting the inputs together.
Also, you must make sure that the total pot resistance times 500uA maintains the compliance voltage. You must also make sure that the path to analog ground exists for the current to travel from the IEXC1 output to analog ground. And lastly, you must make sure that the measurement you are making is within the correct analog input range for the ADS1248 PGA. The ADS1248 has a common-mode input restriction which prevents a single-ended measurement if you are using a unipolar analog supply with one of the inputs tied to analog ground.
A pot is usually used as test, so what type of sensor are you intending to use? Will this be an RTD? If so I would suggest taking a look at A Basic Guide to RTD Measurements:
We are glad that we were able to resolve this issue, and will now proceed to close this thread.
If you have further questions related to this thread, you may click "Ask a related question" below. The newly created question will be automatically linked to this question.
In reply to Bob Benjamin:
I have attached schematic for hardware connections. Moreover, POT range is 0 - 200ohm.
we are going to connect RTD across inputs.
Updated register settings:
/*MUX0*/ = 0x13
/*VBIAS*/ = 0x00
/*MUX1*/ = 0x30
/*SYS0*/ = 0x02
In reply to Abhishek Dhumal:
Mostly the schematic appears to be ok. However I think the biggest issue is with the reference resistor. Both R637 and R736 must connect to AGND. As it is now the IDAC has an open circuit path.
The second issue with the reference resistor is the value. Ultimately you want the RTD measurement to be ratiometric where the excitation current excites both the RTD and the reference. In this way the code returned (relative to total number of +full-scale codes) represents the ratio of the RTD to the reference resistance. If you are using a 500uA current along with 820 Ohm resistance, the voltage drop is 0.41V which is less than the minimum of 0.5V required for the reference input voltage. See the table in Section 7.3 of the ADS1248 datasheet. So you will either need to increase the current or change the resistor to a value that is larger than 1k. Although 1k should be sufficient, most likely due to tolerance and drift the voltage could drop below 0.5V.
It appears that the circuit is designed for two, 4-wire RTDs in series. When conducting the tests you must make sure that when using a fixed resistor, or a pot, that the resistance is installed in such a way that the current path flows through all connections. For example, the IEXC1 current enters J45 pin 1. If the fixed resistor is connected to J45 pins 2 and 3, the current needs to flow through the resistor and out J45 pin 4. This means that J45 pins 1 and 2 need to be jumpered together as do pins 3 and 4 to complete the current path through J45. The same is true for J33 as the current must flow into J33 pin 1, then through the resistor and out J33 pin 4. To complete the current path, the current flows through R637 and to AGND (when R637 is connected properly).
Right now the reference you have selected is the internal 2.5V reference which means you should be able to make a valid measurement. However, as the measurement is not ratiometric, you will be subject to the affects of accuracy and drift of the excitation source. For now in your early testing, it is ok to use the internal reference. Eventually you will want to make the measurement ratiometric by changing the value of the reference resistor and selecting the appropriate reference for the RTD measurement you wish to take.
All content and materials on this site are provided "as is". TI and its respective suppliers and providers of content make no representations about the suitability of these materials for any purpose and disclaim all warranties and conditions with regard to these materials, including but not limited to all implied warranties and conditions of merchantability, fitness for a particular purpose, title and non-infringement of any third party intellectual property right. No license, either express or implied, by estoppel or otherwise, is granted by TI. Use of the information on this site may require a license from a third party, or a license from TI.
TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs andembedded processors, along with software, tools and the industry’s largest sales/support staff.