Skip to main content
Hrishikesh
Associate III
November 13, 2018
Question

Working with the STSPIN32F0

  • November 13, 2018
  • 2 replies
  • 883 views

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.

This topic has been closed for replies.

2 replies

T J
Senior III
November 13, 2018

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

john doe
Senior III
November 13, 2018

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