Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® Software > Destination address for indexed mode DMA

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



Destination address for indexed mode DMA
Moderator:
JFMD

Post Reply
Follow this topic



Destination address for indexed mode DMA

porcine_aviator posted on 14 Aug 2012 9:33 PM PST
Top Contributor
58 Forum Posts

All: what is the address I am to use for the DMAC itself. Is the destination (the second TD) base address PERIPHERAL_BASE? What is the upper 16 bits (which register do I refer to)? The source of course would be SRAM (it would contain the new pointer). Dave Van Ess's latest video about the "Numerically controlled oscillator" uses Indexed DMA to carry out it's function...I'd just like to be able to replicate that behavior.

Thanks.




Re: Destination address for indexed mode DMA

Bob Marlowe posted on 15 Aug 2012 11:50 PM PST
Top Contributor
1768 Forum Posts

I'm not exactly sure, what you're talking about.

In the TD, the first address-parameter specifies the source and the second the destination lower address word.
The high address word given in the channel setup differs from PSoC3 to PSoC5 as outlined in the DMA-datasheet. While in PSoC3 the upper 16 bits of a pointer are containing a descriptor of the memory-area (there are some different ones) in PSoC5 you'll find true pointers. There are some macros defined to ease swithching between PSoC3 and 5 targets, have a look into the "System Reference Guide" (under Help -> Documentation ->...)

 

Bob



Re: Destination address for indexed mode DMA

danaaknight posted on 15 Aug 2012 03:35 AM PST
Top Contributor
1773 Forum Posts

Some reference material -

 

http://www.cypress.com/?rID=37793

 

http://www.cypress.com/?rID=44335

 

Regards, Dana.

 

 



Re: Destination address for indexed mode DMA

hli posted on 15 Aug 2012 03:44 AM PST
Top Contributor
675 Forum Posts

Indexed DMA is explained in (a little bit) more detail in the PSoC Sensei blog: www.cypress.com/ - there is also an example project there.



Re: Destination address for indexed mode DMA

porcine_aviator posted on 15 Aug 2012 10:50 AM PST
Top Contributor
58 Forum Posts

Hli: that was what I needed. I hadn't yet gone that far back into the Sensei blog, I didn't realize he had done that example. Thanks for the tip.






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