2018-11-13 01:22 AM
I'm starting a project working with hoverboard motors and came across this MCU+gate driver combination. How would I go about programming this? I cannot see this chip in CubeMX.
2018-11-13 03:43 AM
what size motor ? diameter and height ?
its 3 phase BLDC yes ?
what Ohms are the windings?
how many poles ?
What voltage do you expect to use ?
you would have to use 40V to get enough power.. @ 600mA MAX,
otherwise, no chance...
Are you happy with trapezoid waveform or are you thinking Sine wave ?
a Sine wave motor has to be a little larger but ends up more efficient..
I dont think the ST part is up to the job..
to answer the question,
I would use the cube with STM32F031C6 processor, and map all existing pins...
IIC easy enough to talk
2018-11-13 03:34 PM
https://www.st.com/en/motor-drivers/stspin32f0.html
on edit: lol now that im home i see that there's a FOC example code. Cube Expansion SPN7 doesn't have one, despite it being the demo shipped on the p-nucleo-ihm001 reference package