Instant Interrupts Questions


Closed Thread
Results 1 to 24 of 24

Hybrid View

  1. #1
    jheissjr's Avatar
    jheissjr Guest


    Did you find this post helpful? Yes | No

    Smile

    Even though the interrupts for 18F's are more complicated, do you plan on making the code work for them sometime in the future. I wish I was fortunate enough to know assembly as well as you do. I have been reading in the 18F datasheets and they say you can enable and disable the interrupt priority feature. Would disabling the priority make it more doable. Or if not, maybe something like setting all the interrupts to either high priority or to all low priority. Anything I can do to convince you to do take on the task for us
    Last edited by jheissjr; - 24th February 2006 at 07:34.

  2. #2
    jheissjr's Avatar
    jheissjr Guest


    Did you find this post helpful? Yes | No

    Default

    An exert from an 18F datasheet:

    When the IPEN bit is cleared (default state), the interrupt priority feature is disabled and interrupts are compatible with PICmicro mid-range devices. In
    Compatibility mode, the interrupt priority bits for each source have no effect. INTCON<6> is the PEIE bit, which enables/disables all peripheral interrupt sources. INTCON<7> is the GIE bit, which enables/disables all interrupt sources. All interrupts branch to address 000008h in Compatibility mode.
    Last edited by jheissjr; - 24th February 2006 at 07:49.

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


    Did you find this post helpful? Yes | No

    Default

    Yes, you can make an 18F work like a 16F.

    But why buy a Ferrari, if it comes with a 60mph governor?

    Actually, I already have it working like that. But, I don't want to release a crippled version.

    Patience.
    <br>
    DT

  4. #4


    Did you find this post helpful? Yes | No

    Cool You can buy a ferrari also for the looks :D !!

    Hi Darrel, i certainly agree with your idea of using interrupts priority, but for the moment i would really find useful this system in 18F devices as i need for example more code (32K) or even the USB port.

    My 16f877 is full even with the method of storing strings in the code space.

    By the way, i am also looking to make my project to PRINT in a standard ASCII characters printer, can you give me any advice?, an easy link?. Thanks!!.

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


    Did you find this post helpful? Yes | No

    Default

    This might help with the printer part...
    http://www.picbasic.co.uk/forum/showthread.php?t=218
    <br>
    DT

  6. #6
    jheissjr's Avatar
    jheissjr Guest


    Did you find this post helpful? Yes | No

    Default

    I would like to use the 18F because it has a large amount of RAM and code space. Other wise I agree, I would be using a 16F. Would you mind releasing the 'governed' version of what you have so far.

  7. #7
    Join Date
    Apr 2005
    Posts
    96


    Did you find this post helpful? Yes | No

    Default

    Is the INT_INT interupt the pin B0 interrupt? If so, does the interupt trigger on the falling or rising edge?

    In the example I am working with I am using an 16F877a

    Thanks

Similar Threads

  1. Instant Interrupts - Revisited
    By Darrel Taylor in forum Code Examples
    Replies: 772
    Last Post: - 17th February 2016, 22:14
  2. Clock using Instant Interrupts
    By PICpocket in forum mel PIC BASIC Pro
    Replies: 3
    Last Post: - 16th February 2009, 21:43
  3. DT instant interrupts with mister_e keypad
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 26th November 2008, 20:02
  4. DT's Instant Interrupts trouble
    By Tomexx in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 24th November 2008, 20:48
  5. Replies: 1
    Last Post: - 1st November 2006, 03:11

Members who have read this thread : 1

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