USB on-the-go
Host and Device for STM32F105/7xx, STM32F2xx and STM32F4xx



Home Page
STM32 Page


The STM32F105/7xx, STM32F2xx and STM32F4xx USB On-The-Go provides a free and complete firmware package that makes implementation of Host and Device interfaces in STM32 applications quick and easy.
Fully compliant with the Universal Serial Bus Revision 2.0 Specification.

This package includes example  and demonstration software for developing applications using USB full speed and high speed transfer types (control, interrupt, bulk and isochronous).

The aim of the USB OTG Host and Device Library is to provide at least one firmware example demonstration for each USB transfer type. This library is designed for use with the following evaluation boards:
STM3210C-EVAL evaluation board (UM0600) for STM32F105/7 devices 
STM3220G-EVAL evaluation board (UM1057) for STM32F20x devices
STM3221G-EVAL evaluation board (UM1065) for STM32F21x devices
STM3240G-EVAL evaluation board (UM1461) for STM32F40x devices
STM3241G-EVAL evaluation board (UM1460) for STM32F41x devices
This document describes all the components of a USB OTG host and device library, including examples for the following types of devices:
Mass storage, based on the microSD card available on the evaluation boards
HID joystick, based on the embedded joystick on the evaluation boards
Virtual COM port
Direct Firmware Update
Audio (OUT)
Dual Core, based on mass storage and HID examples (available only for)  STM322xG-EVAL and STM324xG-EVAL evaluation boards
And the following examples for hosts
Mass storage, using file explorer, write files and slide show
HID, dynamic support for mice and keyboards
Dual core, for mass storage on the high speed port and HID (keyboards or mice) on the  full speed port
The package also includes an example of a manual dual role device that enables the core to switch between host and device modes depending on user input.

For more details about the Library and examples implementation, please refer to the User manual UM1021.

LINK:
USB OTG that is here

The package use the:
FatFs - File Systems Library



The library is full CMSIS compliant.



Home Page
STM32 Page