Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

USB superspeed peripherals Forum Discussions

gean_3054931
Level 5
Level 5
10 likes given 5 likes given First like received

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
1 Solution
abhinavg_21
Moderator
Moderator
Moderator
50 likes received 25 likes received 10 likes received

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
1 Reply
abhinavg_21
Moderator
Moderator
Moderator
50 likes received 25 likes received 10 likes received

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

0 Likes