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