bldc_uart_comm_stm32f4_discovery icon indicating copy to clipboard operation
bldc_uart_comm_stm32f4_discovery copied to clipboard

Queries while using this Library

Open harsheshgokani opened this issue 2 years ago • 0 comments

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,

  1. 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?

  2. 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.

  3. 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.

harsheshgokani avatar Oct 31 '22 14:10 harsheshgokani