DM164127 Microchip Technology, DM164127 Datasheet - Page 35
![KIT DEVELOPMENT USB 18F14/13K50](/photos/9/4/90419/dm164127_sml.jpg)
DM164127
Manufacturer Part Number
DM164127
Description
KIT DEVELOPMENT USB 18F14/13K50
Manufacturer
Microchip Technology
Specifications of DM164127
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
Company:
Part Number:
DM164127
Manufacturer:
Microchip Technology
Quantity:
135
© 2009 Microchip Technology Inc.
FIGURE 2-7:
2.7.2
This application requires significant changes to the usb_descriptor.c file to configure
the PIC18F14K50 as a CDC device. Note the absence of the report descriptor. The
user is encouraged to spend some time reviewing the usb_descriptor.c file and com-
pare it against the information found in the Universal Serial Bus Class Definitions for
Communications Devices document referenced at the beginning of this chapter. Note
that this lab applies the same firmware found in the CDC – Serial Emulator application
example in Microchip’s Full-Speed USB Firmware Framework application examples
and can be used as a reference for this lab.
1. Create a new project for lab 4, using the Project Wizard, called “Project Lab 4”
2. Right click on the Source Files folder in the Project window and select Create
as was done in the previous labs. The only files added, at this point, will be the
usb_descriptor.c and main.c source files, as well as a new unique descrip-
tor for Lab 4 rm18f14k50.lkr can be found in:
C:\LPCUSBDK_Labs\Lab4_files
Step through to close the Project Wizard. This time, the project will be set up to
resemble the application examples in the Framework using sub-folders to distin-
guish and organize the different source files in the Project window. All remaining
source/header files will be added from the Project window.
Subfolder...
mCDCUsartTxlsBusy()==0
CDC_TX_COMPLETING
Procedure
CDC_TX_READY
CDCTXSERVICE( ) STATE DIAGRAM
CDC_BULK_BD_IN.Cnt <Max EP Size
cdc_tx_len==0
CDC_BULK_BD_IN.Cnt==0
CDC_BULK_BD_IN.Cnt <Max EP Size
CDC_TX_BUSY_ZLP
CDC_TX_BUSY
cdc_tx_len==0
DS41356B-page 31
cdc_tx_lenl=0