Designer Reference Manual USB08 Evaluation Board
8 Table of Contents MOTOROLA
Table of Contents
2.7 Connectors. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2.7.1 Expansion Connector X1 . . . . . . . . . . . . . . . . . . . . . . . . . . .40
2.7.2 Monitor Mode Connector X2 . . . . . . . . . . . . . . . . . . . . . . . .40
2.7.3 User RS232 Connector X3. . . . . . . . . . . . . . . . . . . . . . . . . .41
2.8 Memory Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .41
Section 3. Software Module Descrip tions
3.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
3.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .43
3.3 General Structure of the M68HC08 Firmware . . . . . . . . . . . . .44
3.4 How to Build the Compiler Project . . . . . . . . . . . . . . . . . . . . . .45
3.5 Main Module U08MAIN.C. . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
3.6 Interrupt and Reset Vector Module VECJB8.C. . . . . . . . . . . . .49
3.7 C Startup Module CRTSJB8.S. . . . . . . . . . . . . . . . . . . . . . . . .50
3.8 Push Button Module U08KEY.C. . . . . . . . . . . . . . . . . . . . . . . .50
3.9 LED Control with U08LED.H. . . . . . . . . . . . . . . . . . . . . . . . . . .52
3.10 Software ADC Module U08ADC.C. . . . . . . . . . . . . . . . . . . . . .52
3.11 RS232 Communication Module U08232.C. . . . . . . . . . . . . . . .54
3.12 USB Communication Module U08USB.C. . . . . . . . . . . . . . . . .56
3.13 Compiler Specific Adjustments. . . . . . . . . . . . . . . . . . . . . . . . .57
Section 4. Universal Serial Bus (USB) Interface
4.1 Contents. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
4.2 Introduction. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .59
4.3 Characteristics of the USB08 Reference Design . . . . . . . . . . .60
4.4 USB Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .62