Hi, Alexey,
Frankly speaking, your question is difficult to answer, because the 10MSPS is a critical speed. I suppose your ADC interface has only data bus, one clock input signal and one flag output signal. Once the flag signal is for example High, you can read the data bus to get valid sample. I think there are several solution to read the samples. Assume you use K26, the core clock frequency is 180MHz, the FB_CLK is 60MHz. 10MSPS means that the reading time is within 100nS.
1)using FlexBus to transfer data.
In the solution, you can connect the flag to GPIO pin, connect the data to Data bus of FlexBus. One FlexBus access takes at least 4 FB_CLK cycles or 16nS*4=64nS, you have to consider the instruction time, reading the Flag pin, checking the logic, then reading the data via FlexBus.
2)using GPIO pins to read samples.
connect the GPIO pins in one port to data bus of the ADC, connect the flag to another GPIO, I think the solution is shorter than using FlexBus
3)using DMA to transfer sample of ADC.
connect the data bus of ADC to GPIO in one port, connect the flag to GPIO pin in another port, set up the Flag GPIO to trigger DMA. The DMA peak frequency is 12MHz.
4)using interrupt to read samples.
You can connect the data bus of ADC to GPIO pin in one port, connect flag signal of ADC to GPIO in another port. Because the interrupt mechanism takes a long time to push/pop some register to stack, I think the solution is impossible.
You can get the K20 Tower board and have try.
BR
XiangJun Rong