Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default

    Bruce,

    Thank You, Thank You, Thank You!

    But I gotta ask.

    Have you tried it yet?
    Or does it just Look Cool?

    Apprehensively,
      Darrel

  2. #2
    Join Date
    Jul 2003
    Posts
    2,405


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel,

    I've tested it on a Lab-X1 with 18F452. Timers 0, 1 and 3 hi-pri. USART rx
    low-pri, and it works as advertised...;o}

    P.S. I thought this was pretty slick;
    movff FSR#v(F)L, fsave#v(F)Pr
    movff FSR#v(F)H, fsave#v(F)Pr + 1
    Last edited by Bruce; - 13th July 2006 at 18:30.
    Regards,

    -Bruce
    tech at rentron.com
    http://www.rentron.com

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


    Did you find this post helpful? Yes | No

    Default

    Excellent!

    Thanks for that.

    And, yeah. The "Text Substitution" comes in pretty handy.
    A bit Cryptic looking, but it is "Slick". Finding more uses for it with each new program.
    <br>
    DT

  4. #4
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    Darrel,
    i'm developping an USB device to be release within let's say a year if everything work as expect. I have to use few interrupts source(4 as now.. but it grows). Today i decided to implement the instant interrupt in. All i can say is that it really reduce the latency. Worked well before... by far better now. You really save me to spend hours in the asm developpement...

    Anyways i'll probably have no choice to use asm if i really don't want to move to the DsPIC. It's still in developpement so far.

    Thanks!
    Last edited by mister_e; - 14th July 2006 at 04:02.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

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


    Did you find this post helpful? Yes | No

    Default

    Sounds great Steve,

    Were you using ON INTERRUPT before? or ASM?
    <br>
    DT

  6. #6
    Join Date
    Sep 2004
    Location
    montreal, canada
    Posts
    6,898


    Did you find this post helpful? Yes | No

    Default

    On interrupt first.. thereafter trying to do a real pure assembler ISR wich was a real improvement but didn't finished to implement/debug all of them 'cause you bum decide to stop me and release the 18Fs version and worst for FREE!

    I may want to waste my time one day to do a pure asm ISR and compare both... but not for now as it's work really fine and i'm still unsure of the real final requirement 'round this device. You know how it is.. sometimes we see it bigger than it have to be

    i'll keep you post anyways!
    Last edited by mister_e; - 14th July 2006 at 21:14.
    Steve

    It's not a bug, it's a random feature.
    There's no problem, only learning opportunities.

  7. #7
    Join Date
    Mar 2006
    Location
    Pennsylvania, USA.
    Posts
    130


    Did you find this post helpful? Yes | No

    Question Instant Interrupts

    I tried it, played with it for over three hours, nothing but compilation errors. I'm using Picbasic Pro 2.46 and MPASM 5.03. Any ideas?

Similar Threads

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