You are here

Transfer commands with EP0. | Cypress Semiconductor

Transfer commands with EP0.

Summary: 3 Replies, Latest post by GL_basik on 28 Jun 2012 10:52 AM PDT
Verified Answers: 0
Last post
Log in to post new comments.
GL_basik's picture
30 posts

I want to send commands to my device using EP0. But when I try to transfer any data to EP0 in USB Contorl Center it return:

CONTROL OUT transfer
CONTROL OUT transfer failed with Error Code:997

What this mean?

How I can transfer commands for driving my device? I want to do it same as Class-Specific Requests in UVC.

aasi's picture
Cypress Employee
1166 posts

Have you written the code necessary to handle the requests that you're sending to the device through Control center???

rskv's picture
Cypress Employee
1134 posts

Take "USBBulkLoopAutoEnum" example code as reference.

You can look for function "CyFxBulkLpApplnUSBSetupCB", which handles all the setup requests.

If you want to send some vendor commands then add code (in CyFxBulkLpApplnUSBSetupCB) similar to the one mentioned below.

if ( bType == CY_U3P_USB_VENDOR_RQT)


/* write your own to code to parse the commands*/

return CyTrue;



sai krishna.

GL_basik's picture
30 posts

Thank you. It work.

Log in to post new comments.