USB08 Evaluation Board Designer Reference Manual
MOTOROLA Universal Serial Bus (USB) Interface 59
Designer Reference Manual USB08 Evaluation Board
Section 4. Universal Serial Bus (USB) Interface

4.1 Contents

4.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
4.3 Characteristics of the USB08 Reference Design . . . . . . . . . . .60
4.4 USB Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62
4.5 USB Implementation in the Reference Design. . . . . . . . . . . . .65
4.5.1 Activation of the USB Module. . . . . . . . . . . . . . . . . . . . . . . .65
4.5.2 Endpoint Configuration. . . . . . . . . . . . . . . . . . . . . . . . . . . . .65
4.5.3 USB Reset . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .67
4.6 Device Management with Endpoint 0. . . . . . . . . . . . . . . . . . . .69
4.6.1 Enumeration. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .69
4.6.2 Assignment of the Device Address . . . . . . . . . . . . . . . . . . .69
4.6.3 Requesting Descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . .72
4.6.4 Device Configuration . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
4.6.5 STALL Condition . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .74
4.7 Data Communication via Endpoints EP1 and EP2. . . . . . . . . .75
4.7.1 Receiving Data. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
4.7.2 Transmission of Data . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .76
4.8 Host Interaction: Vendor ID and Product ID. . . . . . . . . . . . . . .78
4.9 Windows Device Driver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .78

4.2 Introduction

The universal serial bus (USB) is an interface for the connection of
peripheral devices, for example, printers, scanners, keyboards, and
pointing devices to a PC or a similar host.