Hi,
I have successfully sampled my signal using SAADC example at a sampling frequency of 10 Hz. I am using a flag in the saadc_callback() function which I read from the main() function and accordingly instruct to write the sampled data in the SD card one by one. The problem is that since I am using certain delays in the main() function for my application, the data written in the SD card is not at fixed intervals i.e. the data is missing and doesn't correspond to sampling frequency of the ADC which is obvious due to the use of delays. Is there a way of sampling and writing to SD card in parallel such as using 2 timers (one for ADC and one for SD card) ? Or any other low power method? Please provide any links to the documentation of related concepts. Thanks!