Logo
25.06.00-pvw1
MCUXpresso SDK Project v: latest
Document Release Versions
24.12.00-pvw2
24.12.00
25.03.00-pvw2
25.03.00
latest

Introduction

  • MCUXpresso SDK
  • Setup

Getting Started

  • Github Repository
  • Zip Package

User Guide

  • Drivers
  • Examples
  • Middlewares
    • Boot
    • Cloud
    • Connectivity
      • USB
        • Steps to migrate from M4 USB project to M0p USB example project for K32
        • Enable More USB Examples on M4 Core for RT1170 or M7 Core for RT1180
        • MCUXpresso SDK USB Stack Composite Device User Guide
        • MCUXpresso SDK USB Type-C Power Delivery Stack User Guide
        • MCUXpresso SDK USB Stack Composite Host User Guide
        • MCUXpresso SDK USB Stack User Guide
          • Overview
          • Build the USB examples in MCUXpresso SDK
          • Porting to a new platform
          • Developing a new USB application
          • USB compliance tests
          • USB host FatFs throughput
          • USB device ramdisk throughput
          • Precautions
      • lwIP
    • eIQ
    • File System
    • Motor Control
    • MultiCore
    • Multimedia
    • Wireless
    • Sensors
  • RTOS
  • Boards

Development

  • Architecture
  • Build And Configuration System
  • Developing with MCUXpresso SDK

Releases

  • Release Notes
mcuxsdk
  • Docs / 25.06.00-pvw1 »
  • Middleware »
  • USB »
  • MCUXpresso SDK USB Stack User Guide
  • Open on Repo Report an issue with this page

MCUXpresso SDK USB Stack User Guide

Table of Contents

  • Overview
  • Build the USB examples in MCUXpresso SDK
    • Requirements for building USB examples
      • Hardware
      • Software
    • USB code structure
    • Compiling or running the USB stack and examples
      • Step-by-step guide for MCUXpresso IDE
      • Step-by-step guide for IAR
      • Step-by-step guide for Keil µVision5
      • Step-by-step guide for ARMGCC
        • Setup tool chains
        • Install GCC Arm embedded tool chain
        • Install MinGW
        • Add new system environment variable ARMGCC_DIR
        • Install CMake
        • Build the USB demo
        • Run a demo application
    • USB stack configuration
      • Device configuration
      • Host configuration
      • USB cache-related MACROs definitions
  • Porting to a new platform
    • System-on-Chip (SoC) files
    • Board files
    • Porting examples
      • Copy a new platform example
      • Porting the example
      • Modify the example project
      • USB host CDC example
      • USB device MSC SD card example
      • USB device audio speaker example
      • USB device CCID Smart card example
  • Developing a new USB application
    • Developing a new USB device application
      • Application interfaces
      • How to develop a new device application
        • Changing the usb_device_descriptor.c file
        • Changing the usb_device_descriptor.h file
        • Changing the application file
    • Developing a new USB host application
      • Background
      • How to develop a new host application
        • Creating a project
        • Main application function flow
        • Event callback function
        • Class initialization
        • Sending/Receiving data to/from the device
  • USB compliance tests
  • USB host FatFs throughput
  • USB device ramdisk throughput
  • Precautions

Copyright 2025, NXP. Last generated on Apr 23, 2025 13:43+0200; branch release/25.06.00-pvw1, revision 37f4823f37be0be386f37b97e43a105ab02ecab1.