The STM32 USB-FS-Device Library provides a free,
complete firmware package that makes implementation of USB-FS-Device
interfaces in STM32 applications quick and easy, that allows
developers to painlessly develop any flavor of USB-FS-Device firmware
including:
- Control transfer with
generic device management tasks
- Interrupt transfer with HID
Mouse/Joystick and Custom HID demos
- Bulk transfer with mass
storage demo
- Isochronous transfer with
Audio speaker/streaming demos
In addition,
the package provides implementation of DFU for firmware updates
on USB-FS-Device, and of the popular Virtual COM (CDC class) for
emulation of a classic RS232 interface on USB-FS-Device.
For more details
about USB-FS-Device Library and demos implementation, please refer to
the User manual "UM0424 STM32F10xxx USB development kit",
available for download from the STMicroelectronics microcontrollers website: www.st.com/stm32
The STM32 USB-FS-Device Library is USB Full Speed certified and full CMSIS compliant. 

The package contains
the following demos:
Note: Most of these demos run on
STMicroelectronics STM3210B-EVAL, STM3210C-EVAL and STM3210E-EVAL
evaluation boards and can be easily tailored to any other hardware. To
select the STMicroelectronics evaluation board used to run the example,
uncomment the corresponding line in platform_config.h
file. Note: All demos provided by STMicroelectronics are compatible and tested with Microsoft Windows 2000, XP, VISTA and Windows 7.
|
|
Audio_Speaker
|
The
USB Audio Speaker demo gives examples of how to use the STM32F10x2/3
USB-FS_Device peripheral to communicate with the PC host in the
isochronous transfer mode. It provides a demonstration of the correct
method for configuring an isochronous endpoint, receiving or
transmitting data from/to the host.
|
|
|
Audio_Streaming
|
The
USB Audio Streaming demo gives examples of how to use the STM32F10x5/7
OTG-FS_Device peripheral to communicate with the PC host in the
isochronous transfer mode. This demo provides possibilities to
configure high audio quality streaming and low CPU charge using the
audio-class I2S peripheral. This demo runs only on STM3210C-EVAL
board
|
|
|
Custom_HID
|
This
Demo provides a description of how to use the USB-FS-Device library on the
STM32 devices. The STM32 device is enumerated as HID compliant device, that uses the native PC Host USB HID driver.
|
|
|
Device_Firmware_Upgrade
|
This
Demo presents the implementation of a device firmware upgrade (DFU)
capability in the STM32 microcontrollers. It follows the DFU class
specification defined by the USB Implementers Forum for
reprogramming an application through USB. The DFU
principle is particularly well suited to USB
applications that need to be reprogrammed in the field.
|
|
|
JoyStickMouse
|
This
Demo provides a description of how to use the USB-FS-Device library on the
STM32 devices. The STM32 device is enumerated as an USB
Joystick Mouse, that uses the native PC
Host USB HID driver. The Joystick mounted on the STM3210B-EVAL,
STM3210C-EVAL and STM3210E-EVAL boards is used to emulate the Mouse
directions.
|
|
|
Mass_Storage
|
This
Demo gives a typical example of how to
use the USB-FS-Device library on the STM32 device to communicate with the PC
host using the bulk transfer. This demo supports the BOT (bulk only
transfer) protocol and all needed SCSI (small computer system
interface) commands.
|
|
|
Virtual_COM_Port
|
In
modern PCs, USB is the standard communication port for
almost all peripherals. However many industrial software applications
still use the classic COM
Port (UART). The Virtual COM
Port Demo provides a simple
solution to bypass this problem; it uses the USB as a
COM port by affecting the legacy PC application designed for COM Port communication.
|
Firmware, software and documents
|
|
|
|