Datasheet
User interface 
PMSM Field-Oriented Control on MIMXRT1050 EVK, User's Guide, Rev. 0, 05/2018 
NXP Semiconductors    29 
3.  Press and hold the SW4 button and power on the board simultaneously. Release the SW4 button 
after one second. 
4.  After several seconds, a new drive with the “MAINTENANCE” label appears. Drag and drop or 
copy and paste the downloaded firmware file to that drive. After a few seconds, the drive 
disappears. 
5.  Reset the board. 
6.  The firmware is now replaced and you can flash your application to the Hyper Flash. 
6.6.  Compiler warnings 
Warnings are diagnostic messages that report constructions that are not inherently erroneous, and warn 
about potential runtime, logic, and performance errors. In some cases, warnings can be suspended and 
these warnings do not show during the compiling process. One of such special cases is the 
“unused function” warning, where the function is implemented in the source code with its body, but this 
function is not used. This case occurs in situations where you implement the function as a supporting 
function for better usability, but you do not use the function for any special purposes for a while.  
The IAR Embedded Workbench IDE suppresses these warnings: 
•  Pa082—undefined behavior; the order of volatile accesses is not defined in this statement. 
•  Ta022—possible ROM access (<ptr>) from within a __ramfunc function. 
•  Ta023—call to a non __ramfunc function (somefunction) from within a __ramfunc function. 
The Arm-MDK Keil µVision IDE suppresses these warnings: 
•  66—enumeration value is out of the “int” range. 
•  1035—a single-precision operand is implicitly converted to a double-precision operand. 
By default, there are no other warnings shown during the compiling process. 
7. User interface 
The application contains the demo application mode to demonstrate the motor rotation. You may operate 
it either using the user button or FreeMASTER. The MIXMRT1050-EVK board includes the SW8 user 
button associated with a port interrupt (generated whenever the button is pressed). At the beginning of 
the ISR, a simple logic executes and the interrupt flag clears. When you press the button, the demo mode 
starts. When you press the same button again, the application stops and transitions back to the STOP 
state. There is also an LED indication (D18) of the current application state. A continuous green LED 
indicates that the application is in the RUN state, a flashing LED indicates the FAULT state, and the 
LED off indicates the STOP state. 
The other way to interact with the demo mode is to use the FreeMASTER tool. The FreeMASTER 
application consists of two parts: the PC application used for variable visualization and the set of 
software drivers running in the embedded application. The data is transferred between the PC and the 
embedded application via the serial interface. This interface is provided by the OpenSDA debugger 
included in the boards. To run the FreeMASTER application including the MCAT tool, double-click the 
pmsm_ref_sol.pmp file located in the /freemaster/ folder. The FreeMASTER application starts, and the 
environment is created automatically. 










