Electronic Components Datasheet Search
  English  ▼
ALLDATASHEET.NET

X  

TB054 Datasheet(PDF) 1 Page - Microchip Technology

Part # TB054
Description  An Introduction to USB Descriptors with a Game Port to USB Game Pad Translator Example
Download  10 Pages
Scroll/Zoom Zoom In 100%  Zoom Out
Manufacturer  MICROCHIP [Microchip Technology]
Direct Link  http://www.microchip.com
Logo MICROCHIP - Microchip Technology

TB054 Datasheet(HTML) 1 Page - Microchip Technology

  TB054 Datasheet HTML 1Page - Microchip Technology TB054 Datasheet HTML 2Page - Microchip Technology TB054 Datasheet HTML 3Page - Microchip Technology TB054 Datasheet HTML 4Page - Microchip Technology TB054 Datasheet HTML 5Page - Microchip Technology TB054 Datasheet HTML 6Page - Microchip Technology TB054 Datasheet HTML 7Page - Microchip Technology TB054 Datasheet HTML 8Page - Microchip Technology TB054 Datasheet HTML 9Page - Microchip Technology Next Button
Zoom Inzoom in Zoom Outzoom out
 1 / 10 page
background image
 2004 Microchip Technology Inc.
DS91054C-page 1
TB054
INTRODUCTION
This Technical Brief demonstrates the translation of a
game port game pad to a USB game pad using the
PIC16C765, Microchip's low-speed USB PICmicro®
microcontroller (MCU). The purpose of this Technical
Brief is not only to show the translation of a game pad
to USB, but also to show how to successfully develop
a USB peripheral using the PIC16C765. An under-
standing of USB descriptors is the foundation for
successful USB peripheral development.
USB Basics
All USB communication takes the form of frames sent
over the USB bus. Frames are one-millisecond incre-
ments in which the host schedules what device end-
points it will communicate with. At the scheduled time,
the host and device send one another requests, or
data, in the form of packets, which are limited in length
to eight bytes for low-speed devices. All packets are
sent to and received by the device via endpoints. End-
points are buffers where a device either puts data to
wait for a chance to be sent to the host, or where data
received from the host is stored until the device has a
chance to access the data and utilize it. Low-speed
devices have two endpoints that can be configured by
the device as IN or OUT (with respect to the host).
These are Endpoints 1 and 2. Endpoint 0 is reserved
for control transfers between the host and device. This
is the bidirectional avenue through which the host and
device share administrative data. Enumeration is the
process in which a peripheral describes what type of
device it is to the host, and occurs via Endpoint 0.
USB is a master-slave protocol. In other words, the
host (i.e., PC) directs all communications to and from
the peripherals. Peripherals do not send information to
the host unless the host requests the information. How
does a peripheral tell the host what type of device it is
when it is first connected to the host? The answer lies
in the use of “descriptors,” as described in the following
section.
Descriptors
GENERAL
USB descriptors tend to be the biggest stumbling block
for developers that have been recently introduced to
USB. The purpose of descriptors is to communicate the
identity of a particular peripheral to the host. For
instance, the game pad in this technical brief communi-
cates to the host that it is a two axis, six-button game
pad that sends data to the host via Endpoint 1. A device
does not volunteer this information to the host, rather
the host requests this information when it detects that a
new device has been attached to the USB bus. As
mentioned before, the process in which the host
requests and receives a device's descriptors is called
“enumeration.”
Peripherals have more than one descriptor. Each new
descriptor progressively provides the host more infor-
mation about the peripheral or about other descriptors
to follow. Descriptors can be thought of as a hierarchy.
The first descriptor, the device descriptor, is very gen-
eral and conveys the most basic information about the
device. The next descriptor is more specific, and so on,
until the host finally gains all the information it needs to
communicate effectively with the device.
Game pads fall under the Human Interface Device
(HID) class. Mice, keyboards and LED displays are all
examples of other devices that fall into the HID class.
The HID class is unique in that driver support is sup-
plied automatically by Windows® (Windows 98 second
edition and newer) and the Macintosh® operating sys-
tems. These operating systems will custom build a
driver whenever they detect a new HID peripheral. The
driver is constructed from the data format conveyed in
the report descriptor received from that device. Devel-
oping within the HID class specification is the easiest
way to learn how USB works because the developer
doesn't have to be concerned with writing a driver at the
host end.
Note:
This Technical Brief is the first in a series
of five technical briefs. This series is
meant to familiarize developers with USB.
For the best understanding of USB, read
the briefs in order: TB054, TB055, TB056,
TB057 and TB058.
Author:
Reston Condit
Microchip Technology Inc.
An Introduction to USB Descriptors
with a Game Port to USB Game Pad Translator Example


