Motorola MC68HC908JB8 Manuals

Manuals and User Guides for Motorola MC68HC908JB8. We have 1 Motorola MC68HC908JB8 manual available for free PDF download: Reference Manual

Motorola MC68HC908JB8 Reference Manual

Motorola MC68HC908JB8 Reference Manual (244 pages)

Universal Serial Bus Evaluation Board Using the MC68HC908JB8  
Brand: Motorola | Category: Motherboard | Size: 1.89 MB
Table of contents
Table Of Contents5................................................................................................................................................................
Section 1. Usb08 Quick Start17................................................................................................................................................................
Contents17................................................................................................................................................................
Introduction17................................................................................................................................................................
Required System Configuration17................................................................................................................................................................
Connecting The Demo Board To The Pc18................................................................................................................................................................
Demo Board Connected To The Usb Hub18................................................................................................................................................................
Driver Installation19................................................................................................................................................................
Found New Hardware Screen19................................................................................................................................................................
Found New Hardware Wizard Start Screen20................................................................................................................................................................
Locate Driver Files Screen21................................................................................................................................................................
Driver Files Search Results Screen22................................................................................................................................................................
Found New Hardware Wizard Finish Screen23................................................................................................................................................................
Starting The Windows Demo Application24................................................................................................................................................................
Windows Demo Application Io08usb24................................................................................................................................................................
Driver Entry For Usb08 In The Device Manager Window25................................................................................................................................................................
Section 2. Hardware Description27................................................................................................................................................................
Technical Data28................................................................................................................................................................
Mc68hc908jb8 Microcontroller28................................................................................................................................................................
Usb08 Evaluation Board29................................................................................................................................................................
Circuit Description30................................................................................................................................................................
Mcu Core Circuit And Usb Interface31................................................................................................................................................................
Input/output Functions32................................................................................................................................................................
Monitor Mode Interface33................................................................................................................................................................
Port A Monitor Mode Entry Levels33................................................................................................................................................................
Monitor Mode Cable Pin Configuration34................................................................................................................................................................
User Rs232 Port35................................................................................................................................................................
Power Supply36................................................................................................................................................................
Board Layout36................................................................................................................................................................
Pcb Component Side Layout Plan37................................................................................................................................................................
Detailed Layout Plan37................................................................................................................................................................
Jumpers And Bridges38................................................................................................................................................................
Jumper Configuration38................................................................................................................................................................
Solder Bridges Configuration39................................................................................................................................................................
Mc68hc908jb8 Memory Map41................................................................................................................................................................
Memory Map41................................................................................................................................................................
Section 3. Software Module Descriptions43................................................................................................................................................................
General Structure Of The M68hc08 Firmware44................................................................................................................................................................
Structure And Dependencies Of The Firmware Files45................................................................................................................................................................
How To Build The Compiler Project45................................................................................................................................................................
Memory Utilization47................................................................................................................................................................
Main Module U08main.c48................................................................................................................................................................
Interrupt And Reset Vector Module Vecjb8.c49................................................................................................................................................................
C Startup Module Crtsjb8.s50................................................................................................................................................................
Push Button Module U08key.c50................................................................................................................................................................
Measurement Of Resistor Values Using A Digital Input52................................................................................................................................................................
Led Control With U08led.h52................................................................................................................................................................
Software Adc Module U08adc.c52................................................................................................................................................................
Rs232 Communication Module U08232.c54................................................................................................................................................................
Usb Communication Module U08usb.c56................................................................................................................................................................
Compiler Specific Adjustments57................................................................................................................................................................
Section 4. Universal Serial Bus (usb) Interface59................................................................................................................................................................
Characteristics Of The Usb08 Reference Design60................................................................................................................................................................
Low-speed Usb Packet Types62................................................................................................................................................................
Usb Basics62................................................................................................................................................................
Usb Implementation In The Reference Design65................................................................................................................................................................
Activation Of The Usb Module65................................................................................................................................................................
Endpoint Configuration65................................................................................................................................................................
Usb Address Register (uaddr)65................................................................................................................................................................
Usb Control Register 3 (ucr3)66................................................................................................................................................................
Mc68hc908jb8 Endpoint Configuration66................................................................................................................................................................
Usb Reset67................................................................................................................................................................
Usb Interrupt Register 0 (uir0)68................................................................................................................................................................
Usb Control Register 0 (ucr0)68................................................................................................................................................................
Device Management With Endpoint 069................................................................................................................................................................
Enumeration69................................................................................................................................................................
Assignment Of The Device Address69................................................................................................................................................................
Usb Interrupt Register 1 (uir1)69................................................................................................................................................................
Usb Status Register 0 (usr0)70................................................................................................................................................................
Requesting Descriptors72................................................................................................................................................................
Device Configuration74................................................................................................................................................................
Stall Condition74................................................................................................................................................................
Data Communication Via Endpoints Ep1 And Ep275................................................................................................................................................................
Receiving Data76................................................................................................................................................................
Transmission Of Data76................................................................................................................................................................
Usb Status Register 1 (usr1)76................................................................................................................................................................
Usb Control Register 1 (ucr1)77................................................................................................................................................................
Host Interaction: Vendor Id And Product Id78................................................................................................................................................................
Windows Device Driver78................................................................................................................................................................
Device Requests81................................................................................................................................................................
Supported Standard Device Requests81................................................................................................................................................................
Appendix A. Supported Standard81................................................................................................................................................................
Appendix B. Usb08 Descriptors83................................................................................................................................................................
B.1 Contents83................................................................................................................................................................
B.2 Introduction83................................................................................................................................................................
B.3 Device Descriptor84................................................................................................................................................................
B.4 Configuration Descriptor84................................................................................................................................................................
B.5 Interface Descriptor85................................................................................................................................................................
B.6 Endpoint 1 Descriptor85................................................................................................................................................................
B.7 Endpoint 2 Descriptor85................................................................................................................................................................
B.8 String Descriptors86................................................................................................................................................................
Appendix C. Source Code Files89................................................................................................................................................................
C.1 Contents89................................................................................................................................................................
Hc908jb8.h90................................................................................................................................................................
U08usb.h93................................................................................................................................................................
U08232.h96................................................................................................................................................................
U08led.h96................................................................................................................................................................
U08main.c97................................................................................................................................................................
U08desc.c100................................................................................................................................................................
U08usb.c104................................................................................................................................................................
U08232.c113................................................................................................................................................................
U08key.c116................................................................................................................................................................
U08adc.c117................................................................................................................................................................
Vecjb8.c119................................................................................................................................................................
Crtsjb8.s120................................................................................................................................................................
Usb08.lkf121................................................................................................................................................................
Build.bat121................................................................................................................................................................
Usb08.map122................................................................................................................................................................
Appendix D. Bill Of Materials And Schematic127................................................................................................................................................................
Bill Of Materials And Schematic127................................................................................................................................................................
D-1 Bill Of Materials For Usb08 V 1.01128................................................................................................................................................................
Usb08 Evaluation Board Schematic129................................................................................................................................................................
Driver (usbio)131................................................................................................................................................................
Appendix E. Universal Usb Device Driver (usbio131................................................................................................................................................................
E.1 Contents132................................................................................................................................................................
E.2 Introduction135................................................................................................................................................................
E.3 Overview135................................................................................................................................................................
E.3.1 Platforms136................................................................................................................................................................
E.3.2 Features136................................................................................................................................................................
E.4 Architecture138................................................................................................................................................................
Usb Driver Stack138................................................................................................................................................................
E.4.1 Usbio Object Model140................................................................................................................................................................
E.4.1.1 Usbio Device Objects140................................................................................................................................................................
E.4.1.2 Usbio Pipe Objects142................................................................................................................................................................
Usbio Device And Pipe Objects Example143................................................................................................................................................................
E.4.2 Establishing A Connection To The Device144................................................................................................................................................................
E.4.3 Power Management146................................................................................................................................................................
E.4.4 Device State Change Notifications148................................................................................................................................................................
E.5 Programming Interface149................................................................................................................................................................
E.5.1 Programming Interface Overview149................................................................................................................................................................
E-1 I/o Operations Supported By The Usbio Device Driver149................................................................................................................................................................
E.5.2 Control Requests150................................................................................................................................................................
E.5.3 Data Transfer Requests182................................................................................................................................................................
E.5.3.1 Bulk And Interrupt Transfers182................................................................................................................................................................
Layout Of An Isochronous Transfer Buffer183................................................................................................................................................................
E.5.3.2 Isochronous Transfers184................................................................................................................................................................
E.5.4 Input And Output Structures185................................................................................................................................................................
E.5.5 Enumeration Types214................................................................................................................................................................
E.5.6 Error Codes218................................................................................................................................................................
E.6 Usbio Class Library220................................................................................................................................................................
E.6.1 Cusbio Class220................................................................................................................................................................
Usbio Class Library220................................................................................................................................................................
E.6.2 Cusbiopipe Class221................................................................................................................................................................
E.6.3 Cusbiothread Class222................................................................................................................................................................
E.6.4 Cusbioreaderclass222................................................................................................................................................................
E.6.5 Cusbiowriter Class222................................................................................................................................................................
E.6.6 Cusbiobufclass223................................................................................................................................................................
E.6.7 Cusbiobufpool Class223................................................................................................................................................................
E.7 Usbio Demo Application223................................................................................................................................................................
E.7.1 Dialog Pages For Device Operations224................................................................................................................................................................
E.7.1.1 Device224................................................................................................................................................................
E.7.1.2 Descriptors224................................................................................................................................................................
E.7.1.3 Configuration225................................................................................................................................................................
E.7.1.4 Interface225................................................................................................................................................................
E.7.1.5 Pipes225................................................................................................................................................................
E.7.1.6 Class Or Vendor Request226................................................................................................................................................................
E.7.1.7 Feature226................................................................................................................................................................
E.7.1.8 Other226................................................................................................................................................................
E.7.1.9 Dialog Pages For Pipe Operations227................................................................................................................................................................
E.7.1.10 Pipe227................................................................................................................................................................
E.7.1.11 Buffers227................................................................................................................................................................
E.7.1.12 Control228................................................................................................................................................................
E.7.1.13 Read From Pipe To Output Window228................................................................................................................................................................
E.7.1.14 Read From Pipe To File228................................................................................................................................................................
E.7.1.15 Write From File To Pipe229................................................................................................................................................................
Installation Issues229................................................................................................................................................................
Automated Installation: The Usbio Installation Wizard229................................................................................................................................................................
Manual Installation: The Usbio Setup Information File232................................................................................................................................................................
Uninstalling Usbio236................................................................................................................................................................
Building A Customized Driver Setup237................................................................................................................................................................
Registry Entries239................................................................................................................................................................
E-3 Registry Parameters Supported By The Usbio Driver239................................................................................................................................................................
E.10 Related Documents241................................................................................................................................................................
E.11 Light Version Limitations241................................................................................................................................................................

Advertising

Share and save

Advertising