This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

ADC + DMA not working on LX4F120HQ

Hello!

I have a chip LX4F120HQ and I need to collect data from a single ADC input and then processing signal. Delivery of data in memory should be organized by the DMA with ping-pong mode. But using DMA I have a problem: ADC alone works great, but with the DMA not works. Interrupts was occurred, but from the ADC only, not from the DMA (they have the same vector). In the ping-pong buffers I have nothing (they filled with zeros). There are links to my source files below. Please, tell me what is wrong in the configuration.

Thanks.

main.c 

Statrup_ccs.c  

dma.c