Spark MAX only driving Brushless motors

Hi,
We have 4 SPARK MAX motor drivers. Two days ago, one of them stopped driving brushed motors. At first, we thought something related to our code or wiring. Later it turned out that not only one but two of our spark max had the exact same issue. After two days of inspections today we have concluded that it is not related to our motors, wiring or code. Both of the sparks drive brushless Neo motor absolutely fine. I have already contacted REV, but the emailing process takes too long and I want to see If anyone had this issue before. If so, learn how they resolved it.

The steps we have followed are(all failed to resolve the issue):

  • Tried 3 CIM motors, 2 of them being brand new.
    *Tried recovery mode
    *Tried running motors through RHC.
    *Tried example codes from REV’s github(Java).
    *~100 power cycles
    *Percussive maintenance
    *Different computers
    *Different Roborios
    *Different PDPs, fuses, etc.
    *Factory reset

Our other two sparks work fine with all brushed and brushless motors we could find.

1 Like

Have you set the spark max to brushed mode? You need to be sure to set it correctly and save those settings - I would do it through the RHC, then try running the motor. Set it, save, it, power cycle it, and read it to make sure the setting sticks.

I suspect you updated the firmware on the Spark Max’s with the new season firmware, and the brushed mode got reset to brushless without you realizing it.

1 Like

Yes, I changed its mode possibly 15-20 times today. I follow the same path as you stated. Set>Burn Flash> Power cycle>reconnect and check settings. Yep, you are correct I updated the firmware to 1.6.1 but after that I changed the settings back to brushed. Thanks for the response.

Seems to me that if the hardware client says it’s in brushed mode while simultaneously treating it as brushless, then that may be something REV needs to take a look at. @Greg_Needel Any idea if this might be a bug in the new firmware, or is there something being missed in the steps listed above, or maybe something else that we aren’t thinking of?

So I guess there was a misunderstanding or my text was confusing(If so let me know so I can edit it). Spark drives brushless motors when configured to brushless mode as intended. But when I set it to brushed mode it does get the signal to run (green or red light flashing on spark) and it thinks it is outputing power(it outputs 8.smth volts) but actually the motor doesn’t spin.

Great clarification… I think I may have just made an assumption when it wasn’t stated :slight_smile:

Just to verify (Since I had also assumed everything was wired correctly), your brushed motors are connected using the Red/Black outputs on the Spark Max, not the white one, correct?

Yes, correct. Black wire of the motor to black wire of the spark and red to red.

No bugs that we know of right now. We have a support ticket open through our email system. If we discover anything of note, I will update this thread.

1 Like

How are you creating the object in code? Code changes the brushed/brushless config

1 Like

I don’t think it is related to our code. When I connect the other spark it works just fine. Also I can’t run the motor via Rev hardware client which further eleminates the possiblity of code being the one causing the issue. Thanks for the reply.

Did you use the hardware client while the spark max was connected to the CAN bus? It won’t run in the hardware client if connected to the Rio.

I am aware of the can lockout feature so I always disconnect can cable and power cycle before trying to run it via RHC. Thanks for the reply.

1 Like

UPDATE: REV said they were dead due to their age. Sparks are 1 year old. Idk 1 year lifetime for a 90$ motor controller seems short.

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