Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > Using DMA with USB endpoints

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



Using DMA with USB endpoints
Moderator:
RKRM

Post Reply
Follow this topic



Using DMA with USB endpoints

kypparila posted on 14 May 2012 1:04 PM PST
Senior Member
16 Forum Posts

I'm looking for some sample code or good documentation for unloading a USB endpoint to SRAM with DMA. The App note "getting started with DMA" is good but doesn't cover USB endpoints, the component data sheets also pretty much leave out this topic or just gloss over it with little explanation. The DMA Wizard doesn't support USB. Any suggestions on where else to look? Thanks




Re: Using DMA with USB endpoints

SherlockHolmes posted on 21 May 2012 01:57 AM PST
Member
8 Forum Posts

I was going through the USB_LoadInEP() API. It has code for the Auto DMA and Manula DMA mode of data transfer. Code for setting up DMA for USB Endpoints is present there. Sad that Cypress has not documented this anywhere.



Re: Using DMA with USB endpoints

Bob Marlowe posted on 21 May 2012 03:30 AM PST
Top Contributor
1768 Forum Posts

When *NOTHING* helps and none of the gurus had an answer yet you may always create a case (support -> Technical Support -> Create a Case) that will be answered by a Cypress employee who usually have an excellent technical background.

Give it a try (and post the solution here for us)

Bob



Re: Using DMA with USB endpoints

U2 posted on 30 May 2012 03:14 AM PST
Cypress Employee
589 Forum Posts

 There is a reason why it is not highlighted anywhere. The source of data for USB can only be SRAM. ANY OTHER PERIPHERAL can not be used as direct source of data for USB. If for example you intend to transfer data from ADC to USB, you have to use an intermediate SRAM buffer as a common place where ADC dumps data to and USB takes data from. We have a new App Note coming up which does exactly this. 



Re: Using DMA with USB endpoints

Chrigu posted on 17 Oct 2012 11:26 PM PST
Member
6 Forum Posts

Hi U2,

I'm very interested in this application note because it would describe exactly what I like to implement. Is it already available?

Best Regards

Walt






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: GRAA; Secondary Owner: RAIK; Sunset Date: 01/01/20