
EZ-USB FX2 Technical Reference Manual
Page 3-10 EZ-USB FX2 Technical Reference Manual v2.1
3.7 FX2 Response to Device Requests (RENUM=0)
Table 3-6 shows how the Default USB Device responds to endpoint zero device requests when
RENUM=0.
A USB host enumerates by issuing
Set_Address
,
Get_Descriptor
, and
Set_Configuration
(to 1)
requests (the
Set_Address
and
Get_Address
requests are used only during enumeration). After
enumeration, the Default USB Device will respond to the following device requests from the host:
• Set or clear an endpoint stall (Set/Clear Feature_Endpoint)
• Read the stall status for an endpoint (Get_Status-Endpoint)
• Set/Read an 8-bit configuration number (Set/Get_Configuration)
• Set/Read a 2-bit interface alternate setting (
Set/Get_Interface
)
• Download or upload FX2 RAM
Table 3-6. How the Default USB Device Handles EP0 Requests When RENUM=0
bRequest Name FX2 Response
0x00 Get Status-Device Returns two zero bytes
0x00 Get Status-Endpoint Supplies EP Stall bit for indicated EP
0x00 Get Status-Interface Returns two zero bytes
0x01 Clear Feature-Device None
0x01 Clear Feature-Endpoint Clears Stall bit for indicated EP
0x02 (reserved) None
0x03 Set Feature-Device None
0x03 Set Feature-Endpoint Sets Stall bit for indicated EP
0x04 (reserved) None
0x05 Set Address Updates FNADD register
0x06 Get Descriptor Supplies internal table
0x07 Set Descriptor None
0x08 Get Configuration Returns internal value
0x09 Set Configuration Sets internal value
0x0A Get Interface Returns internal value (0-3)
0x0B Set Interface Sets internal value (0-3)
0x0C Sync Frame None
Vendor Requests
0xA0 Firmware Load Upload/Download RAM
0xA1-0xAF Reserved Reserved by Cypress Semiconductor
all other None
Comentarios a estos manuales