MQX™ USB Host/Device Stack

Universal Serial Bus (USB) is a plug-and-play protocol widely used in embedded devices, ranging from set-top boxes, printers, web and digital cameras to modems, speakers, zip drives, industrial control devices, card readers and cable/DSL modems. Because of its flexibility, simplicity, speed and low-cost, USB connectivity has moved from the PC world to the embedded market. There has been an explosion of plug-and-play, consumer friendly USB peripherals that has resulted in making USB a standard requirement for embedded device products.
NXP provides USB Host/Device software stack as well as USB Class Drivers and implementations designed to speed products to market with advanced USB connectivity. The stack is provided with complete source code, example drivers and documentation. It was designed for integration with the NXP MQX RTOS and is a great way to jump-start USB product development.

Included in MQX products

Key Features

  • USB 1.1 and 2.0 compliant
  • Supports Control, Bulk, and Interrupt transfers
  • Supports low-speed (1.5 Mb/s), full Speed (12Mb/s) and high speed (480 Mb/s) operation
  • Includes device drivers for on-chip device controllers
  • Provides a full range of example USB Class implementation
  • Includes full source code
  • Tightly integrated with the NXP MQX RTOS and MQX File System (MFS)

Key Benefits

Designed for Embedded Applications

  • Specifically designed for adding USB functionality to embedded systems
  • Provides fully compliant USB 1.1 and 2.0 feature set of stacks and drivers

Small Configurable Memory Footprint

  • Designed to fit in a small footprint of 10Kb RAM and with code size of 32Kb

Complete Host/Device Functionality

  • Enables developers to connect a wide range of peripherals to their application
  • Mass storage class driver: allows flash drives to plug into the host system and to be read by the host's file system and is compatible with the MFS FAT File System
  • HID class driver: provides support for Human Interface Devices such as mice, keyboards, and joysticks
  • Hub class driver for USB Host: supports connection of one or more external USB hubs to the system and enables the use of hub-connected devices transparently
  • Communications Device class driver for USB device: supports standard communication ports. An API is provided which allows the embedded device to act as a Virtual Windows COMM port or it can provide a Virtual Windows COMM port that has its input and output connected to a serial port on the embedded device
  • USB Device (CDC)
  • Support for PHDC medical class

MQX Software Components