DN042 - Efficient Handling of RS-485 Timing Issues
Updated: Feb 24, 2005
Anyone that has had to deal with the timing issues involved in RS-485 communication
knows that it can often be a time-consuming task. Although RS-485 communications
have the advantage of being able to support multiple devices all running of the same line
and require only two wires for a connection, the communications are only half-duplex.
This means that there can be some interesting timing issues to overcome when it comes
to switching between receive and transmit modes. If the processor switches from TX to
RX mode too quickly, the entire packet will not be transmitted and will be invalid, and if it
switches too slowly, the other unit may respond before it enters RX mode and the reply
packet will be missed.
NB! This design note is part of the 2nd design note competition at AVRfreaks.net.
Until friday march 14. you can rate your opinion of this and other design notes participating in the competition, by clicking the link to the right above. 3 winners will be drawn.
- Design Note
|Supported AVRs||Supported Tools|