Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > USB Controllers > Interrupt Endpoint

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



Interrupt Endpoint
Moderator:
RSKV

Post Reply
Follow this topic



Interrupt Endpoint

Msaliba posted on 12 Feb 2013 7:54 PM PST
Member
6 Forum Posts

 Hi, i have setup an interupt OUT endpoint. All i want to do is once anything is written to the endpoint, an interupt signal is generated to the external processor(in my case the FPGA). In my case the FX3 is the master. Was wanting to know other then the descripters and epCfg calls, does anything else need to be setup? Also what pin on the development board can we probe this signal ?

Thankyou




Re: Interrupt Endpoint

RSKV posted on 13 Feb 2013 04:42 AM PST
Cypress Employee
655 Forum Posts

Hi,

 

If you want to do any actions based on the data that you receive over Interrupt endpoint then you can create a DMA channel between USB producer socket and CPU consumer socket.

If you are going to send few bytes of data or short packets then you can configure endpoint to packet mode using CyU3PUsbSetEpPktMode.

You can register a callback function with the DMA channel that you have created. That callback function will be called whenever interrupt endpoint is written with data and you can toggle a GPIO to inform FPGA about data input. CTRL 4 (GPIO 21) is there on the FX3 DVK. This can be noticed by looking at jumper J100.

 

Thanks,

Sai Krishna.






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.