SPI MASTER readings via DMA

Tip / Sign in to post questions, reply, level up, and achieve exciting badges. Know more

cross mob
Anonymous
Not applicable

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

0 Likes
4 Replies
Anonymous
Not applicable

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!

0 Likes
Anonymous
Not applicable

 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.

0 Likes
Anonymous
Not applicable

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

0 Likes
lock attach
Attachments are accessible only for community members.
Anonymous
Not applicable

Attaching the project.

0 Likes