A/D Conversion Clock Select bits confussion ..


Closed Thread
Results 1 to 30 of 30

Hybrid View

  1. #1
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    The 11 TADs is the time taken by the MCU for the 10 bits convertion! Please do not confuse acquisition with convertion. The setting suggested is the time you will give to the sample & hold capacitor to charge with your input dc value. This time should be enough to charge the cap not beyond the 1T, because beyond this point the charging function is no longer quasi-linear, but totaly logaritmic.

    You can set it to 20 us and see If your ADC reading are consistent and adjust this value to suite your need. (Remember that the best acquisition time will depend by the hardware setting, so every circuit has his own best acquisition time)

    Cheers
    Al.
    Last edited by aratti; - 20th July 2015 at 12:22.
    All progress began with an idea

  2. #2
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    Grazie tante per la risposta cara aratti ..

  3. #3
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    I remember saving a link to this... http://www.edaboard.com/nextoldesttoentry1570.html
    page. Be sure to hit the "next" button at the bottom of the page where there is discussion of acquisition time.

    hope this helps you.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  4. #4
    Join Date
    Oct 2009
    Location
    Utah, USA
    Posts
    427


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    I remember saving a link to this... http://www.edaboard.com/nextoldesttoentry1570.html
    page. Be sure to hit the "next" button at the bottom of the page to go to Part 2 where there is discussion of acquisition time.

    Possibly something of value there.
    Last edited by Heckler; - 21st July 2015 at 05:13.
    Dwight
    These PIC's are like intricate puzzles just waiting for one to discover their secrets and MASTER their capabilities.

  5. #5
    Join Date
    Dec 2012
    Location
    Türkiye
    Posts
    103


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    The only part I cant understand is the line he somehow calculated 40 + 38.4 us = 78.4 uS .. where did that 40 come from ?

  6. #6
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    40 us is the value the author arbitrarely gives as acquisition time "sampleus parameter".

    Remember:

    A too high acquisition time will give issues when the analog input approch the V(ref+)

    A too low acquisition time will give issues when the analog input approch the zero

    So, if you do not see any issues in your reading at the extreme of the reading field then the acquisition time used is correct!

    Ciao, complimenti per il tuo italiano!

    Al.
    Last edited by aratti; - 21st July 2015 at 14:37.
    All progress began with an idea

  7. #7
    Join Date
    Aug 2011
    Posts
    457


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    A too high acquisition time will give issues when the analog input approch the V(ref+)
    A too low acquisition time will give issues when the analog input approch the zero
    Where do you get this from?

    The aquisition time is the MINIMUM amount of time you have to wait for the holding capacitor (and it's RC network) to fully charge/discharge to the voltage level you're sampling.

    If you set the acquisition time too low then you won't have allowed enough time for the charge on the capacitor to reach the desired level, and you'll get an incorrect conversion. It doesn't matter so much if the input is near Vref or zero, it'll be wrong.

    If you're measuring a DC voltage, there is no "too high" an aquisition time.

  8. #8
    Join Date
    May 2008
    Location
    Italy
    Posts
    825


    Did you find this post helpful? Yes | No

    Default Re: A/D Conversion Clock Select bits confussion ..

    Where do you get this from?
    From the charging function of a capacitor!

    Al.
    All progress began with an idea

Similar Threads

  1. Replies: 2
    Last Post: - 23rd April 2013, 17:34
  2. DT_INTS-14 /interrupts enable bits / flag bits
    By bogdan in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 16th May 2009, 19:42
  3. external clock / internal clock
    By grounded in forum General
    Replies: 4
    Last Post: - 31st May 2008, 18:44
  4. IF or SELECT
    By RYTECH in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 31st December 2005, 19:31
  5. Need clever way to convert 10 bits to 8 bits
    By MikeTamu in forum mel PIC BASIC Pro
    Replies: 6
    Last Post: - 2nd September 2005, 16:13

Members who have read this thread : 0

You do not have permission to view the list of names.

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts