MDK-ARM Keil, MDK-ARM Datasheet - Page 140

KIT REALVIEW MCU DEVELOPMENT

MDK-ARM

Manufacturer Part Number
MDK-ARM
Description
KIT REALVIEW MCU DEVELOPMENT
Manufacturer
Keil
Type
Compiler and IDEr
Datasheets

Specifications of MDK-ARM

For Use With/related Products
ARM MCUs
Lead Free Status / RoHS Status
Lead free / RoHS Compliant
140
Chapter 5. RL-USB Introduction
To make a composite device, it is necessary to first create a project with the core
USB modules. Then we need to add the dedicated class support modules. The
class support and required Endpoints must be enabled in
.
usbcfg.h
Next, you must add together the
descriptors for each class. This
will create three full Interface
descriptors and their associated
Endpoint descriptors. In the
Configuration descriptor, you
must increase the total number of
interfaces. Each interface must
have a unique number. Finally,
you must add the Endpoint code
for each enabled Endpoint and service these from your application.
Exercise: Composite Example
This example demonstrates a composite device, which acts as both a HID device
and a Mass Storage Class in one project.
Compliance Testing
Before releasing your USB device, it is necessary to ensure that it fully meets the
USB specification. A suite of USB compliance tests can be downloaded from the
USB Implementers’ Forum. This software is called the USB command verifier.
It automatically tests your device’s response to the core USB setup commands
and the appropriate device class commands. It is also recommended that you
perform as much plug and play testing with different hosts, hubs, and operating
systems as you would expect to find in the field. You can download the USB
verifier software from www.usb.org/developers/tools.

Related parts for MDK-ARM