Cypress Perform

Home > Design Support > Cypress Developer CommunityTM > Cypress Forums > PSoC® 5 > SPI MASTER readings via DMA

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



SPI MASTER readings via DMA
Moderator:
RKRM

Post Reply
Follow this topic



SPI MASTER readings via DMA

PDES posted on 09 Feb 2012 8:56 AM PST
Member
10 Forum Posts

Hi everyone,

Could I use the DMA controller to perform a reading on a MASTER SPI?

Setting the source address of the DMA channel and TD as the pointer to the RX data buffer of the spi, I do a reading of the buffer contents, while I need to perform a new reading.

There is a way to do this ?

 

Thanks in advance for any suggestion




Re: SPI MASTER readings via DMA

jacktan posted on 21 Feb 2012 12:19 AM PST
Top Contributor
26 Forum Posts

I think you can have a try, and see the CE62153(psoc3/psoc5-16bit ADC data buffer using a dma) and AN52705(getting start with DMA) for reference!

May you succeed!



Re: SPI MASTER readings via DMA

U2 posted on 21 Feb 2012 03:52 AM PST
Cypress Employee
589 Forum Posts

 I have attached an old SPI-DMA project. This was originally available on cypress website. You might have to upgrade the components to the latest revision for them to work.



Re: SPI MASTER readings via DMA

U2 posted on 21 Feb 2012 03:53 AM PST
Cypress Employee
589 Forum Posts

 And of course to understand DMA you can use the App notes that have been referenced above.



Re: SPI MASTER readings via DMA

U2 posted on 21 Feb 2012 05:23 AM PST
Cypress Employee
589 Forum Posts

Attaching the project.






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: 06/15/20