MCCI now offers USB 3.2 device support for Zephyr RTOS. The package adds a device controller driver for the Synopsys DesignWare USB 3 (DWC3) core to Zephyr’s own device_next USB stack, with the device tree and clock bindings the Zephyr tree lacks, SuperSpeed Gen 1 at 5 Gbit/s and Gen 2 at 10 Gbit/s, and USB bulk streams. Applications written to Zephyr’s USB device API keep working and gain SuperSpeed.
The technology comes from the MCCI USB DataPump®, ported to run as a native Zephyr stack. It is not a port of DataPump itself: it uses Zephyr’s API and build, and brings over what MCCI has learned about USB 3 device controllers in the years since the DataPump first ran on DWC3 silicon.
We brought the package up on the NXP i.MX 8M Plus EVK, running Zephyr 3.7 on the Cortex-M7 core. The 8M Plus controller is Gen 1; it answers a receive with a transmit in 12 microseconds, from the wire through the client task and back. Gen 2 is verified on a customer’s DWC3-based SoC, where loopback against a Linux host sustains 7.8 Gbit/s in each direction. The Gen 1 part does about half that.
MCCI is a Registered Partner in the NXP Partner Program, and MCCI’s USB software has shipped on NXP silicon since the Philips and Freescale days. The NXP partner page lists what runs on the i.MX, i.MX RT, MCX, LPC and Layerscape families today, on INTEGRITY, FreeRTOS, CMSIS-RTOS, RTEMS, Linux, Android and bare metal.
The Zephyr package is licensed in source form. For other DWC3-based SoCs, MCCI ports for a fixed fee or supports your engineers doing the port. Details are on the Zephyr RTOS USB Support page. Questions to sales@mcci.com.