Datasheet
Project file structure
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018
8 NXP Semiconductors
Figure 4. Directory tree
The PMSM package consists of these folders:
• build_ref_solutions.
• freemaster.
• src.
The main project folder /build_ref_solutions/build_single/evkbimxrt1050/ contains these folders:
• iar—for the IAR Embedded Workbench IDE.
• mcux—for the MCUXpresso IDE.
• mdk—for the µVision Keil IDE.
Each folder contains IDE-related configuration files for the PMSM project—project files, output
executable, linker files, and so on. See the step-by-step tutorial on how to open, run, and debug the
PMSM project in Section 6, “Building and debugging application”.
The /freemaster/ folder contains the auxiliary files for the MCAT tool. This folder contains also the
FreeMASTER project file pmsm_ref_sol_single.pmp. Open this file in the FreeMASTER tool and use it
to control the application. This PMSM reference project contains also the motor-identification
algorithms and the scalar-control algorithm which can be used for motor control tuning. See PMSM
Field-Oriented Control on MIMXRT1050 EVK (document AN12169) for more information about the
Motor Control Application Tuning (MCAT) tool.
The /src/ folder contains these subfolders with the source and header files for each project:
• common—contains common source and header files used in other motor-control projects.
• projects—contains the MCU-dependent source code.