Sign In
Upload
Manuals
Brands
Motorola Manuals
Motherboard
MC68HC908JB8
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 (244 pages)
Universal Serial Bus Evaluation Board Using the MC68HC908JB8
Brand:
Motorola
| Category:
Motherboard
| Size: 1 MB
Table of Contents
Designer Reference Manual - Usb08 Evaluation Board
7
Table of Contents
7
Designer Reference Manual - Usb08 Evaluation Board List of Figures
13
List of Figures
14
Required System Configuration
17
Section 1. USB08 Quick Start
17
Introduction
17
Contents
17
Connecting the Demo Board to the PC
18
Demo Board Connected to the USB Hub
18
Driver Installation
19
Found New Hardware Screen
19
Found New Hardware Wizard Start Screen
20
Locate Driver Files Screen
21
Driver Files Search Results Screen
22
Found New Hardware Wizard Finish Screen
23
Starting the Windows Demo Application
24
Windows Demo Application IO08USB
24
Driver Entry for USB08 in the Device Manager Window
25
Section 2. Hardware Description
27
Introduction
27
Contents
27
MC68HC908JB8 Microcontroller
28
Technical Data
28
Circuit Description
30
MCU Core Circuit and USB Interface
31
Input/Output Functions
32
Section 3. Software Module
32
Monitor Mode Interface
33
Port a Monitor Mode Entry Levels
33
Monitor Mode Cable Pin Configuration
34
User RS232 Port
35
Power Supply
36
Board Layout
36
PCB Component Side Layout Plan
37
Detailed Layout Plan
37
Jumpers and Bridges
38
Jumper Configuration
38
Solder Bridge Placement on Downside of the PCB
39
Solder Bridges Configuration
39
MC68HC908JB8 Memory Map
41
Section 3. Software Module Descriptions
43
General Structure of the M68Hc08 Firmware
44
How to Build the Compiler Project
45
Structure and Dependencies of the Firmware Files
45
Memory Utilization
47
Main Module U08Main.C
48
Interrupt and Reset Vector Module Vecjb8.C
49
Push Button Module U08Key.C
50
C Startup Module Crtsjb8.S
50
Software Adc Module U08Adc.C
52
Led Control with U08Led.h
52
Measurement of Resistor Values Using a Digital Input
52
Rs232 Communication Module U08232.C
54
Usb Communication Module U08Usb.C
56
Compiler Specific Adjustments
57
Section 4. Universal Serial Bus (USB) Interface
59
Characteristics of the Usb08 Reference Design
60
Usb Basics
62
Low-Speed USB Packet Types
62
USB Implementation in the Reference Design
65
Activation of the USB Module
65
Endpoint Configuration
65
USB Address Register (UADDR)
65
USB Control Register 3 (UCR3)
66
MC68HC908JB8 Endpoint Configuration
66
USB Reset
67
USB Interrupt Register 0 (UIR0)
68
USB Control Register 0 (UCR0)
68
Device Management with Endpoint 0
69
Assignment of the Device Address
69
Enumeration
69
USB Interrupt Register 1 (UIR1)
69
USB Status Register 0 (USR0)
70
USB Control Register 0 (UCR0)
71
Requesting Descriptors
72
USB Address Register (UADDR)
72
Device Configuration
74
STALL Condition
74
Data Communication Via Endpoints EP1 and EP2
75
USB Interrupt Register 1 (UIR1)
75
Transmission of Data
76
Receiving Data
76
USB Status Register 1 (USR1)
76
USB Control Register 1 (UCR1)
77
Host Interaction: Vendor ID and Product ID
78
Windows Device Driver
78
Device Requests
81
Supported Standard Device Requests
81
Appendix A. Supported Standard
81
B.2 Introduction
83
B.1 Contents
83
Appendix B. USB08 Descriptors
83
B.4 Configuration Descriptor
84
B.3 Device Descriptor
84
B.5 Interface Descriptor
85
B.6 Endpoint 1 Descriptor
85
B.7 Endpoint 2 Descriptor
85
B.8 String Descriptors
86
C.1 Contents
89
Appendix C. Source Code Files
89
Hc908Jb8.H
90
U08Usb.h
93
U08232.H
96
U08Led.h
96
U08Main.C
97
U08Desc.C
100
U08Usb.C
104
U08232.C
113
U08Key.C
116
U08Adc.C
117
Vecjb8.C
119
Crtsjb8.S
120
Usb08.Lkf
121
Build.bat
121
Usb08.Map
122
Appendix D. Bill of Materials and Schematic
127
D-1 Bill of Materials for USB08 V 1.01
128
USB08 Evaluation Board Schematic
129
Driver (USBIO)
131
Appendix E. Universal USB Device Driver (USBIO
131
Table of Contents
132
E.1 Contents
132
Contents
133
E.2 Introduction
135
E.3 Overview
135
Introduction
135
Overview
135
E.3.1 Platforms
136
E.3.2 Features
136
Features
136
E.4 Architecture
138
USB Driver Stack
138
Platforms
136
Architecture
138
USBIO Device Objects
140
USBIO Object Model
140
USBIO Pipe Objects
142
USBIO Device and Pipe Objects Example
143
Establishing a Connection to the Device
144
E.4.3 Power Management
146
Power Management
146
Device State Change Notifications
148
E.5 Programming Interface
149
E-1 I/O Operations Supported by the USBIO Device Driver
149
Programming Interface
149
Programming Interface Overview
149
E.5.2 Control Requests
150
Control Requests
150
Ioctl_Usbio_Get_Descriptor
151
Ioctl_Usbio_Set_Descriptor
152
Ioctl_Usbio_Set_Feature
153
Ioctl_Usbio_Clear_Feature
154
Ioctl_Usbio_Get_Status
155
Ioctl_Usbio_Get_Configuration
156
Ioctl_Usbio_Get_Interface
157
Ioctl_Usbio_Store_Config_Descriptor
158
Ioctl_Usbio_Set_Configuration
159
Ioctl_Usbio_Unconfigure_Device
160
Ioctl_Usbio_Set_Interface
161
Ioctl_Usbio_Class_Or_Vendor_In_Request
162
Ioctl_Usbio_Class_Or_Vendor_Out_Request
162
Ioctl_Usbio_Class_Or_Vendor_Out_Request . 163 Ioctl_Usbio_Get_Device_Parameters
164
Ioctl_Usbio_Get_Device_Parameters
164
Ioctl_Usbio_Set_Device_Parameters
165
Ioctl_Usbio_Get_Configuration_Info
166
Ioctl_Usbio_Reset_Device
167
Ioctl_Usbio_Get_Current_Frame_Number
168
Ioctl_Usbio_Set_Device_Power_State
169
Ioctl_Usbio_Get_Device_Power_State
170
Ioctl_Usbio_Get_Driver_Info
171
Ioctl_Usbio_Cycle_Port
172
Ioctl_Usbio_Reset_Device
173
Ioctl_Usbio_Bind_Pipe
174
Ioctl_Usbio_Unbind_Pipe
175
Icotl_Usbio_Reset_Pipe
176
Ioctl_Usbio_Abort_Pipe
177
Ioctl_Usbio_Get_Pipe_Parameters
178
Ioctl_Usbio_Set_Pipe_Parameters
179
Ioctl_Usbio_Pipe_Control_Transfer_In
180
Ioctl_Usbio_Pipe_Control_Transfer_Out
181
Bulk and Interrupt Transfers
182
Layout of an Isochronous Transfer Buffer
183
E.5.3.2 Isochronous Transfers
184
Data Transfer Requests
182
Isochronous Transfers
184
Input and Output Structures
185
Usbio_Driver_Info
186
Usbio_Descriptor_Request
187
Usbio_Feature_Request
188
Usbio_Status_Request
189
Usbio_Status_Request_Data
190
Usbio_Get_Configuration_Data
191
Usbio_Get_Interface
192
Usbio_Get_Interface_Data
193
Usbio_Interface_Setting
194
Usbio_Set_Configuration
195
Usbio_Class_Or_Vendor_Request
196
Usbio_Device_Parameters
198
Usbio_Interface_Configuration_Info
200
Usbio_Pipe_Configuration_Info
202
Usbio_Configuration_Info
204
Usbio_Frame_Number
205
Usbio_Device_Power
206
Usbio_Bind_Pipe
207
Usbio_Pipe_Parameters
208
Usbio_Pipe_Control_Transfer
209
Usbio_Iso_Transfer
210
Usbio_Iso_Packet
212
Usbio_Iso_Transfer_Header
213
E.5.5 Enumeration Types
214
Enumeration Types
214
Usbio_Pipe_Type
214
Usbio_Request_Recipient
215
Usbio_Request_Type
216
Usbio_Device_Power_State
217
E.5.6 Error Codes
218
Error Codes
218
E.6.1 Cusbio Class
220
Cusbio Class
220
E.6.2 Cusbiopipe Class
221
USBIO Class Library
220
Cusbiopipe Class
221
E.6.3 Cusbiothread Class
222
E.6.4 Cusbioreaderclass
222
E.6.5 Cusbiowriter Class
222
Cusbioreaderclass
222
Cusbiothread Class
222
Cusbiowriter Class
222
E.7 USBIO Demo Application
223
E.6.7 Cusbiobufpool Class
223
E.6.6 Cusbiobufclass
223
Cusbiobufclass
223
Cusbiobufpool Class
223
USBIO Demo Application
223
E.7.1.2 Descriptors
224
E.7.1.1 Device
224
Descriptors
224
E.7.1.3 Configuration
225
E.7.1.4 Interface
225
E.7.1.5 Pipes
225
Device
224
Dialog Pages for Device Operations
224
Configuration
225
Interface
225
Pipes
225
E.7.1.7 Feature
226
E.7.1.8 Other
226
Class or Vendor Request
226
Feature
226
Other
226
E.7.1.11 Buffers
227
E.7.1.10 Pipe
227
Buffers
227
E.7.1.13 Read from Pipe to Output Window
228
E.7.1.14 Read from Pipe to File
228
E.7.1.12 Control
228
Dialog Pages for Pipe Operations
227
Pipe
227
Control
228
Read from Pipe to File
228
Read from Pipe to Output Window
228
Automated Installation: the USBIO Installation Wizard
229
Installation Issues
229
Write from File to Pipe
229
Manual Installation: the USBIO Setup Information File
232
Uninstalling USBIO
236
Building a Customized Driver Setup
237
E-3 Registry Parameters Supported by the USBIO Driver
239
Registry Entries
239
E.10 Related Documents
241
Light Version Limitations
241
How to Reach Us
244
Related Documents
241
Advertisement
Advertisement
Related Products
Motorola MCP750
Motorola MC145192EVK
Motorola MC145202EVK
Motorola MC145190
Motorola MC145200
Motorola MC145190EVK
Motorola MC145200EVK
Motorola MC145201EVK
Motorola MC145191EVK
Motorola MC145201
Motorola Categories
Cell Phone
Two-Way Radio
Baby Monitor
Cordless Telephone
Radio
More Motorola Manuals
Login
Sign In
OR
Sign in with Facebook
Sign in with Google
Upload manual
Upload from disk
Upload from URL