Instant Interrupts - Timer 4 not interupting


Closed Thread
Results 1 to 5 of 5

Hybrid View

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


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Timer 4 not interupting

    Yeah, Microchip moved everything around in the K22's.
    TMR4IF is at PIR5.0
    TMR4IE .. .. PIE5.0
    TMR4IP .. .. IPR5.0


    At this point, the only fix is to copy DT_INTS-18.bas to a new file, say DT_INTS-18K22.bas and edit the corresponding flags.

    Timers 5 and 6 are also in PIR5/PIE5/IPR5.
    CCP3, 4 and 5 are in PIR4/PIE4/IPR4.
    DT

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


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Timer 4 not interupting

    Damn MicroChip... Again... Why? Why? Endless story...
    Steve

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

  3. #3
    Join Date
    Apr 2011
    Location
    Kent, UK
    Posts
    52


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Timer 4 not interupting

    Spot on Darrel, I have edited the file as you suggested. Timer 4 now working.

    Should anyone else wish to use it, then I have attached it.

    Cheers,
    Tim.
    Attached Files Attached Files

  4. #4
    Join Date
    Aug 2008
    Location
    Portugal
    Posts
    240


    Did you find this post helpful? Yes | No

    Default Re: Instant Interrupts - Timer 4 not interupting

    Quote Originally Posted by timmers View Post
    Spot on Darrel, I have edited the file as you suggested. Timer 4 now working.

    Should anyone else wish to use it, then I have attached it.

    Cheers,
    Tim.
    Thank you timmers.
    Thanks and Regards;
    Gadelhas

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