<?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>Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15027/estimate-cpu-blocking-time-during-connection</link><description>Hi all! I have a smart beacon kit rev 1, with s110 on it (the latest firmware available). I am using the RTC with the 32 kHz crystal (50ppm) to trigger an ADC conversion every 2 ms, to have a sampling frequency of 500 Hz. I tried to raise it to 1 kHz</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 12 Jul 2016 10:29:25 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15027/estimate-cpu-blocking-time-during-connection" /><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57335?ContentTypeID=1</link><pubDate>Tue, 12 Jul 2016 10:29:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a2fee4b1-6ca0-4465-aa15-2a2a83d8fa63</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Revo: Do you have payload from the other side? Have you tried to test 6 packets per connection event from both sides (12 packets in total) ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57331?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 13:48:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23185576-ddd6-418f-b732-8263469bcfbd</guid><dc:creator>Revo</dc:creator><description>&lt;p&gt;I will use this table as reference so, thanks. However i tried several minutes of data acquisition and i never lost samples, maybe because the beacon it&amp;#39;s only sampling and sending, with no other services or i don&amp;#39;t know.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57330?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 12:19:23 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:04b4b4eb-c8ea-4c81-a123-56ed47959bae</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Revo: If you have a look at the softdevice specification S110 v1.3 &lt;a href="http://infocenter.nordicsemi.com/pdf/S110_SDS_v1.3.pdf"&gt;here&lt;/a&gt;
At Table 30 in section 11.3.2 you can find that the maximum interrupt latency can be 5960uA. It&amp;#39;s the worst case, so you may haven&amp;#39;t experienced that ADC sampling is missing but there is no guarantee that the interrupt request can be handled shorter than 5960us.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57336?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 12:13:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:036681bc-e8fd-486e-9a12-156748d90c3f</guid><dc:creator>Revo</dc:creator><description>&lt;p&gt;No i know the limitations, but i already used it for my project (it&amp;#39;s a unverisity, i have just the materials they give me ^^), i just wanted to justify this aspect of the blocking time. So you are saying that it&amp;#39;s not possible to quantify it, just to know that it can goes up to 6 ms? Because i am sending 6 packets and sampling every 2 ms, and it doesnt&amp;#39; seems that i lose any data.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57333?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 11:54:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0064575d-5fc7-498a-ab6a-35634c3d2461</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Revo: I would suggest you to get the new chip. The rev1 chip has a quite limited functionality regarding concurrent CPU and radio. This was fixed on rev3. Meaning the latency is reduced largely now. Have a look &lt;a href="https://devzone.nordicsemi.com/question/18751/how-to-unblock-the-cpu-during-connection-intervals-with-s110-v710/?answer=18753#post-id-18753"&gt;here&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;If you use rev 1 chip, the CPU blocking time can go up to 6ms when having 6 packets per connection events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57332?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 11:09:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d5bccda6-1d42-4251-a807-1b743eddb26c</guid><dc:creator>Revo</dc:creator><description>&lt;p&gt;I confirm the revision 1, the softdevice actually i didn&amp;#39;t understand pretty well, it should be version 7, but it&amp;#39;s the one in the latest firmware available on the page of the smart beacon kit of your site!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Estimate CPU blocking time during connection</title><link>https://devzone.nordicsemi.com/thread/57334?ContentTypeID=1</link><pubDate>Mon, 11 Jul 2016 10:13:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:100fd743-9912-49e4-bcb9-005b48dc6341</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;@Revo: Could you provide more information about the chip revision and the softdevice S110 version ? You can find the chip revision based on &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;this matrix&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>