2022-01-08 08:19 AM
2022-01-11 01:55 AM
@SDall let’s try to proceed by steps.
First of all what kind of driving method and sensing topology do you want to use?
The board supports 6-step and field oriented control (FOC) algorithms both single o 3-shunt topology.
According to the algorithm, the board hardware configuration must be changed, refer to Table 2 in the user manual UM2415. Please check the proper configuration.
In the same document you can check the hardware setting for the NUCLEO-F302R8 (Figure 7).
Let us know if these configurations are ok according to your application requirements.
2022-01-10 12:30 AM
Hi @SDall,
the suggested SW to your project is the STM32 Motor Control SDK (X-CUBE-MCSDK-Y).
So, focusing on this solution, give us more details on your hardware and software configuration.
Were you able to customize your project and generate the code correctly?
2022-01-10 04:04 AM
hi thanks for your interest, yes the code with sdk has been produced, the debugger has been done correctly, but there is probably something wrong in the hardware configuration of the sdk because the pwm does not start ..... I did the start motor function ....
2022-01-10 04:15 AM
@SDall There is a lot of ways a motor could "not start", describe it a bit more.
Is the motor locked in place? do you feel any resistance or temperature rise over time?
How does it sound like?
2022-01-10 09:51 AM
the motor is blocked, no resistances no noise is like dead does not react. I tried both sdk and softwer spin 16, nothing to do .....
2022-01-11 12:28 AM
@SDall That sounds like a hardware problem, maybe post your Schematics or walks us trough your design a bit.
Also what error messages are you getting? how are you debugging your system?
2022-01-11 01:55 AM
@SDall let’s try to proceed by steps.
First of all what kind of driving method and sensing topology do you want to use?
The board supports 6-step and field oriented control (FOC) algorithms both single o 3-shunt topology.
According to the algorithm, the board hardware configuration must be changed, refer to Table 2 in the user manual UM2415. Please check the proper configuration.
In the same document you can check the hardware setting for the NUCLEO-F302R8 (Figure 7).
Let us know if these configurations are ok according to your application requirements.
2022-01-11 10:02 PM
hi I have read the manual since I do not have the welding machine I would opt for a 6-step foc configuration, jp4 remains open. tell me how to proceed thanks!
2022-01-24 02:57 AM
@SDall the default configuration (JP4 open) is driving in FOC with triple shunt configuration.
The 6-step is the alternative driving method.
It seems you have some confusion about how you can drive a BLDC motor.
I suggest you to read this white paper: Getting brushless motors under control : techniques, approaches and solutions
Moreover, had you check the configuration of the NUCLEO-F302R8?
Some changes are necessary to drive the X-NUCLEO-IHM16M1 with this control board.
2022-02-02 09:43 AM
hi I think I have taken a few steps forward. now I have replaced the f302rb with the f401re, then the pwm starts, the enable light comes on, the lights of the three phases come on, now the motor does not move but emits a strange noise, but you understand that current is coming. i tried both spin16 software and msdk and the same thing happens, noise but the rotor doesn't move.
thank you