2025-08-11 6:08 PM
hi,
I have set ICL configurations in the MC workbench, but the generated project doesn't include "inrush_current_limiter.h" , "inrush_current_limiter.c" and any related calls, just some ICL parameters macro. What is wrong?
Environment:
MC Workbench: 6.4.1
CubeMX: 6.15.0
CubeIDE: 1.19.0
Firmware Package: 1.6.1
Solved! Go to Solution.
2025-08-13 7:00 AM
Hi Zhouxiang,
Unfortunately, the ICL feature is not currently supported by the 6-step algorithm. We apologize for this inconvenience. Only the FOC algorithm supports this board feature. The MCSDK 6.4.1 WB mistakenly allows you to configure it with the 6-step algorithm.
Modifying your code to manage this feature should not be difficult. In addition to the 6-step project generated with the ICL feature:
One solution is to first replace the following files in the project directory with the attached ones:
Src\mc_config.c and mc_tasks_sixstep.c
Inc\mc_config.h
Add the following files from the library to the project configuration file of your integrated development environment (IDE) for compilation.
MCSDK_v6.4.1-Full\MotorControl\MCSDK\MCLib\Any\Src\inrush_current_limiter.c and digital_output.c
MCSDK_v6.4.1-Full\MotorControl\MCSDK\MCLib\Any\Inc\inrush_current_limiter.h and digital_output.h
Best regards.
Fabrice
2025-08-13 7:00 AM
Hi Zhouxiang,
Unfortunately, the ICL feature is not currently supported by the 6-step algorithm. We apologize for this inconvenience. Only the FOC algorithm supports this board feature. The MCSDK 6.4.1 WB mistakenly allows you to configure it with the 6-step algorithm.
Modifying your code to manage this feature should not be difficult. In addition to the 6-step project generated with the ICL feature:
One solution is to first replace the following files in the project directory with the attached ones:
Src\mc_config.c and mc_tasks_sixstep.c
Inc\mc_config.h
Add the following files from the library to the project configuration file of your integrated development environment (IDE) for compilation.
MCSDK_v6.4.1-Full\MotorControl\MCSDK\MCLib\Any\Src\inrush_current_limiter.c and digital_output.c
MCSDK_v6.4.1-Full\MotorControl\MCSDK\MCLib\Any\Inc\inrush_current_limiter.h and digital_output.h
Best regards.
Fabrice