This application note demonstrates how to implement the six-step commutation control of brushless direct current(BLDC) motor on the MCXA family of MCUs. The NXP Freedom board FRDM-MC-LVBLDC is used as a hardware platform for the motor control reference solution. The hardware-dependent part of the motor control software is addressed as well, including a detailed peripheral setup and driver description.
- Download and install MCUXpresso IDE V11.9.0 or later.
- Download the code from Git repository: an-mc-bldc-mcxa153.
- MCUXpresso for Visual Studio Code: This example supports MCUXpresso for Visual Studio Code, for more information about how to use Visual Studio Code please refer here.
- FRDM-MCXA153 Development Board.
- FRDM-MC-LVBLDC.
- LINIX 45ZWN24 motor.
- Personal Computer
- USB type-C cable and 12V adaptor.
-
Open MCUXpresso IDE, in the Quick Start Panel, choose Import from Application Code Hub
-
Enter the demo name in the search bar.
-
Click Copy GitHub link, MCUXpresso IDE will automatically retrieve project attributes, then click Next>.
-
Select main branch and then click Next>, Select the MCUXpresso project, click Finish button to complete import.
-
Click Build to start compiling the project.
Connect the FRDM-MC-LVBLDC shield to the J1~J4 arduino connector of FRDM-MCXA153 board. Connect the 3-phase wire of the motor to the J7 connector on FRDM-MC-LVBLDC according to phase sequence(White wide--phaseA; Bule wide--phaseB; Green wide--phaseC). Power the FRDM-MC-LVBLDC board with a 12V adaptor.
Compile the project and use a USB cable to connect to the EVK board via J15 connector. Use MCU-LINK to download program into MCU.
No FAQs have been identified for this project.
Questions regarding the content/correctness of this example can be entered as Issues within this GitHub repository.
Warning: For more general technical questions regarding NXP Microcontrollers and the difference in expected funcionality, enter your questions on the NXP Community Forum
Version | Description / Update | Date |
---|---|---|
1.0 | Initial release on Application Code Hub | February 23 rd 2024 |