Project file structure
BLDC Control Demo User's Guide, Rev. 6, 06/2020
NXP Semiconductors 15
Figure 13. Assembled Freedom system
4.6.
High-Voltage Platform
To run the BLDC application within the High-Voltage Platform, you need these components:
• Kinetis KV31F High-Voltage Daughter Board (HVP-KV31F512), Kinetis KV46F High-Voltage
Daughter Board (HVP-KV46F150), Kinetis KV58F220M High-Voltage Daughter Board
(HVP-KV58F220M), or Kinetis KE18F High-Voltage Daughter Board (HVP-KE18F).
• High-Voltage Platform (HVP-MC-3PH) (motor not included).
Order all the modules of the High-Voltage Platform from www.nxp.com (or from distributors) and build
the hardware platform for the target application easily.
5. Project file structure
The demo project folder (for example boards\frdmkv11z\demo_apps\mc_bldc) contains these folders and
files:
• IAR folder—contains the configuration files for IAR Embedded Workbench
®
IDE. If IAR
Embedded Workbench for Arm is installed on your computer, open the project using IAR IDE.
• Project files—contains the device-specific files. These files specify the peripheral initialization
routines, motor definitions, and state machines. The source code contains a lot of comments. The
functions of the particular files are explained in this list:
o m1_bldc_appconfig.h—contains the definitions of constants for the application control
processes (parameters of the motor and regulators and constants for the BLDC sensorless
control-related algorithms).