Configuration; Host Device Request Summary - Intel PXA255 Developer's Manual

Intel computer hardware user manual
Hide thumbs Also See for PXA255:
Table of Contents

Advertisement

Table 12-11. Host Device Request Summary
SET_FEATURE
CLEAR_FEATURE
SET_CONFIGURATION
GET_CONFIGURATION
SET_DESCRIPTOR
GET_DESCRIPTOR
SET_INTERFACE
GET_INTERFACE
GET_STATUS
SET_ADDRESS
SYNCH_FRAME
The UDC decodes most standard device commands with no intervention required by the user. The
following commands are not passed to the user: Set Address, Set Feature, Clear Feature, Get
Configuration, Get Status, Get Interface, and Sync Frame. The Set Configuration and Set Interface
commands are passed to the user to indicate that the host set the specified configuration or interface
and the software must take any necessary actions. Alternate interfaces settings are not supported;
the host must set the alternate settings field in SET_INTERFACE requests to zero. If the UDC
receives a SET_INTERFACE request with the alternate settings field non-zero, the UDC responds
with a STALL. The Get Descriptor and Set Descriptor commands are passed to the user to be
decoded.
Because the Set Feature and Clear Feature commands are not passed on, the user is not able decode
the device remote wakeup feature commands. To solve this problem, the status bit
UDCCS0:DRWF indicates whether or not the device remote wakeup feature is enabled. UDCCS0:
DRWF is a read-only bit. When the bit is set to 1, the device remote wakeup feature is enabled.
When the bit is set to 0, the feature is not enabled.
12.3.7

Configuration

In response to the GET_DESCRIPTOR command, the user device sends back a description of the
UDC configuration. The UDC can physically support more data channel bandwidth than the USB
specification allows. When the device responds to the host, it must specify a legal USB
configuration. For example, if the device specifies a configuration of six isochronous endpoints of
256 bytes each, the host is not be able to schedule the proper bandwidth and does not take the UDC
out of Configuration 0. The user device determines which endpoints to report to the host. If an
endpoint is not reported, it is not used. Another option, attractive for use with isochronous
endpoints, is to describe a configuration of a packet with a maximum size less than 256 bytes to the
host. For example, if software responds to the GET_DESCRIPTOR command that Endpoint 3 only
supports 64 bytes maximum packet Isochronous IN data, the user device must set the
UDCCS3[TSP] bit after it loads 64 bytes for transmission. Similarly, if Endpoint 4 is described as
supporting 128 bytes maximum packet Isochronous OUT data, the UDC recognizes the end of the
packet, sets UDCCS4[RPC], and an interrupt is generated.
Intel® PXA255 Processor Developer's Manual
Request
Enables a specific feature such as device remote wake-up or endpoint stalls.
Clears or disables a specific feature.
Configures the UDC for operation. Used after a reset of the Megacell or after
a reset has been signalled via the USB.
Returns the current UDC configuration to the host.
Sets existing descriptors or add new descriptors. Existing descriptors include:
device, configuration, string, interface, and endpoint.
Returns the specified descriptor, if it exists.
Selects an alternate setting for the UDC's interface.
Returns the selected alternate setting for the specified interface.
Returns the UDC's status including: remote wake-up, self-powered, data
direction, endpoint number, and stall status.
Sets the UDC's 7-bit address value for all future device accesses.
Sets then reports an endpoint's synchronization frame.
USB Device Controller
Name
12-9

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents