REV hardware client: CAN Bus unavailable

We’re using CANSparkMaxes for our swerve drive base, when we plugged into the PDH all the motor controllers would show up, but then when we directly connected to some of the individual controllers, it showed CAN bus unavailable.

I have this happen sometimes. I just do a combination of un-plugging/re-plugging the USB-C cable into the SparkMax and restarting the Rev Hardware client.

Normally works for me.

1 Like

so the SparkMax doesn’t really have a problem it’s just bad connection?

I would assume so, as long as you can actually connect to it after re-plugging & restarting the client and it works fine on your robot.

for us the problem did recur. we’ve tried unplugging and replugging several times but it stayed the same for certain SparkMaxes

Have you tried factory resetting them?

No. How do I do that?

Make a diagram of your CAN bus; usually this is a chain, with the roboRIO on one end and the PH/PDP on the other. Those two devices have terminating resistors in them. On the diagram, note which SPARK MAXes are having issues. Look for patterns, or post pictures and the diagram here. CAN wiring issues can lead to this sort of problem…

thank you! we’ll look over the wiring of our CAN bus

1 Like

We had the same problem, so we disconnected one of the SPARK MAX from power and then updated that one. Then we reconnected it back to power and it showed the rest of the SPARK MAXes on the REV hardware client.

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.