Skip to main content
MBarr.2
Visitor II
November 20, 2020
Question

Motor control using external microcontroller

  • November 20, 2020
  • 1 reply
  • 482 views

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!

This topic has been closed for replies.

1 reply

KnarfB
Super User
November 21, 2020

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.