Chapter 5
Tools
Install the
FreeMASTER Run-Time Debugging Tool 3.1.2
and one of the following IDEs on your PC to run and control the PMSM
application properly:
•
IAR Embedded Workbench IDE v9.20.2
or higher
•
•
ARM-MDK - Keil μVision version 5.36
For pin_mux.c, clock_config.c or peripherals.c modifications is recommended use
MCUXpresso Configuration Tool v11
or higher.
For information on how to build and run the application in your IDE, see the
Getting Started with MCUXpresso
SDK document located in the pack_motor_<booard>/docs folder or find the related documentation at
.
NOTE
5.1 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 when 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.
• Pa050 - non-native end of line sequence detected.
The Arm-MDK Keil μVision IDE suppresses these warnings:
• 6314 - No section matches pattern xxx.o (yy).
By default, there are no other warnings shown during the compiling process.
NXP Semiconductors
MCUXpresso SDK Field-Oriented Control (FOC) of 3-Phase PMSM and BLDC motors, Rev. 0, 01/2022
User Guide
17 / 50