WiththeintroductionofMicrochip’smicrocontrollerwith

USBOTG(UniversalSerialBusOn-The-Go)periph-

eral,implementinganembeddedhosthasbecome

easier.USBisusedinseveraltypesofcommunication

devices.TheUSBspecificationdefinesanarchitecture

thatiscapableofsupportingmostcommunication

deviceswhichusetheUSBCommunicationsDevice

Class(CDC).

ThisapplicationnotedescribeshowtodevelopaUSB

CDCapplicationusingaMicrochipUSBOTG

microcontrollerastheembeddedhost.AN1247CommunicationDeviceClass(CDC)HostCommunicationsInterfaceClass(CIC)

通信设备类(CDC)主机

通信设备类(CDC)主机