DT_INTS-14 , Elasped_INT, and 16F87 code not working


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    May 2013
    Location
    australia
    Posts
    2,680


    Did you find this post helpful? Yes | No

    Default Re: DT_INTS-14 , Elasped_INT, and 16F87 code not working

    the problem is with the stack . core 14 devices have a 8 level hardware stack , 4 levels can be used by pbp leaving 4 for your program. an interrupt will use 1 of these , a gosub in the interrupt uses another .
    its not impossible to do but you need to be mindful of the limitations

  2. #2


    Did you find this post helpful? Yes | No

    Default Re: DT_INTS-14 , Elasped_INT, and 16F87 code not working

    I seem to remember when using pic16F's and interrupt on change you had to read portb to clear a mismatch?

    Code:
    dummy = portb
    @ INT_RETURN

  3. #3
    Join Date
    Mar 2003
    Location
    Commerce Michigan USA
    Posts
    1,166


    Did you find this post helpful? Yes | No

    Default Re: DT_INTS-14 , Elasped_INT, and 16F87 code not working

    Mark_s, You are correct, But who reads the data sheets anyways? Henrick and Richard, you are both correct, Also there are the extra cycles used up in the stack execution.
    Dave Purola,
    N8NTA
    EN82fn

Similar Threads

  1. Working code but my layman approach uses too much code space
    By Christopher4187 in forum mel PIC BASIC Pro
    Replies: 4
    Last Post: - 14th December 2012, 21:44
  2. Why is this code not working(pwm on a 16f628a)
    By Bigandrewgold in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 4th May 2012, 09:56
  3. My LCD code is not working...
    By kvrajasekar in forum mel PIC BASIC
    Replies: 2
    Last Post: - 7th December 2008, 06:41
  4. Bootloader for 16f87/88 that doesn't use UART
    By bcd in forum mel PIC BASIC Pro
    Replies: 33
    Last Post: - 18th January 2008, 18:35
  5. 16f87 ADC compiler error
    By DhesanR in forum mel PIC BASIC Pro
    Replies: 1
    Last Post: - 15th January 2008, 00:43

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