User Activity

I want to take ADC data at 166ksps but I am getting after 2 second. Can anyone suggest How can I take ADC data and also perform calculation ? Please give some guidance. I am attaching my main.c file.