Occasionally, when running our Neo through a Spark MAX, we get this message to appear about 8 times in the driver station window:
[CAN SPARK MAX] timed out while waiting for Periodic Status 1
We’re using the Neo to operate a single flywheel on our shooter mechanism. Usually the error doesn’t occur until about 2 and a half minutes into operation when it appears completely unprompted except for the fact that it appears during the operation of our shooter, and when it does show up, it shows up in groups of between 8 and 10 errors, and the “Periodic Status 1” appears between 1 and 4 times at the end of the error message. It doesn’t prevent our robot from running, but when it appears, it prevents us from operating our Spark MAX through PID control.
Our program runs our shooter through percentage control for roughly a second and a half before flipping to PID control as a way to give it a “running start” so the feedback loop doesn’t have to work as hard. After the errors occur, we’re still able to run the motor through percentage control, but as soon as the PID takes over, the motor just stops running entirely.
I have no idea where to start to fix this issue. The lights on the motor controller seem to be complying with what I would consider to be normal behavior. What’s going wrong?