RS485/PIC18F4520-Interrupt not firing for all recieved bytes


Closed Thread
Results 1 to 7 of 7

Hybrid View

  1. #1
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    At 115200 you definitely need termination resistors at the ends of the RS485 bus. For a simple way to automatically control the TE/RE turn-around see FIG 4, p23 of...

  2. #2
    Join Date
    Jul 2009
    Posts
    3

    Default

    @dhouston

    Thanks, I might give that a go, now that I know that the circuit is working.
    I reduced the baud rate to 4800 as suggested by another member but I am still not using termination. I did read somewhere that if you are using short wiring line termination and biasing can cause more problems than it solves, however this may be only relevant for higher baud rates.

  3. #3
    Join Date
    Dec 2005
    Posts
    1,073

    Default

    Termination is not needed at low speeds but is a must at high speeds.

    Here is one of the best RS485 tutorials I've seen.
    And, anything by Jan Axelson on the topic is worth reading. She writes with great clarity making technical topics easy to grasp.

Similar Threads

  1. Won't go back to SLEEP after 1st Interrupt
    By jellis00 in forum mel PIC BASIC Pro
    Replies: 32
    Last Post: - 29th June 2009, 09:00
  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. Help with Analog Interrupt
    By brid0030 in forum mel PIC BASIC Pro
    Replies: 7
    Last Post: - 13th February 2008, 18:14
  4. NEWBIE: Some basic questions using interrupts
    By JackPollack in forum mel PIC BASIC Pro
    Replies: 5
    Last Post: - 8th March 2006, 02:59
  5. USART interrupt not interrupting right
    By Morpheus in forum mel PIC BASIC Pro
    Replies: 12
    Last Post: - 6th March 2005, 01:07

Members who have read this thread : 0

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