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.

EK-TM4C1294XL: Read the ADC triggered by a Timer in an interval of time

Part Number: EK-TM4C1294XL

Dear all 

I have two timers configured, one at 350 kHz and another at 25 Hz. I used the 350 kHz to trigger the reading of the ADC, so that is my sampling frequency. I can read continuously without problems.

The problem is that I want the ADC to begin reading synchronized with the 25 Hz timer. Read 3000 samples (it would take 8.5 ms ~), deactivate the ADC and start again with the change of state of the 25Hz timer. I have tried a couple of things without success, I do not attach my code because I think my problem is that I am not understanding how to do it correctly.

Could you give me some clue how to do this properly or correct me if I'm confused on how I'm seeing things.