MKS XDRIVE mini V1.0 - SimpleFOC support

Hi guys,

We have been discussing the awesome MKS XDrive Mini boards form Makerbase for some time now. They are really inexpensive and have awesome characteristics.

For those interested in using them with SimpleFOC here is an example platformio code that configures

  • Driver
  • Sensor
  • Motor
  • Serial commander (setup for webcontroller)
  • CAN communication
  • Real-time timer based FOC (loopFOC at 20khz and move at 4kHz)

I’ve also included some CAN communication examples for those that want to use it in the can_scripts section.

This is an amazing board. It could be a much more robust alternative to the B-G431B-ESC1.
So yeah, if someone wants to use it with SimpleFOC and not Odrive firmware this repo is a good starting point.

Have fun!

2 Likes