Skip to content

Latest commit

 

History

History
69 lines (56 loc) · 3.42 KB

README.md

File metadata and controls

69 lines (56 loc) · 3.42 KB

USB Device Middleware Library

Overview

The USB Device middleware provides a full-speed USB 2.0 Chapter 9 specification compliant device framework. It uses the USBFS driver from CAT1A/CAT2 Peripheral Driver Library to interface with the hardware. The middleware provides support for Audio, CDC, HID and Vendor classes. It also enables implementing support for other classes. The USB Configurator tool makes it easy to construct a USB Device descriptor.

Features

  • USB Full-Speed Device Framework
  • USB Device Configurator
  • The following USB Classes are supported:
    • Audio Class
    • CDC: Communication Device Class
    • HID: Human Interface Device
  • Adding Custom Class Support
  • Vendor-Specific Requests Support
  • Power Status Reporting for Self-Powered Devices
  • Blocking API Timeout Function Redefinition
  • Compliance with MISRA-C:2012 coding standard

USB Device Specific Instructions

The user must ensure that the parameters selected in the USB Device personality are aligned with the descriptor configuration in the USB Configurator, because there is no connection between the USB Device personality in the Device Configurator and USB Configurator.

Specifically, parameter "Endpoints Mask" in the USB personality must be aligned with the endpoints selected in the USB Configurator. If DMA Automatic mode is selected, parameter "Endpoint Buffer Size" must be aligned with the total size of the endpoint buffers allocated in the USB Configurator.

Quick Start

Configure the USB Device using the ModusToolbox™ USB Device personality and USB Device Configurator. Refer to the API Reference Quick Start Guide

More information

The following links provide more information:


© 2019-2021, CYPRESS™ Semiconductor Corporation (an Infineon company) or an affiliate of CYPRESS™ Semiconductor Corporation.