Hi Xiang,
The currently available MC9S12ZVML128_BLDC_Sensorless project was created with much older AMMCLib version (v1.0.2).
So, there may be some issue either with incorrect linking in your project or slightly different API between old and new AMMCLib versions.
Please check whether you reference only one version of library.
Project-Properties-C/C++ Build-Settings-
S12Z Linker-Input-Libraries
S12Z Compiler-Access Paths
S12Z Assembler-Input
If this is OK, please check differences in API (how the functions are defined) between old and new AMMCLib.
I hope it helps you.
Have a great day,
Radek
-----------------------------------------------------------------------------------------------------------------------
Note: If this post answers your question, please click the Correct Answer button. Thank you!
-----------------------------------------------------------------------------------------------------------------------