DM163010 Microchip Technology, DM163010 Datasheet - Page 43

BOARD DEMO PICDEM USB

DM163010

Manufacturer Part Number
DM163010
Description
BOARD DEMO PICDEM USB
Manufacturer
Microchip Technology
Datasheet

Specifications of DM163010

Processor To Be Evaluated
PlC16C745/765
Interface Type
USB
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant
©
4.1
4.2
2001 Microchip Technology Inc.
Introducing the USB Software Interface
Integrating USB Into Your Application
Chapter 4. Chapter 9 USB Firmware
Microchip provides a layer of software for the PIC16C745/65, which handles
the lowest level interface. This software provides a simple Put/Get interface
for communication so your application won’t have to. Most of the USB pro-
cessing takes place in the background through the Interrupt Service Routine.
From the application viewpoint, the enumeration process and data communi-
cation takes place without further interaction. However, substantial setup is
required in the form of generating appropriate descriptors.
The latest version of the USB interface software is available on Microchip’s
web site (http://www.microchip.com/).
The interface to the application is packaged in five functions: InitUSB,
PutEP1, PutEP2, GetEP1, and GetEP2. InitUSB initializes the USB periph-
eral, allowing the host to enumerate the device. Then, for normal data com-
munications, the PutEPn functions send data to the host and GetEPn
functions receive data from the host.
Since the USB depends heavily on the descriptors, a bit of setup work must
be completed. The descriptors are the software parameters which communi-
cate to the host what the device is and how to communicate with it. See USB
V1.1 Spec., Section 9.5 for more details.
Note:
Wherever the command names PutEPn and GetEPn are used, ’n’
represents the endpoint number.
Figure 4.1: USB Software Interface
PICDEM™ USB User’s Guide
Put
EP1
Main Application
PICmicro MCU
Get
EP1
Init
USB
USB
DS41174A-page 39

Related parts for DM163010