Motorola USB08 User Manual
Page 8

Designer Reference Manual
USB08 Evaluation Board
8
Table of Contents
MOTOROLA
Table of Contents
Connectors . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Expansion Connector X1 . . . . . . . . . . . . . . . . . . . . . . . . . . . 40
Monitor Mode Connector X2 . . . . . . . . . . . . . . . . . . . . . . . .40
User RS232 Connector X3. . . . . . . . . . . . . . . . . . . . . . . . . . 41
Memory Map. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 41
Section 3. Software Module Descriptions
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43
General Structure of the M68HC08 Firmware . . . . . . . . . . . . . 44
How to Build the Compiler Project . . . . . . . . . . . . . . . . . . . . . . 45
Main Module U08MAIN.C . . . . . . . . . . . . . . . . . . . . . . . . . . . . .48
Interrupt and Reset Vector Module VECJB8.C. . . . . . . . . . . . . 49
C Startup Module CRTSJB8.S . . . . . . . . . . . . . . . . . . . . . . . . . 50
Push Button Module U08KEY.C . . . . . . . . . . . . . . . . . . . . . . . .50
LED Control with U08LED.H. . . . . . . . . . . . . . . . . . . . . . . . . . . 52
Software ADC Module U08ADC.C . . . . . . . . . . . . . . . . . . . . . . 52
RS232 Communication Module U08232.C. . . . . . . . . . . . . . . . 54
USB Communication Module U08USB.C . . . . . . . . . . . . . . . . . 56
Compiler Specific Adjustments . . . . . . . . . . . . . . . . . . . . . . . . . 57
Section 4. Universal Serial Bus (USB) Interface
Contents . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Introduction . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 59
Characteristics of the USB08 Reference Design . . . . . . . . . . . 60
USB Basics. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 62