cancel
Showing results for 
Search instead for 
Did you mean: 

Motor control using external microcontroller

MBarr.2
Associate

Hello everyone,

I'm developing a BLDC FOC Control System with STSPIN32F0. I want to control the speed via a host microcontroller. I want to use or PWM and a direction signal or UART. Which of these is the best way to do this? And what is the easiest way to implement this?

Thanks!

1 REPLY 1
KnarfB
Principal III

PWM is analog and unidirectional, fits well to (wireless) RC systems. UART is digital and can be full-duplex, so its more "future proof". Both are not very complicated.

PWM input can be done with a timer channel in input capture mode.