As I wrote above I just need to learn how to write a working program to control a BLDC motor using STM32CubeIDE. It's a general question, but I do not need more. I am trying to do it by myself for months, but I have no idea how to write my code corre...