Can you point me to any resources for determining slope control for CAN bus? I haven't found anything specific to CAN bus but have gathered some rules of thumb from the basics and RS485. Am I missing anything?
For digital signals we can find the rise time from the bandwidth:
BW = 0.35/tr
The rise time here is the 10% to 90% rise time but if we assume we need to get from 0V to Vm during this rise time we can say
S = Vm/tr
So for a 3.3V signal at 1MHz this is suggesting 350ns rise time and a slew rate of 9.4 V/us. I can pick my slope control resistor Rs.
From the TI RS485 Design Guide resources we can calculate a max stub length from the rise time
Lstub <= tr * v * c
Where LStub = maximum stub length (ft)
tr = driver (10/90) rise time (ns)
v = signal velocity of the cable as factor of c
c = speed of light (9.8 x 10^8 ft/s)
My CAN bus is primarily on PWB with some board to board connectors so I'll assume v of the PWB. v = 1 / sqrt(epsilon) and epsilon is 4.4 so v = 0.4767 so:
Lstub <= 163.5 feet.
So as long as my bus nodes meet this stub requirement everything should be ok? Anything else to consider?