View Single Post
  #3   Spotlight this post!  
Unread 07-01-2015, 13:47
Kevin Sevcik's Avatar
Kevin Sevcik Kevin Sevcik is online now
(Insert witty comment here)
FRC #0057 (The Leopards)
Team Role: Mentor
 
Join Date: Jun 2001
Rookie Year: 1998
Location: Houston, Texas
Posts: 3,583
Kevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond reputeKevin Sevcik has a reputation beyond repute
Send a message via AIM to Kevin Sevcik Send a message via Yahoo to Kevin Sevcik
Re: Using CAN in a star configuration

First off, no, you don't need or want more than 2 termination resistors. If you add more resistors, you're going to drop the total resistance between the lines, which will cause problems with signal levels.

Second, the recommended topology is a single line terminated at both ends, with the unterminated stubs as short as possible. It is possible to run with unterminated stubs of a non-negligible length, but you need to know some specific details of the CAN drivers to calculate the max length for a single stub, and the max total length of all stubs.

If you were to try such a topology, you'd want the roboRIO at one end of your line, the PDP (with termination resistor) at the other, and you'd want to connect all the other devices directly to the line between the roboRIO and PDP. And keep all the stub lines as short as possible.

Before you try that, though, I think you should look at what you're doing and why you think you need to do it in a star topology. You whole problem could be solved with a few extra wires and connectors. I can't think of a reason each of your outputs couldn't be a line out to (whatever) and then a line back. Your "output to a few Talons" could be line from connection point to a Talon, daisy chain a bunch of Talons, line back to connection point. I don't think you can actually design a star-topology that couldn't be converted into an equivalent straight line topology.
__________________
The difficult we do today; the impossible we do tomorrow. Miracles by appointment only.

Lone Star Regional Troubleshooter