• Join
  • Sign In with my.TI Login
Texas Instruments
  • Products
  • Applications
  • Tools & Software
  • Support & Community
  • Sample & Buy
  • About TI
Sample & Purchase Cart Sample & Purchase Cart
  • Search
  • Advanced
TI E2E™ Community
  • Support Forums
  • Blogs
  • Groups
  • Videos
  • 简体中文
  • More ...
TI Home » TI E2E Community » Support Forums » Data Converters » Precision Data Converters » Precision Data Converters Forum » Conversion Formula
Share
Precision Data Converters
  • Forum
  • Files
  • E2E Wiki
Options
  • Subscribe via RSS
Check out
The Signal blog
  • $core_v2_blog.Current.Name

    Pop Quiz!

    Posted 2 days ago
    by Bruce Trump
    Put away your books and take out a sheet of paper. Each question...
  • $core_v2_blog.Current.Name

    Settling Time

    Posted 8 days ago
    by Bruce Trump
    Settling time is the time required for an op amp to respond to...
  • $core_v2_blog.Current.Name

    Slew Rate—the op amp speed limit

    Posted 15 days ago
    by Bruce Trump
    Slewing behavior of op amps is often misunderstood. It’s...

Conversion Formula

Conversion Formula

This question is answered
ismail sadiq
Posted by ismail sadiq
on Apr 01 2011 05:09 AM
Prodigy60 points

Hi 

I wanted to know how to convert the hex data acquired from ads1298 ECG FE to volts?

What is the exact formula of conversion for both leads and test data.

ads1298 ADS1298ECG-FE ADS1298ECGFE-PDK
Report Abuse
  • Reply
You have posted to a forum that requires a moderator to approve posts before they are publicly available.
All Replies
  • Tom Hendrick
    Posted by Tom Hendrick
    on Apr 01 2011 19:37 PM
    Verified Answer
    Verified by ismail sadiq
    Guru86375 points

    Hi ismail,

    What is your reference voltage and PGA setting on the ADS1298?  This will influence the 'codes to volts' conversion.  Please take a look at the equations on page 26 of the data sheet and see if that helps you see what it is you need to do for your specific implementation.  If you would like to post the details on your PGA settings and reference voltage, we can try to help you with a specific equation.

     

    Regards,

    Tom

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • ismail sadiq
    Posted by ismail sadiq
    on Apr 04 2011 03:20 AM
    Prodigy60 points

    My reference voltage is 2.4V.and PGA gain is 6.

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Tom Hendrick
    Posted by Tom Hendrick
    on Apr 05 2011 19:15 PM
    Verified Answer
    Verified by ismail sadiq
    Guru86375 points
    Hi Ismail, Sorry for the delay in getting back to you. The ADS1298 has a BTC output and that can complicate the SW a little in trying to convert hex to voltage. The easiest way to go about this (IMHO) is to take the raw code and convert the BTC data to straight binary. You can do this by 'XORing' the data with 0x800000. Full scale positive is 0x7FFFFF, XORing that with 0x800000 would give you 0xFFFFFF. Full scale negative is 0x800000, which yields 0x000000 when XORed. Your code to voltage input relationship is essentially [code-1 (in decimal)*LSB size]/gain. The LSB size is given in page 30 under the Format section as VREF/(2^23-1). If you need to compensate for polarity, simply take the result and subtract your reference voltage.

     

    Regards,

    Tom

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • WU Yun Jie
    Posted by WU Yun Jie
    on Mar 19 2012 05:42 AM
    Prodigy50 points

    Hello Tom and Ismail,

    The code to voltage input relationship may be

    code * LSB size / gain ?

    Best regardes.

    YJ

    ads1298r
    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
  • Qin Wei
    Posted by Qin Wei
    on Mar 22 2012 20:55 PM
    Intellectual285 points

    Hi Tom.

    As you said above, if i got a "800000h" from ADS1298, i changed this to  voltage is -2.4V/6=-0.4V?

    Is that right? I used internal test signals  DC . And my gain was setting to 6.

    Another question is about the internal test signals. The internal test signals amplitude is 1V or 2V,and the frequency is 1HZ or 2HZ. But when i chose the DC test signal ,the amplitude also is decided by the TEST_AMP bit(1V or  2V)?

    Last question, if i set my ADS1298 in 1KSPS, and i just use one channel which set to the internal test signals ,just DC,  what code will i get from the ADS1298 output pin?

    Waiting  for your reply.

    Appreciate. 

    Report Abuse
    • Reply
    You have posted to a forum that requires a moderator to approve posts before they are publicly available.
TI E2E™ Community
  • Support Forums
  • Blogs
  • Videos
  • Groups
  • Site Support & Feedback
  • Settings
TI E2E™ Community Groups
  • TI University Program
  • Make the Switch
  • Microcontroller Projects
  • Motor Drive & Control
Other Communities
  • Deyisupport
  • Designsomething.org
  • beagleboard.org
  • TI on Element 14
  • TI on TechXchangeSM
Other Technical & Support Resources
  • WEBENCH® Design Center
  • Product Information Centers
  • Technical Documents
  • TI Design Network
  • TI Technical Articles
  • TI Training

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. 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 respect to these materials. 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.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms of Use of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms of Use of this site. TI, its suppliers and providers of content reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Follow Us Texas Instruments on Facebook Texas Instruments on Twitter Texas Instruments on LinkedIn Texas Instruments on Google+
TI Worldwide | Contact Us | my.TI Login | Site Map | Corporate Citizenship | mobile m.ti.com (Mobile Version)

TI is a global semiconductor design and manufacturing company. Innovate with 100,000+ analog ICs and
embedded processors, along with software, tools and the industry’s largest sales/support staff.

© Copyright 1995-2013 Texas Instruments Incorporated. All rights reserved.
Trademarks | Privacy Policy | Terms of Use