NXP Coprocessor Development

NXP i.MX8 and i.MX9 application processors provide a highly efficient low-power Cortex-M core next to the Cortex-A cores. This general purpose core for low-power processing may increase the battery lifetime, which is an important benefit for many mobile embedded devices.

SoC

Coprocessor

Module series

i.MX 8M Mini / Nano

Cortex-M4

QS8M, QSXM, TX8M

i.MX 8M Plus

Cortex-M7

QSXP, TX8P

i.MX 93

Cortex-M33

QS93, TX93

NXP provides the MCUXpresso SDK to develop on the Arm Cortex-M side. The MCUXpresso SDK brings open source drivers, middleware, reference example applications and documentation to speed up your software development.

The flow is the same on all SoCs — only the memory addresses differ (tables in the guides below):

  1. set up the host toolchain and the MCUXpresso SDK (Development environment setup)

  2. enable the copro distro feature and the karo-copro devicetree overlay in the BSP (Development environment setup)

  3. build a firmware example with the SDK and boot it on the coprocessor (Hello-world on the Cortex-M coprocessor, Multicore RPMsg-Lite demo)

Contents

Topic

Contents

Development environment setup

Host setup: MCUXpresso SDK, GNU toolchain, CMake; BSP setup: copro distro feature and karo-copro overlay

Hello-world on the Cortex-M coprocessor

Build a hello-world firmware and start it on the Cortex-M via U-Boot bootaux (per-SoC TCM addresses)

Multicore RPMsg-Lite demo

RPMsg-Lite multicore demo: Linux <-> Cortex-M communication via /dev/ttyRPMSG30; boot from TCM/DRAM or via remoteproc sysfs