Bringing Intelligence to the Edge with NXP’s MCX N Microcontrollers for Mobile Robotics

By NXP Semiconductors

Mobile robots (Figure 1) handle several demanding tasks at once, running motors precisely, sensing their surroundings, making decisions locally without waiting on the cloud, and holding all of it within a strict power and thermal budget. Meeting those requirements with separate devices for control, sensing, and machine learning adds cost, board area, and latency at every interface between them. NXP Semiconductors consolidates these functions in its MCX N series microcontrollers, which combine dual-core processing, dedicated machine learning acceleration, and hardware security in a single device built for the intelligent edge.

Image of mobile robot making a deliveryFigure 1: A mobile robot making a delivery. (Image source: Adobe Stock)

Dual-core Cortex-M33 performance

The MCX N series features two Arm® Cortex®-M33 cores running up to 150 MHz, each with TrustZone, a memory protection unit, a floating-point unit, and DSP extensions. The dual-core architecture lets you keep a deterministic real-time control task on one core, while application and communication workloads run on the other. For example, a motor loop holding a fixed update interval will not be disturbed by network traffic or sensor processing competing for the same core. TrustZone adds another division, partitioning secure and non-secure code so that safety-critical firmware remains isolated from the application code running on the same silicon.

Backing the cores is up to 2 MB of dual-bank Flash and up to 512 KB of SRAM, of which 416 KB is protected by error-correcting code that detects and corrects bit errors before they propagate into a control decision. The dual-bank Flash matters most once a robot is deployed, since it lets the device write a firmware update into one bank while continuing to execute from the other. This means that an OTA update never takes the device offline or leaves it in an unrecoverable state if the transfer is interrupted.

On-device machine learning with the eIQ Neutron NPU

The feature that most distinguishes the MCX N is its integrated neural processing unit. Specific members of the family (Figure 2), including the MCX N54x and MCX N94x, carry NXP’s eIQ Neutron NPU, a dedicated machine learning accelerator, while the MCX N23x excludes it for designs that do not require on-chip inference.

MCX N Series Products
Family Flash SRAM CoolFlux DSP USB HS DAC Op amp Flexcomm CAN-FD Packages
N94x 2 MB 416 KB w ECC For N947 2x 12b + 1x 14b 3 10 2 VFBGA184, 9x9mm and HLQFPIOO, 14x14mm
N54x 2 MB 512 KB - 1x 12b - 10 1 VFBGA184, 9x9mm and HLQFPIOO, 14x14mm

Figure 2: The MCX N Series products. (Image source: NXP)

NXP rates the NPU at up to 42 times faster ML inference than the Arm cores alone, at lower energy and with smaller model sizes, while the PowerQuad DSP accelerator speeds up signal-processing tasks such as voice processing by roughly 8 times. For mobile robots, this headroom keeps object classification, anomaly detection, keyword spotting, and predictive maintenance running locally, next to the sensors. Low latency and independence from a network connection are critical. Running inference on the NPU rather than the cores also frees up the Cortex-M33 pair for control and communication tasks, making concurrent sensing and motion practical on the same device.

From trained model to working firmware with eIQ

Hardware alone does not deploy a model, so NXP pairs the NPU with its eIQ machine learning software environment. Within the MCUXpresso SDK, the eIQ Toolkit offers a Neutron Converter Tool that accurately maps quantized TensorFlow Lite models onto the NPU, TensorFlow Lite for Microcontrollers to run inference, and utilities such as the eIQ Time Series Studio for models built on sensor data. Quantization is crucial at this step, because reducing a model to integer arithmetic brings its memory footprint and compute demand within reach of a microcontroller, and the toolchain performs that conversion rather than leaving it to hand-tuning. This means that you get a defined path from a trained model to working firmware, without building a custom deployment flow.

Precise motor control for mobile robotics

Alongside inference, the MCX N handles the motor control that keeps a robot moving, with the MCX N94x carrying the peripherals for it. The MCX N94x includes two enhanced FlexPWM modules, two quadrature decoders for position and speed feedback, and an event generator that offloads time-critical logic from the cores. Supporting these are additional timers and an analog front end of high-speed ADCs, multiple DACs, on-chip op-amps, analog comparators, and a SINC filter.

Field-oriented control depends on sampling phase currents at the correct instant within the PWM cycle. The FlexPWM modules synchronize directly with the ADCs to ensure the timing is repeatable, while quadrature decoders track rotor position without consuming core cycles. The on-chip op-amps and comparators handle current-sense amplification and overcurrent detection that would otherwise require external components, reducing both component count and the board area a robot’s drive stage occupies. Having two independent FlexPWM modules allows a single device to drive two motors, which suits differential drive arrangements in mobile platforms.

Connectivity and integrated security

A robot must communicate with its sensors, its actuators, and often a host controller or network, and the MCX N carries the required interfaces. It supports configurable serial channels through FlexComm, dual CAN FD for in-machine communication, I3C for sensor aggregation, 10/100 Ethernet, and both full-speed and high-speed USB.

On the security side, the MCX N integrates the EdgeLock secure enclave with hardware-based key management, a true random number generator, cryptographic acceleration, and secure boot anchored to an immutable root of trust that verifies firmware authenticity at every startup. PRINCE encrypts external Flash on the fly, and together with tamper detection and the dual-bank Flash and ECC memory noted earlier, the device protects both its code and its data without a separate secure element. For robots working in shared spaces and communicating over networks, building this protection in from the start avoids the cost of retrofitting security once the architecture is settled.

Scaling across the NXP portfolio

The MCX N is the high-performance member of a broader family, so being familiar with the rest of the lineup will help matching a device to an application. The MCX C series sits at the entry point with a Cortex-M0+ at 48 MHz and up to 256 KB of Flash, making it ideal for budget-sensitive designs, while the MCX A steps up to a Cortex-M33 at up to 96 MHz with a motor control subsystem and broader analog integration.

The MCX N series offers the dual-core performance and NPU described here, and the MCX W series adds wireless connectivity for Matter, Thread, Zigbee, and Bluetooth LE, running a 96 MHz Cortex-M33 alongside an independent radio subsystem that keeps connectivity functions off the main core. Because all four series use the same MCUXpresso tools and SDK, you can switch between them without restarting development.

For applications that require more processing than a microcontroller can provide, NXP offers crossover and applications processors. Its i.MX RT series delivers high-frequency Arm Cortex-M7 performance with microcontroller-style usability, while the i.MX 8M Nano (Figure 3) combines quad-core Arm Cortex-A53 cores at up to 1.5 GHz with a Cortex-M7 at up to 750 MHz for Linux-class workloads.

Image of NXP i.MX 8M Nano quad-core applications processorFigure 3: The i.MX 8M Nano quad-core applications processor. (Image source: NXP)

Conclusion

Engineers building mobile robots and other intelligent edge systems can use NXP’s MCX N series to bring control, machine learning, and security into one device, reducing the interfaces they have to design around and shortening the path from prototype to product. Evaluation runs on the MCUXpresso ecosystem, with low-cost FRDM-MCXN236 and FRDM-MCXN947 boards for early software work, and the fuller MCX-N5xx and MCX-N9xx EVKs are available when you need the complete peripheral set in front of you.

To explore the full range of MCX N series microcontrollers, please visit NXP’s product highlight page on DigiKey.

Disclaimer: The opinions, beliefs, and viewpoints expressed by the various authors and/or forum participants on this website do not necessarily reflect the opinions, beliefs, and viewpoints of DigiKey or official policies of DigiKey.

About this author

NXP Semiconductors