Keil Logo

USB Host Application with File System and Graphical User Interface

This tutorial shows you step-by-step how to create a complete embedded application. The application uses middleware components to read the contents of a text file from an USB memory stick attached to a development board. After pressing the update button this content is shown on the LCD. The following MDK-Professional middleware components are incorporated:

  • USB Host supporting Mass Storage Class (MSC)
  • File System for FAT devices
  • Graphics for displaying a graphical user interface (GUI) using a touch screen

Various CMSIS-Driver connect the application code and the middleware to the device peripherals:

  • USB for attaching the memory stick
  • SPI for connecting the TFT LCD
  • I2C for controlling the touch interface of the display
USB Host Application Setup

 Download The application note explains the required steps to create the USB project on a STM32F429I-Discovery kit. It contains in-depth instructions and all the required code snippets.

These videos explain how to create the application that uses the CMSIS software framework and MDK-Professional Middleware:

Step 1: Introduction and Project Setup


Step 2: Add a Real-Time Operating System

Step 3: Add USB Host Support

Step 4: Add the Graphics Component

Step 5: Design the GUI

Step 6: Add Touch Screen Support

  Arm logo
Important information

This site uses cookies to store information on your computer. By continuing to use our site, you consent to our cookies.

Change Settings

Privacy Policy Update

Arm’s Privacy Policy has been updated. By continuing to use our site, you consent to Arm’s Privacy Policy. Please review our Privacy Policy to learn more about our collection, use and transfers
of your data.