2024-10-17 05:17 AM
Hi,
I’m facing an issue with ST Motor Control Workbench version 5.4.8. After configuring everything, I tried generating the code, but I encountered a generation failure. I checked all configurations, and there are no clear error messages explaining the issue.
I’ve also tried using the latest version of Motor Control Workbench, where the code generation works correctly, but the program still shows errors when running on the hardware.
Here are the details of my setup:
Could this be a version mismatch with the firmware libraries, or is there a specific version of Motor Control Workbench that’s known to work best with the STM32F303VC?
I’m attaching a screenshot of the error. Any advice or guidance on how to resolve the generation failure or which version to use would be greatly appreciated.
Thanks & regards,
Sankar
2024-10-17 06:39 AM
Hello @Sankar_1,
Concerning the error messages during generation with ST Motor Control Workbench version 5.4.8, if it goes until main.c file generation, please proceed with generated project.
Concerning the errors when running on the hardware, please refer to user manual documentation available through "Workbench6.x tool">About>Documentations>Documentation>"User manual" tab>"Firmware errors" link
2024-10-18 12:29 AM
Hi GMA,
I’m working with a custom power board based on the STM32F303VCT6. After configuring everything and generating the code, I’m facing a connection failure, and there’s no response from the hardware.
I have only connected the PWM pins, current sensing pins, and hall sensor pins on the custom board. When I connect through UART, the connection is established.
My question is:
Any guidance on resolving the connection issue would be greatly appreciated.
Thanks
Sankar
2024-10-18 04:59 AM
I’m working with a custom power board based on the STM32F303VCT6. After configuring everything and generating the code in ST MotorControl Workbench 5.4.8, the generation completes with some errors, but I was able to build and flash the code to the board.
However, I’m encountering an issue where the PWM is not generating as expected. I’ve called the MotorControl API function MC_StartMotor1();, but there are no PWM pulses on the output pins. My custom board has only the PWM pins, current sensing pins, and hall sensor pins connected.
Thanks
Sankar
2024-10-21 10:12 PM
I’m still facing the issue where PWM is not generating on my custom board, even after calling MC_StartMotor1();. I’ve checked all the connections (PWM, current sensing, and hall sensor pins), but the motor doesn’t run, and there are no PWM pulses on the output pins.
Also, could someone clarify which MCSDK version is best for my setup? I’ve tried different versions, but I want to make sure I’m using the right one.
Any advice on what might be wrong or what to check next would be really helpful. Should I focus on specific configurations in MotorControl Workbench or the generated code?
Thanks &Regards
Sankarapandi M