cancel
Showing results for 
Search instead for 
Did you mean: 

PSoC 5, 3 & 1 MCU

New Contributor

how can I use the control endpoint on USB component from user code?

It seems to work different from the other endpoint types, but I can't find any code snippets.

USB control center does support such transfers, but my first tests raised error code 87.

Thanks a lot.

0 Likes
Reply
1 Solution
Moderator
Moderator

Hello,

Please refer to the Appendix D Project 2 Firmware - USBFS_vnd.c of the application note 'PSoC 3 and 5LP- Introduction to implemeting USB data transfers', page 71. The Appnote has sample code for control Read and Write:

https://www.cypress.com/file/139686/download

Best Regards

Ekta

View solution in original post

0 Likes
Reply
1 Reply
Moderator
Moderator

Hello,

Please refer to the Appendix D Project 2 Firmware - USBFS_vnd.c of the application note 'PSoC 3 and 5LP- Introduction to implemeting USB data transfers', page 71. The Appnote has sample code for control Read and Write:

https://www.cypress.com/file/139686/download

Best Regards

Ekta

View solution in original post

0 Likes
Reply