<?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>SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/22388/saadc-nrf52832-how-to-calculata-accurate-sampling-interval</link><description>void saadc_init(void)
{
NVIC_EnableIRQ(SAADC_IRQn);
NVIC_ClearPendingIRQ(SAADC_IRQn);
NRF_SAADC-&amp;gt;RESOLUTION = SAADC_RESOLUTION_VAL_10bit;

// Configure the SAADC channel with AIN0 (P0.02) as positive input, no negative input(single ended).
NRF_SAADC</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 31 May 2017 05:22:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/22388/saadc-nrf52832-how-to-calculata-accurate-sampling-interval" /><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88037?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 05:22:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d2fa563d-80db-40de-b0a9-343787ae5c49</guid><dc:creator>Carsten Wulff</dc:creator><description>&lt;p&gt;You have to use a timer or the MCU to trigger 2kS/s samplerate. There is no other alternative inside the SAADC.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88036?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 01:34:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c4df31a1-3cd7-4071-a261-77866afbbfd2</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;3,How to control a 2k/s sampling?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88035?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 01:14:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50b9b4ce-5c39-4cb8-af4b-022b6b157b6a</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;1,can I change 16M?
2,I want to achive 2K/S sampling&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88033?ContentTypeID=1</link><pubDate>Wed, 31 May 2017 01:13:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94a9d666-b4df-44c8-9085-8a5a7d7c63d6</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;I want to do a real time sampling and transport data used ESB. I don&amp;#39;t want to add a timer.because I think i can used connect a NRF_SAADC-&amp;gt;EVENTS_END to NRF_SAADC-&amp;gt;TASKS_SAMPLE.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88032?ContentTypeID=1</link><pubDate>Sun, 28 May 2017 15:01:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d3635fa-188e-414f-910f-26269bf49a39</guid><dc:creator>Carsten Wulff</dc:creator><description>&lt;p&gt;You do indeed have time for oversampling. Oversampling will reduce the noise levels by 1/sqrt(2) for each increment of OVERSAMPLE, assuming the noise is white.&lt;/p&gt;
&lt;p&gt;The way you&amp;#39;ve setup the PPI above will give you the max sample rate (tack + tconv).&lt;/p&gt;
&lt;p&gt;Use an event from a timer as the EEP. Also, what was the purpose of forking start? I don&amp;#39;t think you need to do that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88034?ContentTypeID=1</link><pubDate>Sat, 27 May 2017 19:03:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:38b2e2c7-4c3b-4f78-8c6c-c4e8b217241f</guid><dc:creator>Carsten Wulff</dc:creator><description>&lt;p&gt;The maximum value of the samplerate register is 2047, so for samplerates below 16Mhz/2047 you must use PPI and a Timer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88031?ContentTypeID=1</link><pubDate>Sat, 27 May 2017 06:01:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:646d854e-f2c8-47f2-a17d-5d9dceec8fae</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;What is the diffrence of oversampling and burst mode? whis mode is suit for me?
I want to do a adc with 2K/S sampling.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SAADC,NRF52832,How to calculata accurate sampling interval</title><link>https://devzone.nordicsemi.com/thread/88030?ContentTypeID=1</link><pubDate>Sat, 27 May 2017 05:44:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f97d68a3-54fc-4743-8697-7d939173b063</guid><dc:creator>suker</dc:creator><description>&lt;p&gt;I want to do a sample rate at 2K/S, and used PPI&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void ppi_init()
{
/************************* START SAMPLING ON SAADC EVENTS_END *************************/
NRF_PPI-&amp;gt;CH[4].EEP = (uint32_t)&amp;amp;NRF_SAADC-&amp;gt;EVENTS_END;
NRF_PPI-&amp;gt;CH[4].TEP = (uint32_t)&amp;amp;NRF_SAADC-&amp;gt;TASKS_SAMPLE;
NRF_PPI-&amp;gt;FORK[4].TEP = (uint32_t)&amp;amp;NRF_SAADC-&amp;gt;TASKS_START;
NRF_PPI-&amp;gt;CHEN |= PPI_CHENSET_CH4_Enabled &amp;lt;&amp;lt; PPI_CHENSET_CH4_Pos;
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;for connect NRF_SAADC-&amp;gt;EVENTS_END to NRF_SAADC-&amp;gt;TASKS_START ,then it will sample all the time .
but how to control sample interval?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>