Instant Interrupts - Revisited


Closed Thread
Results 1 to 40 of 773

Hybrid View

  1. #1
    Join Date
    Nov 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Sure, i am using both uarts of the Pic, but i have one more serial port accessing
    via serin/serout some more serial devices also (a eight devices bus). The status
    and some controls of these eight modules accessed via serin/serout are
    controlled by the two uarts to a rs232 and a ethernet board.

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


    Did you find this post helpful? Yes | No

    Default

    Any type of software timed commands like SERIN/OUT, OWIN/OUT, PAUSE, PULSIN/OUT etc, will be disturbed by these types of Interrupts.

    Since you have 4 different things interrupting, the software timing is getting messed up pretty bad.

    If you only needed the transmit side, you could use ...

    Tmr_tx-18
    http://www.picbasic.co.uk/forum/show...1&postcount=28

    But it sounds like you need the RX side too.

    With a need for 3 USART's, You may be out of luck.
    DT

  3. #3
    Join Date
    Nov 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    Hi Darrel,
    it works now, but is very critical in timing.
    I think about using 12c, but i did not find a good i2c slave routine.
    I tested one in the past, but without success.... :-(
    Did you test your interrupts as an i2c slave? Can you help on this?
    Regards,
    Ralf

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


    Did you find this post helpful? Yes | No

    Default

    > Did you test your interrupts as an i2c slave?

    I haven't, but Robert Soubie did.
    http://www.astrosurf.com/soubie/pic_as_an_i2c_slave.htm
    <br>
    DT

  5. #5
    Join Date
    Nov 2008
    Posts
    48


    Did you find this post helpful? Yes | No

    Default

    I have his routine, writing seems to work but reading not... :-(

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 : 6

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