Similar Part No. - TB054

ManufacturerPart #DatasheetDescription
logo
TAI-SAW TECHNOLOGY CO.,...
TB0541A TAI-SAW-TB0541A Datasheet
221Kb / 7P
   IF SAW Filter 140 MHz (SMD 13.3mmX6.5mm)
logo
Golledge Electronics Lt...
TB0541A GOLLEDGE-TB0541A Datasheet
67Kb / 4P
   SAW Filter 228.1MHz
logo
TAI-SAW TECHNOLOGY CO.,...
TB0547A TAI-SAW-TB0547A Datasheet
284Kb / 4P
   SAW Filter 164.175 MHz F-11
TB0548A TAI-SAW-TB0548A Datasheet
284Kb / 4P
   SAW Filter 165.45 MHz F-11
TB0549A TAI-SAW-TB0549A Datasheet
281Kb / 4P
   SAW Filter 169.2 MHz F-11
More results

Similar Description - TB054

ManufacturerPart #DatasheetDescription
logo
Holtek Semiconductor In...
HT113SA HOLTEK-HT113SA Datasheet
666Kb / 16P
   Casino Game 5-in-1 LCD Game
logo
ON Semiconductor
AND8085 ONSEMI-AND8085 Datasheet
23Kb / 2P
   An Introduction to FST
April, 2002 ??Rev. 0
logo
Holtek Semiconductor In...
HT1136A HOLTEK-HT1136A Datasheet
365Kb / 12P
   Football LCD Game
HT1137A HOLTEK-HT1137A Datasheet
358Kb / 11P
   Motorcycle LCD Game
logo
Sangdest Microelectroni...
SMP4050-12UTG SMC-SMP4050-12UTG Datasheet
282Kb / 5P
   Game Consoles
logo
Holtek Semiconductor In...
HT113AA HOLTEK-HT113AA Datasheet
276Kb / 13P
   StreetfighterS LCD Game
logo
Amphenol Corporation
RJSBE AMPHENOL-RJSBE Datasheet
287Kb / 2P
   Video Game Systems
RJE01 AMPHENOL-RJE01 Datasheet
201Kb / 2P
   Video Game Systems
logo
STMicroelectronics
AN2644 STMICROELECTRONICS-AN2644 Datasheet
1Mb / 64P
   An introduction to LLC resonant
logo
Tripp Lite. All Rights ...
U460-004-4A-C TRIPPLITE-U460-004-4A-C Datasheet
497Kb / 2P
   4-Port USB 3.1 Gen 1 Portable Hub, USB-C to (x4) USB-A, with USB-C Charging Port
More results


Html Pages

1 2 3 4 5 6 7 8 9 10


Datasheet Download

Go To PDF Page


Link URL




Privacy Policy
ALLDATASHEET.NET
Does ALLDATASHEET help your business so far?  [ DONATE ] 

About Alldatasheet   |   Advertisement   |   Contact us   |   Privacy Policy   |   Link Exchange   |   Manufacturer List
All Rights Reserved©Alldatasheet.com


Mirror Sites
English : Alldatasheet.com  |   English : Alldatasheet.net  |   Chinese : Alldatasheetcn.com  |   German : Alldatasheetde.com  |   Japanese : Alldatasheet.jp
Russian : Alldatasheetru.com  |   Korean : Alldatasheet.co.kr  |   Spanish : Alldatasheet.es  |   French : Alldatasheet.fr  |   Italian : Alldatasheetit.com
Portuguese : Alldatasheetpt.com  |   Polish : Alldatasheet.pl  |   Vietnamese : Alldatasheet.vn
Indian : Alldatasheet.in  |   Mexican : Alldatasheet.com.mx  |   British : Alldatasheet.co.uk  |   New Zealand : Alldatasheet.co.nz
Family Site : ic2ic.com  |   icmetro.com