2 Replies Latest reply on Oct 10, 2011 3:22 AM by tao.tang

    PSoC3 12bits GPIO to SRAM using DMA

    tao.tang

      Hi,

         

      I would like to transfer 1000 data from a 12 bits 10MSPS ADC to SRAM in a PSoC3 chip. I think the best way to do this is to use DMA. But I can not find any way to setup the DMA channel.

         

      From the device datasheet, it seems possible to use PHUB transfer upto 16 bits of data a time from IO (Spoke 1) to SRAM (Spoke 0). The closest example I found is "DMA to GPIO". In this example a 8  bit register in UDB is used. There is no way to get a 12bit register in PSoC Creater. I was thinking directly set the source memory address to the IO port. Will this work? Is there a better way to do this?

         

      Thanks a lot.