Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 3 > DMA maximum frequency supported

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



DMA maximum frequency supported
Moderator:
RKRM

Post Reply
Follow this topic



DMA maximum frequency supported

Stillen posted on 29 Aug 2012 8:53 AM PST

1 Forum Post

 

Hi guys, I'd like to ask you a question about the use of the DMA....

For some reasons I need to transfer some data from a status register to the internal memory....the status register value is changed at a frequency of 33MHz (8 digital input pins are linked to the status register).

The problem is that apparently the transfer operation performed by the DMA doesn't fit this high speed since I get less sample than expected (it should fit something like 6 or 7 MHz)....so my question would be:

is there a maximum clock frequency supported by the DMA (by the drq input)? 

Thank you very much in advance!! ;)

Ciao!!




Re: DMA maximum frequency supported

Bob Marlowe posted on 29 Aug 2012 09:13 AM PST
Top Contributor
1768 Forum Posts

I suppose that might depend on the bus-clock you have configured.

How is you your drq-signal generated and what does your DMA-setup look like?

 

Best can be if you upload your project here, so we all can have a look at it.

To do so: in Creator 2.1 Build -> Clean Project

File -> Create Workspace Bundle (minimal)

and finally upload the resulting Zip-archieve here (takes some time after pressing the "post" button)

 

Bob

 



Re: DMA maximum frequency supported

danaaknight posted on 29 Aug 2012 09:16 AM PST
Top Contributor
1773 Forum Posts

If you look in the Architecture TRM there is an example of computing the number

of buss cycles to do a burst, inclduing its overhead. Bus clock is the prime limiting

factor during the burst. Search in index for PHUB and DMAC.

 

Regards, Dana.



Re: DMA maximum frequency supported

PSoC Rocks posted on 13 Oct 2012 04:19 AM PST
Top Contributor
128 Forum Posts

 N+6 for interspoke DMA transfers

2N+5 for intraspoke DMA transfersN -> Burst counts


When there are more than 1 channel requesting a free DMA Controller, the arbitration phase would take more cycles and it uses Grant allocation Fairness Algorithm for allocation of channels.

 

Regards,

Kishore.






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