RS-485 Polarity: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 10: | Line 10: | ||
| A || Tracking UART value || High voltage (typically +5 or +3.3) || 1 when line is high, 0 when line is low | | A || Tracking UART value || High voltage (typically +5 or +3.3) || 1 when line is high, 0 when line is low | ||
|- | |- | ||
| B || Non-tracking || || | | B || Non-tracking || Opposite || Opposite | ||
|} | |} | ||
Revision as of 10:38, 17 September 2023
RS-485 comprises two signals, one that 'tracks' the UART logic levels (high voltage == 1, low voltage == 0). The other signal does the opposite. The meaning of these two signals has been polluted by chip and box vendors, which leads to a lot of confusion. A lot of further confusion arises when one considers the UART logic levels vs signal levels and labels. This article attempts to resolve the status without adding to the confusion
Our terminology:
Our Terminology | Description | RS-485 line voltage levels | Data (UART) Representation |
---|---|---|---|
A | Tracking UART value | High voltage (typically +5 or +3.3) | 1 when line is high, 0 when line is low |
B | Non-tracking | Opposite | Opposite |
Labeling found in the field
Comment | Tracking | Non-tracking | Class | Manufacturer examples |
---|---|---|---|---|
Our terminology | A | B | Nominal | BITS |
+ | - | Symbol | BACnet Specification | |
+ | - | Symbol | FT-Click, BASRouter LX | |
B+ | A- | MBS UBR-01 Mk II | ||
U+ | U- | Wikipedia | ||
TI convention | A | B | TI Polarity Conventions |
TI has a very definitive document, but one that has to be read carefully in terms of terminology. Read this document with the following table in mind. Note, according to TI (and our opinion), the Wikipedia article on bus states is WRONG ! :
UART bit | Logic level | A-B (T+ - T-) result | Legacy | RS-485 state | RS-485 A volt | RS-485 B volt |
---|---|---|---|---|---|---|
1 | high | A > B | Mark/Idle | On (0) | high | low |
0 | low | A < B | Space | Off (1) | low | high |