Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3

Bookmark and Share
Cypress Developer CommunityTM
Forums | Videos | Blogs | Training | Rewards Program | Community Components



USB Vendor Commands
Moderator:
RKRM

Post Reply
Follow this topic



USB Vendor Commands

ObsoleteMindTech posted on 17 Dec 2010 8:54 AM PST
Member
3 Forum Posts

I'm developing a device that doesn't really fit into the common USB classes. I might be able to get most of the functions to work under the HID class, but some will still need to run under a more vendor-defined mode.

So I've been playing with the idea of using Vendor Defined commands on the control pipe. AN56377 has a good explanation of how to set up some basic vendor commands. However, it is missing some instruction. I want to be able to send and receive data payloads with the vendor commands. The App-note says that you have to use USBFS_1_InitControlWrite() or USBFS_1_InitControlRead() as needed, but gives no explanation of how to setup or retrieve that data payload. In fact, these functions, and USBFS_1_InitNoDataControlTransfer() are not even listed as part of the USBFS datasheet.

It seems to me that some of the advanced USB functionality has not been fully documented and/or the API has not been fully fleshed out with respect to vendor-defined usage. Is there a more complete version of the API listing available? Is there any more demo code that goes deeper into using the vendor functions of the USBFS component?







ALL CONTENT AND MATERIALS ON THIS SITE ARE PROVIDED "AS IS". CYPRESS SEMICONDUCTOR AND ITS RESPECTIVE SUPPLIERS MAKE NO REPRESENTATIONS ABOUT THE SUITABILITY OF THESE MATERIALS FOR ANY PURPOSE AND DISCLAIM ALL WARRANTIES AND CONDITIONS WITH REGARD TO THESE MATERIALS, INCLUDING BUT NOT LIMITED TO, ALL IMPLIED WARRANTIES AND CONDITIONS OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE, TITLE AND NON-INFRINGEMENT OF ANY THIRD PARTY INTELLECTUAL PROPERTY RIGHT. NO LICENSE, EITHER EXPRESS OR IMPLIED, BY ESTOPPEL OR OTHERWISE, IS GRANTED BY CYPRESS SEMICONDUCTOR. USE OF THE INFORMATION ON THIS SITE MAY REQUIRE A LICENSE FROM A THIRD PARTY, OR A LICENSE FROM CYPRESS SEMICONDUCTOR.

Content on this site may contain or be subject to specific guidelines or limitations on use. All postings and use of the content on this site are subject to the Terms and Conditions of the site; third parties using this content agree to abide by any limitations or guidelines and to comply with the Terms and Conditions of this site. Cypress Semiconductor and its suppliers reserve the right to make corrections, deletions, modifications, enhancements, improvements and other changes to the content and materials, its products, programs and services at any time or to move or discontinue any content, products, programs, or services without notice.

Spec No: None; Sunset Owner: KXP; Secondary Owner: VWA; Sunset Date: 01/01/20