INT interrupt problem


Results 1 to 6 of 6

Threaded View

  1. #1

    Default INT interrupt problem

    Hi Everyone,

    I am having difficulties with INT_interrupt. I am using Darrel Taylor Instant interrupt system. I found that very often you can use assembly level interrupts while still using Basic language statements. It makes the program smaller and works faster. I used this technique on 16F877a. But I found that the chip is very bulky if you want to make simple project so I moved on to 12F683 and 16F684. The problem is that once the program enters interrupt handler it doesn’t return to the main program anymore but still responds to the INT_interrupt. So in other words it returns somewhere but not to the main program. I found two decisions to the problem one is to add DEBUG " " before @INT_RETURN and the other is to use PBP level interrupts and include "ReEnterPBP.bas". If someone came across the same problem can you please share your experience. Thanks in advance.
    Attached Files Attached Files

Similar Threads

  1. Low freq PWM problem
    By ultiblade in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 17th February 2010, 07:09
  2. Can't ID interrupt source with this IntHandler??
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 3rd June 2009, 02:35
  3. Replies: 1
    Last Post: - 2nd November 2006, 23:24
  4. Interrupt Problem
    By Kamikaze47 in forum mel PIC BASIC Pro
    Replies: 15
    Last Post: - 16th November 2005, 20:58
  5. Interrupt stack overflow problem with Resume {label}
    By Yuantu Huang in forum mel PIC BASIC Pro
    Replies: 0
    Last Post: - 3rd May 2005, 01:17

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