2020-11-20 09:51 AM
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!
2020-11-21 05:04 AM
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.