[4M] Memory -> GPIO Port with DMA [Solved]

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

cross mob
lock attach
Attachments are accessible only for community members.
cadi_1014291
Level 6
Level 6
25 likes received 10 likes received 10 likes given

Hi,

   

I'm doing a silly project where i have an array of random numbers and i would like to transfer each element of the array to the GPIO Port 1 with DMA, each transfer must be done when the user on-board button is pressed.

   

The DMA component is configured to transfer Byte -> Word, incrementing the source one element after each transfer.

   

I thought the following line will make the project run, but it seems like it does not:

   

DMA_Start((void *)array, (void *)Pins_DR);

   

Any thoughts?

   

 

   

I'm mostly new to PSoC 4 DMA so maybe there's a obvious mistake. I'm using the CY8CKIT-043 board.

   

Project is attached. thanks in advance

   

Carlos

0 Likes
10 Replies