1. Overview
The Makerbase XDrive series are open-source brushless servo motor controllers based on the ODrive V3.6 hardware interface. They support all features in the 0.5.1 firmware and are designed for product development and movement control applications.


2. Safety Information
WARNING: Do not unplug or insert any interface device (USB, encoder, motor, etc.) while the power is on. Doing so may cause permanent damage to the motherboard.
3. Product Specifications
3.1 Board Parameters

| Parameter | MKS XDrive | MKS XDrive-S | MKS XDrive Mini |
|---|---|---|---|
| Number of drive motors | Two | One | One |
| MOS | NTMFS5C628NLT1G (60V,150A) or HYG025N06LS1C2 (60V,170A) Two in parallel | NTMFS5C628NLT1G (60V,150A) or HYG025N06LS1C2 (60V,170A) Two in parallel | NTMFS5C612NLT1G (60V,235A) Single |
| Onboard SPI encoder | / | / | AS5407P |
| USB interface | TYPE-B | TYPE-B | TYPE-C |
| Heat dissipation method | Heat Sink | Heat Sink | Heat dissipation silicone + aluminum heat sink |
| MCU | STM32F405RGT6 | ||
| Input Voltage | 12 - 56V | ||
| Working Current | 60A | ||
| Peak Current | 120A | ||
| Motor Type | 3-phase BLDC motor | ||
| Encoder Type | TLE5012B/AS5047/AMT10X... | ||
| Interface | USB/UART/PWM/CAN/STP,DIR | ||
| Movement mode | Position/Speed/Torque... | ||
| Braking mode | Resistance/battery recharge | ||
3.2 Motor Parameters (MKS X2212)

| Parameter | Value |
|---|---|
| Motor model | MKS X2212 |
| Input Voltage | 12V |
| Outer diameter of the stator | 22mm |
| The rotor diameter | 27.5mm |
| The number of the rotor | 14 |
| Motor KV value | 980 |
| No load current | 300mA |
| Maximum continuous current | 15A/3S |
| Motor resistance | 133mΩ |
| The encoder | TLE5012B |
3.3 Dimensions


3.4 Package Contents

Package Dimensions:
- Length: 20 cm
- Width: 20 cm
- Height: 5 cm
- Weight: 0.3 kg
4. Setup and Wiring
Proper wiring is essential for the safe and correct operation of your Makerbase XDrive controller. Refer to the specific wiring diagrams for your model.
4.1 MKS XDRIVE Wiring

Key Connections for MKS XDRIVE:
- DC Power: Connect 12-56V power supply to the DC terminals.
- Motors (M0, M1): Connect your 3-phase BLDC motors to the M0 and M1 terminals.
- Resistance: Connect the braking resistor to the designated terminals.
- AUX: Auxiliary connections.
- CAN: CAN bus interface for communication.
- GPIO: General Purpose Input/Output pins (GPIO 1-4, 5V, GND).
- ABZ/HALL: Encoder input for ABZ and Hall sensors.
- SWD: Debugging interface (RST, SWD, SWC, 3.3V).
- SPI: Serial Peripheral Interface (GND, MOSI, MISO, SCK, GPIO_6, 3.3V).
- USB: Connect to a computer for configuration and firmware updates (Type-B).
4.2 MKS XDRIVE-S Wiring

Key Connections for MKS XDRIVE-S:
- DC Power: Connect 12-56V power supply to the DC terminals.
- Motor (A, B, C): Connect your 3-phase BLDC motor to the A, B, C terminals.
- Resistance: Connect the braking resistor to the designated terminals.
- AUX: Auxiliary connections.
- CAN: CAN bus interface for communication.
- GPIO: General Purpose Input/Output pins.
- ABZ/HALL: Encoder input for ABZ and Hall sensors.
- SWD: Debugging interface.
- SPI: Serial Peripheral Interface.
- USB: Connect to a computer for configuration and firmware updates (Type-B).
4.3 MKS XDRIVE Mini Wiring

Key Connections for MKS XDRIVE Mini:
- DC Power: Connect 12-56V power supply to the DC terminals.
- Motor (A, B, C): Connect your 3-phase BLDC motor to the A, B, C terminals.
- Resistance: Connect the braking resistor to the designated terminals.
- AUX: Auxiliary connections.
- CAN: CAN bus interface for communication.
- ABZ/HALL: Encoder input for ABZ and Hall sensors.
- SWD: Debugging interface.
- GPIO: General Purpose Input/Output pins.
- SPI: Serial Peripheral Interface.
- USB: Connect to a computer for configuration and firmware updates (Type-C).
5. Operating Instructions
The Makerbase XDrive controllers are designed to be compatible with ODrive firmware. For detailed operating instructions, including configuration, calibration, and control modes, please refer to the official ODrive documentation and the Makerbase GitHub repository.
- Movement Modes: The controller supports Position, Speed, and Torque control modes.
- Braking: Utilizes resistance or battery recharge for braking.

6. Maintenance
To ensure the longevity and optimal performance of your Makerbase XDrive controller:
- Keep the board clean and free from dust and debris.
- Ensure adequate ventilation and heat dissipation, especially during high-current operation. The included heat sinks should be properly installed.
- Avoid exposing the board to moisture or extreme temperatures.
- Regularly check all connections for tightness and signs of wear.
7. Troubleshooting
If you encounter issues with your Makerbase XDrive controller, consider the following:
- Motor moves in one direction only: This can often be caused by incorrect encoder wiring or configuration. Double-check your encoder connections and ensure the ODrive firmware is correctly configured for your motor and encoder type. Refer to the ODrive documentation for calibration procedures.
- No motor movement: Verify power supply connections and voltage. Check motor wiring for continuity and correct phase connection. Ensure the USB connection is stable and the controller is recognized by your computer.
- Overheating: Confirm that heat sinks are properly installed and that there is sufficient airflow around the board. Reduce motor load or operating current if overheating persists.
- Communication issues: Ensure the correct USB drivers are installed. Check the USB cable for damage. For CAN communication, verify bus termination and wiring.
8. User Tips
- Always perform initial setup and calibration with a current limit set to a low, safe value to prevent damage to motors or the controller.
- Utilize the Makerbase GitHub repository for the latest firmware, documentation, and community support.
- When experimenting with new motor configurations, it is advisable to test without a load first.
9. Support & Resources
For further assistance and detailed technical information, please refer to the following resources:
- Makerbase GitHub Repository: https://github.com/makerbase-motor/ODrive-MKS
- Makerbase Lesson (YouTube):
Video: Makerbase ODrive Lesson
- MKS X2212 Motor (if applicable): https://www.aliexpress.us/item/3256805369870943.html