PCB Design Check - DRV8311 based BLDC Controller

Hey there Harry
Wanted to give my two cents on your schematic. I’ve made a few dozen boards using the DRV8311. Mostly just the same board several times trying to fix my mistakes lol. A few things I wanted to point out.
I think you have a mistake on the 3.3V supply coming from the DRV8311. The 3.3v regulator will not turn on unless you wake the chip from sleep mode with a logic high signal. In your diagram you’ll power up the 12v supply and then nothing will happen because the drv is still asleep. The stm won’t be able to wake it up since there is no 3.3v supply. I found this one out the hard way…



You might want to break out some UART pins for debugging (TX + RX). Its frustrating not being able to simply read some serial print statements when something isn’t working.
The 3.3v regulator is a linear style and therefore not energy efficient. When you drop from 12v down to 3.3v you have to burn off the remaining 8.7v. If your stm + as5600 draw 60ma then the regulator will be burning (8.7*0.06 = 0.5 watts). I used this before and my circuit was overheating. I had to add a heat sink to keep it running. You might consider doing a dedicated 3.3 linear regulator like the ams1117 which can handle more power dissipation. You can also use it to wake the drv from sleep.
Hope this helps.

Those are some great points. Checking the STM32G031 datasheet, its power consumption is much lower than G431, so it probably can be used with linear regulation. I generally budget 35mA for G431 with some peripherals enabled, but G031 is more like 7mA. AS5600 is 6.5mA, so you're only looking at ~14mA, or 120mW of waste heat, which should be fine. A couple of 0402 resistors can make a voltage divider to wake the DRV with very little board space usage.

–

That’s a great catch, I avoided putting in a dedicated linear regulator to save space but I see now how that might be an issue. It might be worth adding one in for the first prototypes before I can measure the working current draw of the G031 + AS5600. Hopefully I can get away with the voltage divider solution though as board space is already fairly limited.

–

I reckon I will try and add in a small linear regulator, just remembered that my I want to keep an input voltage range of at least 9-12V, so a voltage divider solution will likely fail. As for the point about the UART - I've broken out the UART2 bus to the mezzanine connector, there is going to be a simple daughter board with the connections broken out for programming/Serial wire debug etc. Eventually I am going to use this connector for interfacing with some additional sensors and peripherals as the end goal is a sort of haptic knob.

–