bldc_uart_comm_stm32f4_discovery
bldc_uart_comm_stm32f4_discovery copied to clipboard
Queries while using this Library
First and for most,
Thanks for this wonderful architecture.
I successfully got it to run with my BLDC Motor and VESC Driver.
I have three queries though,
-
How to use the ‘bldc_interface_set_duty_cycle()’ function? I successfully got the motor running by calling ‘bldc_interface_set_rpm(2500);’ in a while loop. The motor speed changes based on the erpm set through the function argument (+ve and -ve). However, the motor shows no change if ‘bldc_interface_set_duty_cycle(95)’ is used. What can be the issue? How do I debug this?
-
How do I set a speed/duty-cycle through UART such that it continuously rotates the motor at the set speed/duty cycle? In my case, the motor stops within a second if I don’t call the function regularly.
-
In case I want to control 3 different VESC Motors Drivers through my STM32, what changes would I have to do in your library?
Thank you so much for your support through all these years.