9 Replies Latest reply on Jan 21, 2017 10:50 PM by user_365962704

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

    user_365962704

      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