<?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>Maximum sampling rate on nRF51822 digital I/O?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5650/maximum-sampling-rate-on-nrf51822-digital-i-o</link><description>My application involves driving a digital-output (PDM) MEMS microphone at 1 -- 3.25 MHz with a clock generated on a GPIO. 
 devzone.nordicsemi.com/.../ 
 The output of the microphone is a digital signal with data at the rate of the supplied clock. I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 24 Feb 2015 01:52:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5650/maximum-sampling-rate-on-nrf51822-digital-i-o" /><item><title>RE: Maximum sampling rate on nRF51822 digital I/O?</title><link>https://devzone.nordicsemi.com/thread/19795?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2015 01:52:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3024f174-fb3a-4132-8cfc-db8443862c5b</guid><dc:creator>Charles Manning</dc:creator><description>&lt;p&gt;The soft device needs the CPU for its own function. There are times when the soft device can hog the processor for, if I recall correctly, over 1 millisecond. During this time you have no CPU - not even interrupts.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum sampling rate on nRF51822 digital I/O?</title><link>https://devzone.nordicsemi.com/thread/19792?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 15:16:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:79766416-686c-43d4-8766-4b0824e6a69e</guid><dc:creator>Stefan Birnir Sverrisson</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I am not very sure on what you intend to do but if you want to sample analog input signal then the internal nRF51 ADC has the potential to do that. However, the highest sampling frequency of the ADC is 50kHz with the lowest 8-bit resolution. When you use the softdevice, the sampling frequency is further limited, as JohnBrown has already pointed out. You could read more about the sampling limitations &lt;a href="https://devzone.nordicsemi.com/blogs/481/using-the-adc-with-the-s110-softdevice/"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum sampling rate on nRF51822 digital I/O?</title><link>https://devzone.nordicsemi.com/thread/19796?ContentTypeID=1</link><pubDate>Fri, 20 Feb 2015 08:04:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8f7526-0e8e-4ad0-ab2d-0b6d9d04f10e</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;Even if you&amp;#39;re not transmitting, the SD will inevitably be using some CPU time, which is likely to interfere with what, essentially, is a synchronous clocked data stream.
On the other hand, I don&amp;#39;t know quite what it is you are trying to do. It could be that, if you are only interested in detecting a loud noise, for example, you might be able to subvert the SPI block into reading the 8 MSBs of the value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum sampling rate on nRF51822 digital I/O?</title><link>https://devzone.nordicsemi.com/thread/19794?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 22:28:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d24080bc-7eb4-4464-8282-99bcdfcdd5d7</guid><dc:creator>sd</dc:creator><description>&lt;p&gt;Yes, the SoftDevice will be part of the application. By &amp;#39;running&amp;#39; do you mean transmitting? If so, then no, I know that that isn&amp;#39;t possible. Otherwise, can you elaborate why it&amp;#39;s a &amp;#39;doom&amp;#39; scenario? (I&amp;#39;m willing to sacrifice quality to make it work.)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Maximum sampling rate on nRF51822 digital I/O?</title><link>https://devzone.nordicsemi.com/thread/19793?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 17:43:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:fae1e9ab-296a-489d-a5a3-639c5c17a7af</guid><dc:creator>JohnBrown</dc:creator><description>&lt;p&gt;I&amp;#39;d say you might need to drop down into assembly language for this - I assume you&amp;#39;re not trying to do this while a soft device is running? If so, then I think you&amp;#39;re doomed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>