Skip to content
learnFRC.org
programmingreference

CAN Bus Architectures & Topologies

Network topologies, CAN 2.0 vs CAN FD, termination resistance, bus utilization bottlenecks, and status frame optimization.

Modern FRC robots frequently connect 15 to 25 smart motor controllers, absolute encoders, distance sensors, and power distribution devices across the CAN bus (Controller Area Network). Without proper physical topology and transmission rate management, bus saturation leads to packet latency and dropped frames.

MetricRIO Native CAN 2.0CTRE CANivore (CAN FD)
ProtocolClassic CAN 2.0BCAN FD (Flexible Data-rate)
Bitrate1.0 Mbps fixed5.0 Mbps data / 1.0 Mbps arbitration
Data PayloadMax 8 bytes per packetMax 64 bytes per packet
Bus Saturation Point16 to 20 devices (~75% utilization)40+ devices (< 35% utilization)
Hardware CompatibilityAll FRC vendors (CTRE, REV, Kauai Labs, NI)CTRE Phoenix 6 devices only

CAN is a differential two-wire balanced bus:

  • CAN_H (Yellow)
  • CAN_L (Green)

A standard CAN bus requires two 120 Ohm termination resistors placed at the physical opposite ends of the continuous trunk line. Measuring across CAN_H and CAN_L with a multimeter while the robot is powered off should yield a parallel DC resistance of approximately 60 Ohms.

Bus Topology Rules

CAN 2.0 and CAN FD networks require a daisy-chain trunk topology. Star configurations or long stub wires reflect signal waveforms at transmission frequencies, causing frame corruption.


By default, motor controllers broadcast periodic telemetry (stator current, temperature, diagnostic faults) every 10 to 50 ms. For secondary motors or follower actuators, reducing status frame rates preserves bus bandwidth for high-frequency odometry signals:

// Configure high update rate (250 Hz) for drive odometry signals
BaseStatusSignal.setUpdateFrequencyForAll(
250.0,
m_driveMotor.getPosition(),
m_driveMotor.getVelocity()
);
// Reduce non-critical diagnostic signals to 10 Hz
BaseStatusSignal.setUpdateFrequencyForAll(
10.0,
m_driveMotor.getDeviceTemp(),
m_driveMotor.getSupplyVoltage()
);

---\n

Software Self-Test Question 1 of 2

CAN Bus Topology & Diagnostics Check

Verified Sources & Standards

Evergreen Standard Verified: Sep 24, 2026