Designer Reference Manual - DRM055
High Data Rate Wireless USB Optical Mouse Solution
MOTOROLA
Freescale Semiconductor, Inc.
Figure
1-1
3-1
USB Block Diagram . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 16
3-2
USB Connection. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 17
3-3
USB Packet Types . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 18
4-1
5-1
Firmware Structure. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 21
5-2
Power Management . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22
5-3
Manchester Coding . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 23
5-4
5-5
Start Field . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5-6
Button Status Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5-7
5-8
Checksum Byte . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 24
5-9
5-10
6-1
USB Receiver. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 27
7-1
Firmware Flow . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 30
7-2
7-3
Setup Routine. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7-4
OUT EP0 Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 32
7-5
IN EP0 Handler . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 33
7-6
7-7
7-8
7-9
8-1
8-2
List of Figures and Tables
For More Information On This Product,
Go to: www.freescale.com
List of Figures and Tables
Title
Page
DRM055
7