Skip to content

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.

License

Notifications You must be signed in to change notification settings

nxp-appcodehub/an-mc-bldc-mcxa153

Repository files navigation

NXP Application Code Hub

Sensorless BLDC motor control on MCXA153

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.

Boards: FRDM-MCXA153

Categories: Motor Control

Peripherals: ADC, PWM

Toolchains: MCUXpresso IDE

SDK: SDK_2_14_2_FRDM-MCXA153

Table of Contents

  1. Software
  2. Hardware
  3. Setup
  4. Results
  5. FAQs
  6. Support
  7. Release Notes

1. Software

  • 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.

2. Hardware

3. Setup

  1. Open MCUXpresso IDE, in the Quick Start Panel, choose Import from Application Code Hub

  2. Enter the demo name in the search bar.

  3. Click Copy GitHub link, MCUXpresso IDE will automatically retrieve project attributes, then click Next>.

  4. Select main branch and then click Next>, Select the MCUXpresso project, click Finish button to complete import.

  5. Click Build to start compiling the project.

3.2 Step 2

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.
hardware_connection
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.

4. FAQs

No FAQs have been identified for this project.

5. Support

Project Metadata

Board badge

Category badge

Peripheral badge Peripheral badge

Toolchain badge

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

Follow us on Youtube Follow us on LinkedIn Follow us on Facebook Follow us on Twitter

6. Release Notes

Version Description / Update Date
1.0 Initial release on Application Code Hub February 23 rd 2024

About

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.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published