Connect with us

Set longer sampling time of ADC of TM4C123GH6PGET

Discussion in 'General Electronics Discussion' started by forever074, Mar 30, 2014.

Scroll to continue with content
  1. forever074

    forever074

    22
    0
    Mar 14, 2014
    I want to set a longer sampling time so that CIN capacitor can have enough time to be stable after the sampling process of ADC of TM4C123GH6PGET. But I dont know how to set this in datasheet. I see in datasheet that ADC sample time is 250ns, so we can change this time. Anybody can help me. Thanks.
    [​IMG]
     
  2. Fish4Fun

    Fish4Fun So long, and Thanks for all the Fish!

    462
    105
    Aug 27, 2013
    forever074,

    The "sample time" is part of the hardware definition of the ADC, asking how to change the sample time is like asking how to change the output voltage of an LM7805 voltage regulator...it isn't an option....Perhaps a firmware solution would be a better approach...take 16 consecutive samples, drop the first and last four and average the middle 8. (or any other permutation that results in an averaged sample in the time domain of interest...).

    Fish
     
Ask a Question
Want to reply to this thread or ask your own question?
You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.
Electronics Point Logo
Continue to site
Quote of the day

-