element14 Community
element14 Community
    Register Log In
  • Site
  • Search
  • Log In Register
  • Community Hub
    Community Hub
    • What's New on element14
    • Feedback and Support
    • Benefits of Membership
    • Personal Blogs
    • Members Area
    • Achievement Levels
  • Learn
    Learn
    • Ask an Expert
    • eBooks
    • element14 presents
    • Learning Center
    • Tech Spotlight
    • STEM Academy
    • Webinars, Training and Events
    • Learning Groups
  • Technologies
    Technologies
    • 3D Printing
    • FPGA
    • Industrial Automation
    • Internet of Things
    • Power & Energy
    • Sensors
    • Technology Groups
  • Challenges & Projects
    Challenges & Projects
    • Design Challenges
    • element14 presents Projects
    • Project14
    • Arduino Projects
    • Raspberry Pi Projects
    • Project Groups
  • Products
    Products
    • Arduino
    • Avnet Boards Community
    • Dev Tools
    • Manufacturers
    • Multicomp Pro
    • Product Groups
    • Raspberry Pi
    • RoadTests & Reviews
  • Store
    Store
    • Visit Your Store
    • Choose another store...
      • Europe
      •  Austria (German)
      •  Belgium (Dutch, French)
      •  Bulgaria (Bulgarian)
      •  Czech Republic (Czech)
      •  Denmark (Danish)
      •  Estonia (Estonian)
      •  Finland (Finnish)
      •  France (French)
      •  Germany (German)
      •  Hungary (Hungarian)
      •  Ireland
      •  Israel
      •  Italy (Italian)
      •  Latvia (Latvian)
      •  
      •  Lithuania (Lithuanian)
      •  Netherlands (Dutch)
      •  Norway (Norwegian)
      •  Poland (Polish)
      •  Portugal (Portuguese)
      •  Romania (Romanian)
      •  Russia (Russian)
      •  Slovakia (Slovak)
      •  Slovenia (Slovenian)
      •  Spain (Spanish)
      •  Sweden (Swedish)
      •  Switzerland(German, French)
      •  Turkey (Turkish)
      •  United Kingdom
      • Asia Pacific
      •  Australia
      •  China
      •  Hong Kong
      •  India
      •  Korea (Korean)
      •  Malaysia
      •  New Zealand
      •  Philippines
      •  Singapore
      •  Taiwan
      •  Thailand (Thai)
      • Americas
      •  Brazil (Portuguese)
      •  Canada
      •  Mexico (Spanish)
      •  United States
      Can't find the country/region you're looking for? Visit our export site or find a local distributor.
  • Translate
  • Profile
  • Settings
Embedded and Microcontrollers
  • Technologies
  • More
Embedded and Microcontrollers
Blog Renesas Solution Starter Kit for RX23E-A: ADC Measurement
  • Blog
  • Forum
  • Documents
  • Quiz
  • Polls
  • Files
  • Members
  • Mentions
  • Sub-Groups
  • Tags
  • More
  • Cancel
  • New
Embedded and Microcontrollers requires membership for participation - click to join
  • Share
  • More
  • Cancel
Group Actions
  • Group RSS
  • More
  • Cancel
Engagement
  • Author Author: Jan Cumps
  • Date Created: 28 Jun 2023 7:18 PM Date Created
  • Views 1475 views
  • Likes 11 likes
  • Comments 9 comments
  • RoadTest
  • RX23e-a
  • d2a28d6e-11d8-11ee-be56-0242ac120002
Related
Recommended

Renesas Solution Starter Kit for RX23E-A: ADC Measurement

Jan Cumps
Jan Cumps
28 Jun 2023

Time for a first raw ADC test for Road test: Renesas Solution Starter Kit for RX23E-A. This is a first step to check (and learn) the analogue capacities of the RX23E-A.

image
On the starter kit, I'm using the default firmware and default setup. AIN3 and AIN2 take the analogue circuitry. As sample signal, I use a AD584KH voltage reference I recently purchased.
The default config uses the internal 2.5 V reference, and bypasses the analogue front end. The signal directly enters into the ADC. No gain, no buffers.

image

Renesas uses DSAD as acronym for the ADCs in its documentation. It stands for Delta-Sigma A/D Converter.

