DV164126 Microchip Technology, DV164126 Datasheet - Page 19

KIT DEVELOPMENT USB W/PICKIT 2

DV164126

Manufacturer Part Number
DV164126
Description
KIT DEVELOPMENT USB W/PICKIT 2
Manufacturer
Microchip Technology
Datasheets

Specifications of DV164126

Main Purpose
Interface, USB 2.0 Slave
Embedded
Yes, MCU, 8-Bit
Utilized Ic / Part
PIC18F13K50, PIC18F14K50
Primary Attributes
Full Speed (12Mbps), MCU Based
Secondary Attributes
4 Labs: Enumeration, HID Mouse, HID Keyboard, CDC Serial Emulator
Silicon Manufacturer
Microchip
Silicon Core Number
PIC18F14K50, PIC18F13K50
Core Architecture
PIC
Core Sub-architecture
PIC18
Silicon Family Name
Piccolo
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
Lead Free Status / RoHS Status
Lead free / RoHS Compliant, Lead free / RoHS Compliant

Available stocks

Company
Part Number
Manufacturer
Quantity
Price
Part Number:
DV164126
Manufacturer:
Microchip Technology
Quantity:
135
© 2009 Microchip Technology Inc.
EXAMPLE 2-2:
The user is encouraged to take some time and compare the code in the preceding
code examples against the descriptor definitions in the USB Revision 2.0 specification
Section 9-5 “Descriptors”. Comments have been included to make the code intuitive
and easier to reference with the USB specification. Definition sources can be located
by highlighting the definition name and selecting Edit>Find in Files in the MPLAB IDE.
This will locate all instances of the definition within the project and list them in the
Output window.
0x09,//sizeof(USB_CFG_DSC),
USB_DESCRIPTOR_CONFIGURATION,
DESC_CONFIG_WORD(0x0022),
1,
1,
0,
_DEFAULT|_SELF,
50,
/* Interface Descriptor */
0x09,//sizeof(USB_INTF_DSC),
USB_DESCRIPTOR_INTERFACE,
0,
0,
1,
HID_INTF,
BOOT_INTF_SUBCLASS,
HID_PROTOCOL_MOUSE,
0,
/* HID Class-Specific Descriptor */
0x09,//sizeof(USB_HID_DSC)+3,
DSC_HID,
DESC_CONFIG_WORD(0x0111),
0x00,
HID_NUM_OF_DSC,
DSC_RPT,
DESC_CONFIG_WORD(50),
/* Endpoint Descriptor */
0x07,/*sizeof(USB_EP_DSC)*/
USB_DESCRIPTOR_ENDPOINT,
HID_EP | _EP_IN,
_INT,
DESC_CONFIG_WORD(3),
0x01
CONFIGURATION, CLASS SPECIFIC AND INTERFACE
// Country Code (0x00 for Not
// supported)
// Number of class descriptors, see
// usbcfg.h
// Report descriptor type
// sizeof(hid_rpt01),
// Size of the report descriptor
// Endpoint Descriptor
// EndpointAddress
// Attributes
// size
// Interval
// Size of this descriptor in bytes
// CONFIGURATION descriptor type
// Total length of data for this cfg
// Number of interfaces in this cfg
// Index value of this configuration
// Configuration string index
// Attributes, see usbd.h
// Max power consumption (2X mA)
// Size of this descriptor
// in bytes
// INTERFACE descriptor type
// Interface Number
// Alternate Setting Number
// Number of endpoints in this intf
// Class code
// Subclass code
// Protocol code
// Interface string index
// Size of this descriptor in bytes
// HID descriptor type
// HID Spec Release Number in BCD
// format(1.11)
DS41356B-page 15

Related parts for DV164126