Datasheet
Building and debugging the application 
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018 
NXP Semiconductors    11 
6.1.  IAR Embedded Workbench IDE 
The first step is to open the project file. It is in the build_ref_solutions/evkbimxrt1050/iar folder, which 
contains all necessary files. Double-click “pmsm_ref_sol.eww” to open this project. The project opened 
in the IAR Embedded Workbench IDE is fully configured and includes all necessary source and header 
files required by the application, such as startup code, clock configuration, and peripherals 
configuration. 
Figure 5.  IAR IDE workspace 
•  Point 1 in Figure 5 shows the current build configuration. You can choose between the Debug 
RAM and Release FLASH configurations. Each of the two conditions has its own settings 
(described below). 
•  Point 2—the /rtcesl/ library source folder contains the header files for the mathematical and 
control functions used in this project. See www.nxp.com/rtcesl for more information about 
RTCESL. 
•  Point 3—the /sdk/ folder contains the startup routines, system initialization, clock definition, and 
header file for the MCU. It also contains the basic CMSIS routines for interrupt handling. 
•  Point 4—the /src/ folder contains the application source code. The structure of this folder is 










