RS-485 Polarity: Difference between revisions

From BACnet Wiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
RS-485 comprises two signals, one that 'tracks' the logic levels (high voltage == 1, low voltage == 0). The other signal does the opposite. The labeling of these two signals has been polluted by chip and box vendors, which leads to a lot of confusion. This article attempts to resolve the status without adding to the confusion
RS-485 comprises two signals, one that 'tracks' the 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:
Line 28: Line 28:
|-
|-
| || U+ || U- || || [https://en.wikipedia.org/wiki/RS-485 Wikipedia]
| || U+ || U- || || [https://en.wikipedia.org/wiki/RS-485 Wikipedia]
|-
| TI convention|| A || B || Example
|-
|-
| Example || Example || Example || Example
| Example || Example || Example || Example
Line 38: Line 40:
|-
|-
| Example || Example || Example || Example
| Example || Example || Example || Example
|}
TI has a very definitive document, but one that has to be read carefully in terms of terminology. There is the document ([https://e2e.ti.com/cfs-file/__key/telligent-evolution-components-attachments/13-143-00-00-00-26-49-60/RS485-_2D00_-Polarity-Conventions.pdfs TI Polarity Conventions]). Read this document with the following table in mind:
{| class="wikitable"
|+ Caption text
|-
|-
| Example || Example || Example || Example
! UART bit !! Logic level !! A-B (T+ - T-) result !! RS-485 state !! RS-485 A volt !! RS-485 B volt
|-
| 1 || high|| A > B|| On || high || low
|-
| 0 || low || A < B || Off || low || high
|}
|}

Revision as of 05:42, 17 September 2023

RS-485 comprises two signals, one that 'tracks' the 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:

Caption text
Our Terminology Description Logic levels Data Representation
T+ Tracking High voltage (typically +5 or +3.3) 1
T- Non-tracking Low voltage (close to 0v) 0


Labeling found in the field

Caption text
Comment Tracking Non-tracking Class Manufacturer examples
Our terminology T+ T- Nominal BITS
+ - Symbol FT-Click, BASRouterLX
B+ A- MBS UBR-01 MkII
U+ U- Wikipedia
TI convention A B Example
Example Example Example Example
Example Example Example Example
Example Example Example Example
Example Example Example Example
Example Example Example Example


TI has a very definitive document, but one that has to be read carefully in terms of terminology. There is the document (TI Polarity Conventions). Read this document with the following table in mind:

Caption text
UART bit Logic level A-B (T+ - T-) result RS-485 state RS-485 A volt RS-485 B volt
1 high A > B On high low
0 low A < B Off low high