View Full Version : Reversing RS485 line
dhouston
- 8th July 2007, 17:41
I will be working on a master/slave RS485 network. On the master PIC I'll use DEBUG/DEBUGIN.
Can I assume that all bits have been transmitted and it's safe to reverse the line as soon as DEBUG returns?
Darrel Taylor
- 9th July 2007, 00:03
Well, looking at the macros for debug, it definately waits till the end of the Stop bit before continuing.
But that's probably not a definitive answer to "is it safe".
<br>
dhouston
- 9th July 2007, 01:08
Thanks Darrel - that's definitive enough. Most hardware solutions reverse the line 25-50µS after the trailing edge of the stop bit so inserting a short delay after DEBUG returns should do the trick.
Powered by vBulletin® Version 4.1.7 Copyright © 2025 vBulletin Solutions, Inc. All rights reserved.