I powered the kit before turning on the voltage reference. This to take care that the inputs never exceed the limits documented in the "absolute maximums" section of the controller's user guide. 

image

Then I let the PC Tool take a few 100 samples. Here are the results:

max: 8383103
min:  8381812
The PC Tool calculated the mean of all samples: 8382488
As effective number of bits (ENOB), it reports: 16 (the ADCs are sigma-delta 24 bit converters)

How does this translate to voltage? This is the formula to derive the voltage form the digitised value:

image

VID = (2.5 * 2) / 1 * 8382488 / 2^24 (V)
= 5 * 8382488 / 16777216
= 2.498176 V

according to the label on my voltage reference, it outputs 2.49974 V (measured with an HP3458A)

challenge: this is a 24 bit ADC.
Renesas' software reported a mean of 8382487,67233258, based on  a few 100 samples
VRef = 2.5 V
No gain
What is the correct number of decimals of the result, given these figures and the formula above?

Snippet from the Analog Front End specs

  • 24-bit delta-sigma A/D converters: Up to 23-bit effective resolution...
    • Dual 24-bit delta-sigma A/D converters (R5F523ExAxxx)
  • PGA: Rail-to-rail analog input, Gain 1 to 128, offset drift 10 nV/°C, gain drift 1 ppm/°C
  • Voltage reference: low drift 10ppm/°C with good temperature stability

Some captures of the PC Tool, zooming in on the "ac component"
full screen is 100 ms
image
full screen is 10000 ms:
image

link to all posts

  • Sign in to reply

Top Comments

  • Jan Cumps
    Jan Cumps over 1 year ago +1
    First low-noise attempt: Power supplied by a 9 V battery, going through the LDO. The device under test is a fresh 1.5 V AA battery I put the test setup in an alu foil house. The USB cable - used to…
  • shabaz
    shabaz over 1 year ago in reply to michaelkellett

    Interesting article! I've briefly looked for some of that Metglas material in the past, just to experiment with, but didn't find a (cheap) source. It's apparently ideal for DIY flux-gate magnetometers too. Just noticed Mouser sell it in toroid form, not sheet/strip.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to michaelkellett

    Alternatively try putting the whole caboodle inside a magnetic shield (if you have a cast iron or better mu-metal box handy.

    I don't have anything. As expected, there's not much difference between my measurements in and outside the alu backing forms. I get up to 22 effective bits when I apply the same oversampling / filtering as in Renesas' thermocouple example:

     image

    image

    histogram:

    image

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • michaelkellett
    michaelkellett over 1 year ago in reply to Jan Cumps

    Just bt eyeballing this trace it looks to me as if you have quite a lot of 50Hz noise. Might be interesting to see a frequency spectrum. Alternatively try putting the whole caboodle inside a magnetic shield (if you have a cast iron or better mu-metal box handy.

    I remember a very interesting Linear technology (now part of AD) app note about making a very low noise power supply which used quite exotic shielding.

    https://www.analog.com/en/app-notes/an-159.html

    MK

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago in reply to Jan Cumps

    When I load the thermocouple example,

    Thermocouple ADC reports 20 - 21 ENOBS, RDT ADC 21 - 22 ENOBS

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • More
    • Cancel
  • Jan Cumps
    Jan Cumps over 1 year ago

    First low-noise attempt:

    Power supplied by a 9 V battery, going through the LDO. The device under test is a fresh 1.5 V AA battery

    I put the test setup in an alu foil house. The USB cable - used to communicate with the PC Tool - is the only thing going out of the box.

    image

    image

    I get 18 effective bits:

    image

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • More
    • Cancel
>
element14 Community

element14 is the first online community specifically for engineers. Connect with your peers and get expert answers to your questions.

  • Members
  • Learn
  • Technologies
  • Challenges & Projects
  • Products
  • Store
  • About Us
  • Feedback & Support
  • FAQs
  • Terms of Use
  • Privacy Policy
  • Legal and Copyright Notices
  • Sitemap
  • Cookies

An Avnet Company © 2025 Premier Farnell Limited. All Rights Reserved.

Premier Farnell Ltd, registered in England and Wales (no 00876412), registered office: Farnell House, Forge Lane, Leeds LS12 2NE.

ICP 备案号 10220084.

Follow element14

  • X
  • Facebook
  • linkedin
  • YouTube