Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default I'll third that !!

    I find it is actually easier and quicker to deal with Microchipdirect than the local microchip office - seems to be a lot cheaper as well ! I wonder if the office just orders online and then drop ships ???

    Glad to hear you got some new toys ! Looking forward to the news.

    bill.

  2. #2
    Join Date
    Jul 2003
    Location
    Colorado Springs
    Posts
    4,959


    Did you find this post helpful? Yes | No

    Default

    These chips are Amazing ....
    They've got everything you could need in a 16F.
    I think I even found a kitchen sink

    And they are backwards compatible enough that it shouldn't even take very long for the update to DT_INTS.

    At $2.52 ea. for the 40-pin jobs, I may never use another 16F.<hr>

    And for the "Command reference" ... It's been waiting a few years now.
    Everyone just kinda picked it up and went with it. So I got lazy.
    Should've, could've, would've, maybe ...
    <br>
    DT

  3. #3
    Join Date
    Feb 2003
    Location
    Sydney, Australia
    Posts
    126


    Did you find this post helpful? Yes | No

    Default

    I love the fact they are 5v as well - seemed a lot of the newer 18f series were moving to 3.3v only.

    I think they are my new favourite series of PICs.

    bill

  4. #4
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default

    I do not want to destroy the good climate that 16F193x have created, but look at the errata file 80479A.pdf. They have some issues that may affect users that will use EEPROM or CCP rgisters.

    Ioannis

  5. #5
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    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.

  6. #6
    Join Date
    Nov 2003
    Location
    Greece
    Posts
    4,172


    Did you find this post helpful? Yes | No

    Default

    Sorry I missed the Edit window time.

    The 150uSec is really 115uSec...

    Ioannis

  7. #7
    Join Date
    Dec 2008
    Location
    Los Angeles, CA
    Posts
    156


    Did you find this post helpful? Yes | No

    Question Which type of interrupt is easier to implement?

    DT,

    I have only used interrupts once, (using Instant Interrupts) based on your clock routine. I am starting a design in which I want to again use your interrupt routines, (and I admit I haven't read all your examples and documentation yet). I'm at the point where I'm making a first guess at pin assignments on a PIC18F67J60. I know I'm going to have to use the clock output of a rotary encoder as one interrupt source, and a generic 'some button has been pushed' kind of interrupt from a bunch of PCF8574's as another. Being really new at interrupts, which would more straightforward to implement... the PortB 'onchange interrupts', or individual B0 (Int0), and B1 (Int1) dedicated interrupts?

    Thanks much,
    Len G.

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 : 5

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