SPI AUTO DMA channel question

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

cross mob
AnPo_1318261
Level 1
Level 1
Welcome!

Hello.

   

I am trying to configure SPI DMA auto channel. My question is:

   

CyU3PSpiSetBlockXfer function must be called before DMA channel will be created using CyU3PDmaChannelCreate method? Or I can to use this method after DMA channel is created?

0 Likes
1 Reply
KandlaguntaR_36
Moderator
Moderator
Moderator
25 solutions authored 10 solutions authored 5 solutions authored

First create Dma Channel using CyU3PDmaChannelCreate.

   

Then, CyU3PSpiSetBlockXfer function is to be called to initiate the Dma write/read transfer. 

0 Likes