Hi, WangXuan,
This is the difference of demo_mode and build_ref_solutions.
The PMSM package includes two projects for each board used (“build_demos“ and “build_ref_solutions“). The „build_demos“ project serves for demonstration purposes, and includes only the functions and routines neccessary for motor control. This project includes only the speed Field-Oriented Control (FOC). It does not include automatic Motor Identification Parameters (MID) and other types of motor control, such as scalar or vector control.
The “build_ref_solutions“ project includes all available functions and routines, MID functions, scalar and vector control of the motor, FOC control, and FreeMASTER MCAT project. This project serves for development and testing purposes. Building of a project is described in Section 6, “Building and debugging application”.
In other words, the build_demos is suitable for the specific motor on the website, the build_ref_solutions is suitable for the customer motor, the build_ref_solutions can identifies the motor parameters automatically with MCAT tools internally.
Regarding the failure communication of freemaster, pls check the jumper setting or software configuration.
Hope it can help you
BR
xiangjun Rong