This year we upgraded our swerve drive from eight sparkmaxes to four sparkmaxes for turning and now four vortexes for drive. We are using the post-recall flexes with newest firmware. Our swerve chassis drove just fine for the past two weeks, on a simple setup of a PDH, Rio, four maxes and four flexes. We didn’t change any of the drive code, and there are no CAN conflicts.
Over the weekend we started adding all of our arm and intake motors (on spark maxes) to the robot, and a strange thing happened. Two of the spark vortex motors driving the swerve modules stopped working. They just sat there with the cyan light solid, indicating brake mode but no communications. In diagnosing the CAN network we couldn’t see any problems, but the other two flexes then stopped working as well while we were trying to diagnose the issue.
We put the robot up on blocks and did the following:
- unplugged every CAN device and verified that we could talk to all of them via the rev client - all flexes and maxes report. The entire bus can be seen on the Rev client from any of the devices.
- double checked each device individually - all spark max driven subsystems work just fine - the swerve modules turn, the intake turns on, etc.
- went to factory defaults on the flexes, then when that didn’t help we booted them in recovery mode and reflashed. Still, the Flexes just sit there in brake mode
There have been several threads on CD with issues like this, but if anyone has any advice, I’d be happy to try it - I’ve seen some comments say that undocking and redocking their flexes fixed a similar problem, and another that noted that once more than a few flexes were on the same robot, they disabled themselves. It sounds like we are seeing something similar, but I can’t find any throughline that could clearly be linked to our problem and suggest a solution. Note - there are no CTRE devices on our robot, so I suspect the previous firmware fix for that particular problem does not help us.
I’m interested in hearing not just about others with problems, but if there are teams with several SparkFlex controllers living in harmony on their bot, and if they have any experience overcoming other issues with the SparkFlex.
Thanks!