cancel
Showing results for 
Search instead for 
Did you mean: 

ADC Sampling Without Any Delay For 1 Minutes

D.K.
Associate II

I need to save adc data for 1 minutes. I am using ADC interrupt for 2651 sample per second. I have 2 buffer on adc interrupt. In main, in the while section if flag is 1 i am writing adc1 buffer values to sd card with dma. If flag is 2 i am writing adc2 buffer values to sd card. When flag is 2, buffer 1 is filling up. But in the while i can't turn this process it writes 2 buffer and then it stops. I couldn't form an proper algorithm. What should you suggest? Thanks for advice. 🙂

0 REPLIES 0