2021-05-25 09:07 AM
Hi All.
Does anyone know about a simple sample code to drive bldc motor with sinusoidal control?
I only want to know the way how to setting PWM and update the PWM output.
MCSDK’s output sample code is hard to use and understand, it take time. Something like the device peripheral sample code will suffice.
2021-05-27 07:35 AM
Hi Kenji ,
Please try to study Timer example in STM32Cube FW: "\STM32Cube_FW_G4_V1.4.0\Projects\NUCLEO-G474RE\Examples\TIM\TIM_PWMOutput". Or examples "TIM_DMA", "TIM_DMABurst", ... (some others).
Those examples are about PWM control. Maybe this can help.
Regards
Igor
2021-06-02 09:28 PM
Dear Igor-san
Thank you for the information.
I will check it.
2024-04-29 03:39 AM
Hello @Igor Cesko & @Kenji1 ,
I am unable to find the example code. Could you please send it ?
Regards
Monica
2024-04-29 04:57 AM
Hello @Monica1 ,