Wired Communications Middleware on NXP Microcontrollers



Wired Communications Middleware MCUXpresso Ecosystem

Wired Communications Middleware MCUXpresso Ecosystem

Libraries and examples provided through MCUXpresso SDK

  • NXP has developed a wide range of wired communications libraries and collaborates with select partners to offer complementary specialist stacks. Each solution is fully integrated into the MCUXpresso SDK and comes with ready-to-use software examples to help you complete an in-depth evaluation and get started with your design.


  • Source code provided
  • Free to use on any NXP device
  • Wide range of USB Device, Host and OTG examples
  • Bare metal or RTOS based

CANopen stacks

  • CANopen stack from EmSA
  • CANopen configuration tools supplied
  • CAN and CAN-FD drivers and examples provided by NXP for use with other protocols
  • Evaluation version provided in MCUXpresso SDK


  • Based on popular, open source LwIP TCP/IP stack
  • Source code provided
  • Several examples included, covering common
  • Bare metal or RTOS based
  • Free to use on any NXP device

USB applications

NXP’s USB host and device libraries are provided with full source code and a wide range of examples. The MCUXpresso SDK default configurations include all of the necessary drivers and several example applications to help you take full advantage of USB features, and the MCUXpresso Peripheral tools enable developers to quickly and easily configure USB drivers for their application needs. Examples are provided as bare metal and RTOS based implementations, with build options for full and high speed USB.

  • USB Device classes/examples
    • Composite Devices (CDC), including mass storage and VCOM
    • Generic Human Interface Device (HID), including mouse and keyboard emulation plus use of suspend/resume
    • Mass storage class and RAM disk
    • Device Firmware Update (DFU)
    • Smart card
    • Audio generators, speakers and combined audio devices
    • Virtual network interface (NIC)
    • Weigh scale
    • Printer
    • Camera
  • USB Host-side class support
    • Composite device
    • Human Interface Device (HID), including use of suspend/resume
    • Audio speaker
    • Mass Storage Device (MSD)
    • Printer (plain text)
    • Video camera
    • Personal Healthcare Device (PHDC)
  • USB type C power delivery
Host Device
Device Family Core Power delivery**
Camera Printer,
K2x M4
K32L2x M0+
K32L3x M4
K6x M4
K8x M4
LPC51U68 M0+
LPC5411x M4 + M0+
LPC54S/540xx M4
LPC54S018JxM M4
LPC546xx M4
LPC551x/S1x M33
LPC552x/S2x M33
LPC55S6x M33 + M33
i.MX RT5xx M33 + Fusion
i.MX RT6xx M33 + HiFi4
i.MX RT101x M7
i.MX RT102x M7
i.MX RT105x M7
i.MX RT106x M7
i.MX RT1170 M7 + M4

**Requires USB PD products from NXP

CAN and CAN-FD applications

NXP has partnered with Embedded Systems Academy (EmSA) to offer CANopen libraries based on its Micro CANopen Plus stack for our CAN/ CAN FD enabled microcontrollers. These libraries are free to use, and available through the MCUXpresso SDK along with fully-functional example applications that implement CANopen devices and managers. EmSA has made their CANopen Architect Software available as a free download to help you go beyond the examples and generate custom configurations. In addition to CANopen, EmSA’s implementations also support CANopen FD which will be available in later in 2020.

  • CANopen Device library and CANopen Manager library
  • Functionality suitable for simple I/O devices and control applications that can pass the official CANopen Conformance Test (extended functionality libraries available from EmSA)
  • Object Dictionary contents can be freely configured using EmSA’s CANopen Architect Standard EDS editor
  • Compatible with CANopen monitoring, configuration or analysis tools such as CANopen Magic

EmSA’s stacks utilize NXP’s CAN and CAN-FD SDK drivers, which are provided with full source code and basic examples.

Device Family* Core CAN drivers CAN-FD drivers EmSA CANopen stack Recommended Evaluation Board(s)
[Click to access SDK]
KE M0+/M4
K6x M4
LPC54S/540xx M4 LPCXpresso54018 + OM13099
LPCXpresso54S018 + OM13099
LPC54S018JxM M4 LPCXpresso54S018M + OM13099
LPC5460x M4 LPCXpresso54628 + OM13099
LPC5461x / 62x M4 LPCXpresso54628 + OM13099
i.MX RT102x M7 MIMXRT1020-EVK
i.MX RT105x M7 MIMXRT1050-EVKB
i.MX RT106x M7 MIMXRT1060-EVK

*Functionality may not be available on all parts in family.

Ethernet applications

NXP’s Ethernet driver and middleware libraries are provided with full source code, with driver and network interface-level applications. Examples are based on the popular, open-source LWIP TCP/IP library, and are provided as bare metal and RTOS based implementations. In addition, full cloud-connected applications are provided for select platforms. Examples provided show use of most commonly used networking elements:

  • HTTP server with and secure HTTP server using MbedTLS and WolfSSL (evaluation version)
  • DHCP and static IP allocation
  • TCP
  • UDP
  • MQTT
Secure server
Device Family* Core
K6x M4
LPC54S/540xx M4
LPC54S018JxM M4
LPC546xx M4
i.MX RT102x M7
i.MX RT105x M7
i.MX RT106x M7