Motorola USB08 User Manual

Page 9

Advertising
background image

Table of Contents

USB08 Evaluation Board

Designer Reference Manual

MOTOROLA

Table of Contents

9

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

Appendix A. Supported Standard Device Requests

Supported Standard Device Requests . . . . . . . . . . . . . . . . . . . 81

Appendix B. USB08 Descriptors

B.1

Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

B.2

Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 83

B.3

Device Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

B.4

Configuration Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 84

B.5

Interface Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .85

B.6

Endpoint 1 Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

B.7

Endpoint 2 Descriptor . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 85

B.8

String Descriptors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 86

Advertising