Instant Interrupts - Revisited


Results 1 to 40 of 773

Threaded View

  1. #11
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,170


    Did you find this post helpful? Yes | No

    Default Time to respond to an interrupt.

    I think next one Darrel has to answer, but if anyone knows...

    How fast will the DT-INTS 14 interrupts (with PBP service) respond to a PORTB Interrupt on change?

    Or better put, how many cycles will it take?

    I am testing a Wiegand-26 reader the has 48uSec pulses every 2ms and at 4MHz the 16F628 chip does not feel it at all.

    Another reader the has 0,38ms pulse is OK with the 16F628. The PIC is running rather slow at 4MHz.

    I'd prefer a way to calculate the time it takes to respond on an Interrupt.

    My service test routine is something like this:

    Code:
    CardReader:
       if d0=0 then
            array[index]=0
            index=index+1
        endif
       
        if d1=0 then
            array[index]=1
            index=index+1
        endif
    @ INT_RETURN
    Ioannis


    P.S. After some testings I found that the pulse must stay at more that 150uSec for the PIC to grab it. Thats it at 4MHz.
    Last edited by Ioannis; - 14th October 2009 at 18:05.

Similar Threads

  1. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 22:43
  2. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 21:02
  3. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 21:48
  4. Keypad and DT's Instant Interrupts
    By Homerclese in forum General
    Replies: 11
    Last Post: - 27th April 2007, 07:32
  5. Replies: 1
    Last Post: - 1st November 2006, 04:11

Members who have read this thread : 4

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

Tags for this Thread

Posting Permissions

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