お客様の素早い設計とより早い製品化を実現する、技術情報と専門知識をご紹介します。
1
Out of the Box2
Get to Know the Board3
Deploy and Run4
Plug It InThe MR-ESC-AM32 is the electronic speed controller (ESC) reference design of the NXP Mobile Robotics family. It is a brushless DC (BLDC) motor controller based on the open-source AM32 firmware and implemented with an NXP MCX A microcontroller, for drones, robotic vehicles, and other applications requiring sensorless BLDC motor control under the direction of an external flight controller. This guide shows how to download or build the firmware, flash it, and configure the ESC.
This guide will walk you through how to download or build the firmware, flash it and configure the ESC. For more information, see the MR-ESC-AM32 documentation .
The ESC kit’s contents includes:
MCU-LINK-MRSomething went wrong! Please try again.
In addition to the kit contents, the following hardware is recommended:
Something went wrong! Please try again.
A Linux host PC is required to run the SDK toolchain. Downloading and building images are done inside a Docker container built from the SDK Dockerfile, so Docker must be installed and the host must have outbound network access.
Something went wrong! Please try again.
Install the following software before working with this board. The SDK orchestrates image download and build; the flashing tool programs the board.
SerialPortConnector.exe for ESC configuration
Something went wrong! Please try again.
The MR-ESC-AM32 is a validated ESC starting point that customers can evaluate, reproduce, and customize for their own vehicles.
The MR-ESC-AM32 offers the following features:
Something went wrong! Please try again.
The controller is built around an NXP MCXA133 microcontroller—an Arm Cortex-M33 MCU running the NXP port of the AM32 firmware. It implements six-step commutation using back-EMF (BEMF) zero-cross detection and accepts RC-PWM, DShot and bidirectional DShot control interfaces.
Something went wrong! Please try again.
The reference design integrates the following primary components and interfaces:
Something went wrong! Please try again.
MR-ESC-AM32 is an AM32 BLDC ESC running on an MCXA133 MCU. Flash the bootloader and the application with LinkServer (MCU-Link-MR/CMSIS-DAP) or Segger J-Link, then configure the ESC over a pass-through serial link.
The images are either downloaded prebuilt or built from source with the SDK. Both commands run inside the SDK Docker container. Prebuilt artifacts are the fastest way to get started.
Download the prebuilt artifacts:
west sdk download --platform mr-esc-am32-mcxa133Alternatively, you can run the following command to build the images from source:
west sdk build --platform mr-esc-am32-mcxa133Artifacts lan in <west topdir>/bin/mr-esc-am32-mcxa133/, next to the robotics-sdk
clone. Run west sdk list for the authoritative platform list. The SDK downloads or builds images but does not flash
them; deployment is done with the board's native tool.
Something went wrong! Please try again.
The AM32 stack produces two images. The bootloader is programmed once; during normal development only the application image needs updating. On a blank device both images must be flashed together. The AM32 version is kept in the filename, so the exact suffix depends on the release.
| Image | Artifact (bin/mr-esc-am32-mcxa133/) |
|---|---|
| AM32 bootloader | AM32_A153_BOOTLOADER_PB2_V18.hex |
| AM32 application | AM32_FRDM_A153_2.20.hex |
.bin and .elf variants are collected alongside each .hex. The
.hex files carry their own load addresses, so no
explicit flash address is needed. Substitute the version that was actually built or downloaded in the flash commands
below.
Something went wrong! Please try again.
Device name: MCXA133 (interface SWD, speed 4000 kHz).
AM32_A153_BOOTLOADER_PB2_V18.hexAM32_FRDM_A153_2.20.hex
On Windows the LinkServer path is, for example, C:\NXP\LinkServer_<ver>\LinkServer.exe
Something went wrong! Please try again.
Run JLink.exe -CommanderScript temp.jlink, where temp.jlink contains:
device MCXA133
si SWD
speed 4000
connect
r
h
erase
loadfile AM32_FRDM_A153_2.20.hex
r
g
exit
To program the bootloader on a blank device, replace the application filename in the loadfile command with the bootloader filename: AM32_A153_BOOTLOADER_PB2_V18.hex.
Something went wrong! Please try again.
The ESC needs calibration/configuration to match the motor and the flight controller/RC receiver.
SerialPortConnector.exe) and connect to that portSomething went wrong! Please try again.
Follow these instructions to connect the programming and control hardware for flashing and configuring the MR-ESC-AM32:
Something went wrong! Please try again.
For additional support, please refer to the following resources: