Go to GlobalSpec.com Home
Alert   Product Alerts
Keep current on the latest products, new suppliers, and technical articles of interest to you. (See Topics)

USB Embedded Host Stack Programmer's Guide

From Microchip Technology, Inc.
 

 

AN1141 USB Embedded Host Stack Programmer's Guide FEATURES Author: Bud Caldwell Microchip Technology Inc. * Supports USB embedded host applications * Handles device enumeration and configuration * Supports multiple class or "client" drivers INTRODUCTION * Support for hosting multi-function devices The Universal Serial Bus (USB) provides a common * Support for root-port power control interface that greatly simplifies how an end user con- * Provides a simple Application Program Interface nects many types of peripheral devices to a personal (API) computer (PC). Beyond just the PC, many embedded * Provides a simple Client Driver Interface (CDI) systems can take advantage of the USB as a way to connect to a wide variety of peripherals. * Uses a table-driven method to implement the host's Targeted Peripheral List (TPL) Unlike a PC, an embedded host is only required to sup- * Support for control, interrupt, bulk, and port a predefined set of peripherals. Microchip provides isochronous transfers. sample firmware that enables hosts, using supported Microchip microcontrollers, to control some of the most commonly requested types of USB peripheral devices LIMITATIONS (see "References"). * Does not support hubs For cases in which host firmware is not available to * Supports a single USB root port control the type of device required, the Microchip USB * Number of client drivers supported limited only by embedded host firmware stack provides an easy-to- available memoryuse framework that simplifies the development of USB 2.0 compliant embedded hosts. This application note describes how to implement a SYSTEM HARDWARE "client" driver for a USB peripheral using the Microchip The USB firmware stack was developed for the host framework. Use of this framework simplifies imple- following hardware: mentation of firmware for an embedded host and makes it much easier to control almost any type of USB variants of the PIC24 and PIC32 families of peripheral device desired. microcontrollers. ASSUMPTIONS * Working knowledge of C programming language * Familiarity with the USB 2.0 protocol * Familiarity with the USB class or device to be hosted. ® IDE* Familiarity with Microchip MPLAB


Product Announcements
Atmel Corporation - AVR MCUs Combine USB, Battery Charging and Analog
New AVR® microcontrollers combine USB controller and high performance analog features. The ATmega16U4 and ATmega32U4 reduce system cost in battery powered devices such as gaming accessories. (read more)
Sealevel Systems, Inc. - High-Speed Industrial 4- and 7-Port USB 2.0 Hubs
PRODUCT HIGHLIGHTS • USB 2.0 compliant, USB 1.1 and 1.0 compatible • SeaLATCH™ locking USB connectors on 4-port • Powered USB hubs provide 500mA to each downstream port... (read more)
S.I. Tech, Inc. - S.I. Tech Introduces USB 2.0 to Fiber Bit-Driver®
S.I. Tech has developed two new USB 1.1 & 2.0 to Fiber Optic Bit-Drivers. These products allow a computer's USB port to be extended over 500 meters using multimode 50 micron fiber, 275 meters with... (read more)
 

Topics of Interest
AN1176 USB Device Stack for PIC32 Programmer's Guide ASSUMPTIONS Author: Bud Caldwell Microchip Technology Inc. 1. Working knowledge of C programming language 2. Familiarity with the USB 2.0 protocol... (Read More)
AN1140 USB Embedded Host Stack Most USB peripheral devices are divided into Author: Kim Otten categories, called classes. Each class has special Microchip Technology Inc. requirements regarding its... (Read More)
AN1169 USB Mass Storage Class on an Embedded Device FEATURES Author: Sean Justice Microchip Technology Inc. This application note provides key components of an MSD device function driver. The... (Read More)
With the introduction of Microchip's microcontrollers with the USB OTG peripheral, microcontroller applications can easily support USB embedded host functionality. (Read More)
Microcontroller applications can easily support USB embedded host functionality with the introduction of Microchip's microcontrollers with the USB OTG peripheral. Traditionally, personal computers... (Read More)