Use a PIC ADC like a fast interrupt comparator?


Results 1 to 8 of 8

Threaded View

  1. #3
    Join Date
    Mar 2009
    Posts
    653


    Did you find this post helpful? Yes | No

    Default Re: Use a PIC ADC like a fast interrupt comparator?

    Quote Originally Posted by pxidr84 View Post
    Hi everyone,

    It's possible to use a PIC ADC like a fast comparator?
    Interesting....to have a PIC ADC act as a fast sw comparator, would require the PIC to do nothing else but continually check ADC samples (samples sourced from the special event trigger).....else trapping the condition would be time dependent on how often you checked in your main program.

    I guess you could use a very basic PIC programmed to do this...and then raise an interrupt to the main pic via a logic level change/IOC pin (but then there's not much win then over using a std external hw comparator)

    I actually wish they did multi processor low end PICs! (something like an SOIC16 package but with two PIC MCUs inside!), where simple background tasks could run on one PIC, with it interrupting the other partner PIC when something of interest happened!
    Last edited by HankMcSpank; - 17th August 2011 at 00:47.

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