cancel
Showing results for 
Search instead for 
Did you mean: 

USB Superspeed Peripherals

Contributor II

Hi,

what is the difference between #define CY_U3P_USB_GS_INTERFACE (0x81) /(The standard device request, GET_STATUS interface  ) and #define CY_U3P_USB_GS_ENDPOINT (0x82) (The standard device request, GET_STATUS endpoint  ).

The endpoint 0X81 is used in fx3 slavefifo example as consumer endpoint.please let me know.

thank you.

0 Likes
Reply
1 Solution
Moderator
Moderator

Hi,

CY_U3P_USB_GS_INTERFACE & CY_U3P_USB_GS_ENDPOINT are USB standard requests about the Interface and Endpoint respectively (Refer to the USB 2.0 Spec). So here 0x81 and 0x82 are bmrequest. But endpoint 0X81 used in fx3 slavefifo FW example is the EP number over which communication happen. So don't confuse CY_U3P_USB_GS_INTERFACE with endpoint 0X81 used in slavefifo example.

Thanks & Regards

Abhinav

View solution in original post

0 Likes
Reply
1 Reply
Moderator
Moderator

Hi,

CY_U3P_USB_GS_INTERFACE & CY_U3P_USB_GS_ENDPOINT are USB standard requests about the Interface and Endpoint respectively (Refer to the USB 2.0 Spec). So here 0x81 and 0x82 are bmrequest. But endpoint 0X81 used in fx3 slavefifo FW example is the EP number over which communication happen. So don't confuse CY_U3P_USB_GS_INTERFACE with endpoint 0X81 used in slavefifo example.

Thanks & Regards

Abhinav

View solution in original post

0 Likes
Reply