10 Replies Latest reply on Jan 26, 2019 4:34 PM by jowic_3984961

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

    cadi_1014291

      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