Getting Started with the MR-ESC-AM32

最終更新日時: Nov 4, 2026 new サポート AM32準拠の電子速度コントローラ

このドキュメントの内容

  • 1

    Out of the Box
  • 2

    Get to Know the Board
  • 3

    Deploy and Run
  • 4

    Plug It In

1. Out of the Box

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

1.1 Kit Contents

The ESC kit’s contents includes:

  • MR-ESC-AM32 board based on the NXP MCXA133 microcontroller running AM32 firmware
  • Programming adapter cable for use with the MCU-LINK-MR

1.2 Additional Hardware

In addition to the kit contents, the following hardware is recommended:

  • MCU-Link-MR / MCU-Link-Pro or Segger J-Link debug probe for flashing
  • A brushless DC motor and a suitable battery/power supply
  • A flight controller (or RC receiver) to drive and configure the ESC

1.3 Minimum System Requirements

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.

  • Linux host PC (Ubuntu 24.04 is recommended) with Docker installed
  • At least 25 GB of free disk space in the Docker storage volume
  • Outbound internet access to fetch the SDK containers and artifacts
  • A USB port for the debug or flashing probe and board power

1.4 Software

Install the following software before working with this board. The SDK orchestrates image download and build; the flashing tool programs the board.

  • NXP Robotic Platforms SDK, a west-based SDK that runs inside the SDK Docker container
  • West meta-tool and Docker installed on the Linux host
  • NXP LinkServer (MCU-Link-MR/CMSIS-DAP) or Segger J-Link to flash the bootloader and application
  • AM32 web configurator  or SerialPortConnector.exe for ESC configuration

2. Get to Know the Board

The MR-ESC-AM32 is a validated ESC starting point that customers can evaluate, reproduce, and customize for their own vehicles.

Figure 1. MR-ESC-AM32 Board

Figure 1. MR-ESC-AM32 Board

2.1 Board Features

The MR-ESC-AM32 offers the following features:

  • NXP MCXA133 Arm® Cortex®-M33 MCU core running the NXP port of the AM32 firmware
  • Six-step commutation using back-electromotive force (BEMF) zero-cross detection
  • RC-PWM, DShot, and bidirectional DShot control interfaces
  • KISS-format serial telemetry (TX) output

2.2 Board Description

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.

2.3 Board Components

The reference design integrates the following primary components and interfaces:

  • NXP MCXA133 MCU (with Arm Cortex-M33) running the AM32 firmware
  • DRV8300N three-phase gate driver and a MOSFET-based power stage
  • Sensorless BEMF-detection network for six-step commutation
  • RC-PWM, DShot and bidirectional DShot control interfaces
  • KISS-format serial telemetry (TX) output
  • Addressable RGB status LED and a modified Pixhawk debug connector
  • Optional Hall-sensor/quadrature-encoder solder pads (hardware provision only)

3. Deploy and Run

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.

3.1 Download or Build the Images

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-mcxa133

Alternatively, you can run the following command to build the images from source:

west sdk build --platform mr-esc-am32-mcxa133

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

3.2 Identify the Image to Flash

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.

3.3 Flash with LinkServer

Device name: MCXA133 (interface SWD, speed 4000 kHz).

  • Flash the bootloader (first time/blank device): LinkServer flash MCXA133 load AM32_A153_BOOTLOADER_PB2_V18.hex
  • Flash the application: LinkServer flash MCXA133 load AM32_FRDM_A153_2.20.hex On Windows the LinkServer path is, for example, C:\NXP\LinkServer_<ver>\LinkServer.exe
  • Reset the ESC; the bootloader chainloads the AM32 application.

3.4 Flash with Segger J-Link (Alternative)

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.

3.5 Configure the ESC

The ESC needs calibration/configuration to match the motor and the flight controller/RC receiver.

  • Flash a flight controller in pass-through mode so the ESC enumerates as a USB/serial port on the PC
  • Open the AM32 web configurator (or use SerialPortConnector.exe) and connect to that port
  • If a config error appears after a full-erase flash, load the default configuration and save to flash, then set the relevant parameters, for example, motor KV (motor-dependent, ~960) and input signal DShot or PWM
  • Configure the applicable motor and input-signal parameters, including the motor speed constant in revolutions per minute per volt (KV) and the DShot or RC-PWM input signal
  • Make sure the flight controller/RC receiver output signal matches the ESC's configured input (PWM or DShot)

4. Plug It In

4.1 Plug It In

Follow these instructions to connect the programming and control hardware for flashing and configuring the MR-ESC-AM32:

  • Connect an MCU-Link-MR, MCU-Link Pro or SEGGER J-Link debug probe to the ESC serial wire debug (SWD) connector for flashing
  • The NXP MCU-Link-MR cable requires pin 3 NOT connected (connectors are otherwise identical); using the wrong cable will fail to connect
  • For configuration, a flight controller flashed in pass-through mode exposes the ESC as a USB/serial port on the host PC
  • Watch connector polarity when switching between the i.MX RT1176 VMU (GND on the top side) and an RC RX unit (GND may be on the bottom side)