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.

dma completed flag

Hi,

I would like to have ADC reading (an external SPI ADC ) right after DAC (also an external SPI DAC) finished writing. 

I would like to implement that using DMA.

The trigger will be timer (says timer 0A)  running every 100Khz. So, every timer period (10 microsecs), the timer will trigger DMA request to DAC.

After the SPI DAC done writing, the ADC supposed to be starting automatically.

How could I detect the " DAC done writing " in this case ?

The adc & dac are 16 bit to make the case simple.

Thank you