Its setup code, with globals, or you can use it in a startup function.
http://www.cypress.com/?rID=37793 AN52705 Getting Started with DMA
http://www.cypress.com/?rID=82680 AN84810 PSoC® 3 and PSoC 5LP Advanced DMA Topics
http://www.cypress.com/?rID=44335 AN61102 PSoC® 3 and PSoC 5LP - ADC Data Buffering Using DMA
http://video.cypress.com/video-library/search/dma/ Videos on DMA
https://www.youtube.com/results?search_query=dma+psoc Videos on DMA (some overlap)
The below image did not paste in last post. See attached.
Note your mic interface should eliminate coupling cap, that will
allow bias source to bias up the PGA into ~ center of CM range.
2.5 V would have nailed it.
PSOC DMA Wizard Code Gen.jpg 43.6 K
Ah, yes, danaknight. I found the answer there in AN52705 on page 7 and Appendix A. I paste the wizard code into main.c. Page 7 explains that the wizard does not support all peripherals so we have to do some editing to define the parameters. Thanks.
Glad to have been of assistance.