PIC to PIC communication and interrupts


Closed Thread
Results 1 to 5 of 5

Hybrid View

  1. #1
    lwindridge's Avatar
    lwindridge Guest


    Did you find this post helpful? Yes | No

    Default

    Would love to see your two wire solution Dwayne - would possibly make life much easier as I have another two PIC's that are going to have to do a similar job pretty soon using the same master.

    What actually seems to happen is the 16F877 sends out the serial data fine (checked it with PC) but the receiving PIC (the 16F84A) just seems to sit there waiting for the start command to come through. I'm guessing that the interrupt (firing once every 300uS or faster) is stopping it from receiving properly. But I'm still a bit green on these things so I'm not too sure of the best way to get around it.

    I've attached my current code for you to have a look at - let me know if you can see anything glaringly obvious
    The 16F877 send command is...

    serout2 dta1,6,["S",#totalret,#rpmsamph]
    (dta1 is portb.1, totalret and rpmsamph are calculated 16 bit numbers)

    Hope that helps explain a little better anyway.

    Cheers

    Leigh
    Attached Files Attached Files
    Last edited by lwindridge; - 18th June 2004 at 07:46.

Similar Threads

  1. Hserin with Instant Interrupts.
    By ronjodu in forum Serial
    Replies: 17
    Last Post: - 30th December 2014, 20:17
  2. Continuous Interrupts when using DT_INTS and an INCLUDE file
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 8
    Last Post: - 15th January 2010, 21:42
  3. Wireless serial communication question
    By Ahmadabuomar in forum Serial
    Replies: 3
    Last Post: - 21st December 2009, 03:49
  4. PIC to PIC "wired" serial one-way communication - SERIN2/SEROUT2
    By flotulopex in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 14th April 2008, 20:02
  5. serial communication pic16f628 - gsm
    By mariani in forum General
    Replies: 0
    Last Post: - 22nd February 2006, 13:31

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