Brushed and brushless DC motors require different motor control schemes based on the differences in their technology. It is possible to damage the SPARK MAX, the motor, or both if the appropriate motor type isn't configured properly. At the moment, the NEO Brushless Motor and the NEO 550 Brushless Motor are the only FRC-legal brushless motors compatible with the SPARK MAX, so choosing the correct operating mode should be straightforward.
Brushed or brushless motor types can be configured using the Mode Button, CAN, and USB interfaces.
Follow the steps below to switch motor types with the Mode Button. It is recommended that the motor be left disconnected until the correct mode is selected.
Use a small screwdriver, straightened paper clip, pen, or other small implement to press the button. Do not use any type of pencil as the pencil lead can break off inside the SPARK MAX.
Connect the SPARK MAX to the main power, not just USB Power.
The Status LED will indicate which motor type is configured by blinking yellow or blue for Brushed Mode or blinking magenta or cyan for Brushless Mode.
Press and hold the Mode Button for approximately 3 seconds.
After the button has been held for enough time, the Status LED will change and indicate the different motor configuration.
Release the mode button.
Please see the Status LED Patterns guide for information on how to identify the Motor Type configuration by the color of the Status LED!
Follow the steps below to switch motor types with the USB and the REV Hardware Client application. Be sure to download and install the REV Hardware Client application before continuing.
Connect the SPARK MAX to your computer using a USB-C cable.
Open the REV Hardware Client and verify that the application is connected to your SPARK MAX.
On the Basic tab, select the appropriate motor type under the Select Motor Type menu.
Click Burn Flash and confirm the change.
Please see the API Information for information on how to configure the SPARK MAX using the CAN interface.
When the SPARK MAX is receiving a neutral command the idle behavior of the motor can be handled in two different ways: Braking or Coasting.
When in Brake Mode, the SPARK MAX will effectively short all motor wires together. This quickly dissipates any electrical energy within the motor and brings it to a quick stop.
When in Coast Mode, the SPARK MAX will effectively disconnect all motor wires. This allows the motor to spin down at its own rate.
The Idle Mode can be configured using the Mode Button, CAN, and USB interfaces.
Follow the steps below to switch the Idle Mode between Brake and Coast with the Mode Button.
Use a small screwdriver, straightened paper clip, pen, or other small implement to press the button. Do not use any type of pencil as the pencil lead can break off inside the SPARK MAX.
Connect the SPARK MAX to main power, not just USB Power.
The Status LED will indicate which Idle Mode is currently configured by blinking blue or cyan for Brake and yellow or magenta for Coast depending on the motor type.
Press and release the Mode Button
You should see the Status LED change to indicate the selected Idle Mode.
Please see the Status LED Patterns guide for information on how to identify the Idle Behavior configuration by the color of the Status LED!
Follow the steps below to switch the Idle Mode between Brake and Coast with the USB and the REV Hardware Client application. Be sure to download and install the REV Hardware Client application before continuing.
Connect the SPARK MAX to your computer using a USB-C cable.
Open the REV Hardware Client application and verify that the application is connected to your SPARK MAX.
On the Basic tab, select the desired mode with the Idle Mode switch.
Click Burn Flash and confirm the change.
Please see the API Information for information on how to configure the SPARK MAX using the CAN interface.