You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: src/05-can/01-can-transceivers.md
+21-1Lines changed: 21 additions & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -55,7 +55,7 @@ This creates a significant differential voltage between the two lines. However,
55
55
|**Recessive (1)**|~2.37V |~2.37V |~0.00V |
56
56
|**Dominant (0)**|~2.14V |~1.18V |~0.96V |
57
57
58
-
Note that the recessive voltage (~2.37V) is set by the LCC infrastructure's bias network, not by the transceiver. The exact voltages you observewill depend on your specific transceiver, its supply voltage, and the LCC infrastructure you're using. What matters for reliable communication is the **differential voltage** (CANH - CANL), not the absolute voltage on either line.
58
+
Note that the recessive voltage (~2.37V) is set by the LCC infrastructure's bias network, not by the transceiver. However, the exact voltages you observe—particularly during dominant periods—will vary significantly depending on your transceiver's supply voltage. What matters for reliable communication is the **differential voltage** (CANH - CANL), not the absolute voltage on either line.
59
59
60
60
#### Visualizing the Differential Signal
61
61
@@ -78,6 +78,26 @@ In this capture:
78
78
79
79
The CAN receiver in your transceiver looks only at this differential voltage, not the absolute voltage on either wire. This is why CAN is so reliable in electrically noisy environments like model railroads and industrial settings.
80
80
81
+
#### Comparison: 3.3V vs. 5V Powered Transceivers
82
+
83
+
The transceiver's supply voltage significantly affects the bus voltage levels you'll measure. Here's a comparison showing traffic from a **RR-CirKits Tower-LCC node** (which uses a 5V-powered transceiver):
84
+
85
+

86
+
87
+
In this capture from the Tower-LCC:
88
+
-**CANH** (cyan trace): Rises to **3.43V** during dominant periods
89
+
-**CANL** (yellow trace): Drops to **1.60V** during dominant periods
90
+
-**Differential** (purple trace): Shows a much larger voltage swing (~1.83V vs. ~0.96V from the 3.3V transceiver)
91
+
92
+
**Key observation**: Notice the RC drop visible during recessive periods. Because the Tower-LCC's 5V transceiver pulls CANH higher than our 3.3V transceiver during dominant periods, you can see the bus voltage gradually settling during the recessive (idle) periods as the bias network pulls it back toward ~2.5V. This exponential decay is the cable capacitance discharging through the bias network.
93
+
94
+
**Why this matters**: The 5V-powered transceiver provides:
95
+
-**Larger voltage margins**: The ~1.83V differential is nearly twice as large as the 0.96V from a 3.3V transceiver
96
+
-**Better noise immunity**: Larger voltage swings are more resistant to electrical interference
97
+
-**Improved reliability**: More robust signaling, especially on longer bus runs or in noisy environments
98
+
99
+
If you're building a permanent LCC installation, using a **5V-powered transceiver** (like the MCP2551 or SN65HVD251) instead of a 3.3V version (SN65HVD230) will give you more robust bus performance. The ESP32 can still interface with a 5V transceiver—just use a level shifter on the TX line, or use a transceiver with 3.3V-tolerant logic inputs.
100
+
81
101
### The Transceiver's Role
82
102
83
103
Your transceiver does one essential job: **convert the ESP32's logic signals (0V/3.3V) into differential voltages on the CAN bus**.
0 commit comments