Freescale MQX USB Stack for TWR-K24F120M User's Guide

User's guide for compiling and running the Freescale MQX USB stack and examples on the TWR-K24F120M board.


Freescale MQX USB Stack for TWR-K24F120M User's Guide - cover page
Brand
Freescale
Category
Other software
Document type
User Manual
Language
English
Pages
22
File format
PDF
File size
1.2 MB
Published
09 November, 2026
Updated
09 November, 2026
MD5 checksum
1F68C38A6C6F830FB0D48C28B9041635

About this manual

This user's guide for the Freescale MQX USB Stack on the TWR-K24F120M board explains how to compile the USB stack and examples, download a binary image, and run the examples. It lists the required hardware and software, describes the usb_v2 code structure, and gives an IAR step-by-step build and run procedure.

The guide also covers USB stack configuration for device, host, and OTG modes, including the configuration files and settings that require rebuilding the USB library and example projects.

What's inside

  • Read Me First
  • Requirements for Building USB Examples
  • Board jumper settings
  • USB Code Structure
  • Compiling or Running the USB Stack and Examples
  • Step by step guide for IAR
  • USB Stack Configuration
  • Device configuration
  • Host configuration
  • OTG configuration

Specifications

Supported IDE (IAR)IAR Embedded Workbench for ARM Version 6.70.1
Supported IDE (Keil)Keil µVision5 Version 5.0.5.15
Supported compilerGNU Tools for ARM Embedded Processors 4.7 2013Q3
Debugger driverSegger J-Link driver V4.88 or later
USB VBUS jumperJ26 1-2 enables 5V VBUS

Frequently asked questions

What hardware is required for building USB examples?

The required hardware is a TWR-K24F120M board, a J-Link debugger, and USB cables.

Where is the USB stack located in the MQX RTOS release?

It is located in the usb_v2 subfolder of the MQX RTOS root folder.

Which USB example is added in the IAR step-by-step guide?

The guide adds the USB HID mouse device example.

What jumper setting enables 5V VBUS?

J26 1-2 enables 5V VBUS.

Download PDF (1.2 MB)

More Freescale Manuals


View all Freescale manuals →