ADC Conversions


Results 1 to 7 of 7

Thread: ADC Conversions

Threaded View

  1. #2
    Join Date
    Jul 2003
    Posts
    2,358


    Did you find this post helpful? Yes | No

    Default

    It's not going to happen.

    First the Datasheet is your best friend... study it. From there you will have gathered that the F877 does NOT have a heap of ADC modules (fig 11-1) it has just ONE which is multiplexed out to a number of inputs. Therefore you can only do ONE ADC conversion in background, you then need to service the result, switch to your next input and start the next conversion process. You can't do that whilst simultaneously doing Serial I/O.

    Well... not strictly true... you can have an interrupt driven HARDWARE Serial routine running whilst doing all your data acquisition in forground. Or you can have your ADC's being serviced by interrupt whilst doing Hardware I/O in the main program. It's just not going to be successful with Software Serial I/O as it needs to keep strict timing.

    You can of course have the ADC do a SINGLE background conversion whilst simultaneously performing Data I/O, you can then just pick up the result when you're ready for it.

    Melanie

    PS... Patience. Posting on a weekend when most folks are away and nudging me as to the absence of replies doesn't help. Not everyone works 24/7 like I seem to do nowadays... and even then may not have an answer, or the inclination, or the time to reply. If you see your message up in lights here, you've posted.

    Actually, something appears to be awry... a 'Search' shows you've posted three times, yet only displays two results. A mail to Lester may be in order if one has dissappeared (unless you deleted it accidentally).
    Last edited by Melanie; - 5th October 2003 at 19:42.

Similar Threads

  1. Stable Adc Reading Routine
    By gebillpap in forum General
    Replies: 27
    Last Post: - 13th May 2015, 02:18
  2. 10 bit ADC display on LCD using 16f873
    By pr2don in forum mel PIC BASIC
    Replies: 3
    Last Post: - 6th March 2010, 18:29
  3. Can't get ADC to loop
    By TravisM in forum mel PIC BASIC
    Replies: 2
    Last Post: - 11th October 2009, 15:33
  4. ADC value with 2 decimals on an LCD
    By Squibcakes in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 2nd December 2005, 15:54
  5. 12F675 ADC 'Issues'
    By harrisondp in forum mel PIC BASIC Pro
    Replies: 2
    Last Post: - 31st March 2005, 01:55

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