I’ve been thinking very long about this, and slowly coming to the realization that there are plenty of MOSFETs and current sensors, and all kinds of power boards, but what’s the biggest gap here is a cheap, SimpleFOC-able intelligent driver. I very much dislike the word “intelligent” but it may be applicable in this sense. This is what I came up with, let’s call it Driver DOG!, it combines G031 with 12-volt drivers, current sense, two SPI ports, UART, SWD for programming, an NTC thermistor to measure over-temperature, and an LED to do simple debugging signaling.
You could load SimpleFOC and run in PWM3 with SPI sensor, or I2C sensor, or Serial, and have another SPI for CANBUS or whatever else, you could attach also instead of SPI sensor three halls, whatever you want, the pins are exposed to the left.
I welcome any inputs on this. The only limitation is that you can control only up to 12V MOSFETs with that driver. Controlling high voltage MOSFETs will require different drivers, and PWM6 control, which will lose one of the SPI channels, so no CANBUS. The G031 is really small and the pins don’t allow that, so perhaps you could control only via serial or I2C, or PWM for a high-voltage iteration of that idea.
I’m planning to combine this with the Nano DOG and see if it works.
Size of the driver is 20mm x 20mm, all components are in stock. Pretty cheap, too.
@Andrey_Sabadash , something interesting, the MOSFET drivers I used are specifically designed for UAV.