<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://devzone.nordicsemi.com/cfs-file/__key/system/syndication/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/" xmlns:atom="http://www.w3.org/2005/Atom"><channel><title>Writing in SD card at fixed time-intervals by reading from ADC</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/24760/writing-in-sd-card-at-fixed-time-intervals-by-reading-from-adc</link><description>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</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Aug 2017 07:38:06 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/24760/writing-in-sd-card-at-fixed-time-intervals-by-reading-from-adc" /><item><title>RE: Writing in SD card at fixed time-intervals by reading from ADC</title><link>https://devzone.nordicsemi.com/thread/97520?ContentTypeID=1</link><pubDate>Wed, 30 Aug 2017 07:38:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0a4efeb-a671-419c-acaf-e934468509ef</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi, Have you considered using &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/saadc.html?cp=2_1_0_36_5#saadc_easydma"&gt;EasyDMA&lt;/a&gt; and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/ppi.html?cp=2_1_0_21#concept_sxf_21l_1s"&gt;PPI channels&lt;/a&gt;? It is possible to configure a timer to trigger SAADC sampling at accurate intervals and then have the SAADC store the sample in memory without using the CPU. This means that the timer and SAADC can do their thing in the background and your application can process the collected data whenever it has time. In more advanced cases it should also be possible to make the timer trigger SAADC sampling, and then have the SAADC trigger SPI transfers when the sampling is done. However, I&amp;#39;m not that familiar with SD cards, but I imaging that you might have to format the data, and maybe send some commands before being able to store the data on the card, so it might be difficult to do everything in the autonomously.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>