<?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>periodic timeslots problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17448/periodic-timeslots-problem</link><description>Hi 
 I am using nrf52832 with softdevice s132_nrf52_3.0.0.
In my appliocation I need to do periodic measuremets, and it is critical that softdevice doesn&amp;#39;t interrupt during the mesurement period.
I have tried using the timeslot API to do that, but</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 21 Jul 2017 08:09:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17448/periodic-timeslots-problem" /><item><title>RE: periodic timeslots problem</title><link>https://devzone.nordicsemi.com/thread/67037?ContentTypeID=1</link><pubDate>Fri, 21 Jul 2017 08:09:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62586321-a357-4cf3-bf91-755b6576da63</guid><dc:creator>XavierYin</dc:creator><description>&lt;p&gt;What about setting up PPI which connects RTC event and SAADC tasks for periodical measurements. Perhaps further setup SAADC cross-limit events and only trigger interrupts in such events. Ideally your MCU will not leave sleep simply for checking SAADC measurements, it only need to work when some real-world event happens.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: periodic timeslots problem</title><link>https://devzone.nordicsemi.com/thread/67036?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 14:36:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d0669fe9-d0de-4660-a2bf-57dc8b66bf6d</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;I am measuring SAADC, and it must be 100% periodic.
Is there some example using Nrf52?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: periodic timeslots problem</title><link>https://devzone.nordicsemi.com/thread/67035?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 14:06:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4cbf0597-01c6-43b5-8676-af6e19e24124</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;See &lt;a href="https://devzone.nordicsemi.com/question/22684/random-delay/"&gt;this thread&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;What kind of measurements are you doing, and are you sure that they must be 100% periodic?&lt;/p&gt;
&lt;p&gt;BR,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: periodic timeslots problem</title><link>https://devzone.nordicsemi.com/thread/67034?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 14:02:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5a89e82b-df1f-43df-96e5-4cad7736dc06</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;Hi Øyvind
I have tried using radio notifications, but I saw that I still don&amp;#39;t get periodic T.S.
I have measured the timimg difference between consecutive radio notifications (active only), and got 40-50 ms.&lt;/p&gt;
&lt;p&gt;In SoftDevice Specification S132 SoftDevice v3.0, section 16.5 you can see that the time difference between consecutive advertising events is &amp;quot;Adv Interval + random delay&amp;quot;. Can I set the random delay to 0?&lt;br /&gt;
Thanks
Yaron&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: periodic timeslots problem</title><link>https://devzone.nordicsemi.com/thread/67033?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 08:43:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0cb23129-0bb7-40ab-9981-62742473f650</guid><dc:creator>&amp;#216;yvind Karlsen</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;If you request a timeslot every 40 ms and also use an advertisement interval of 40 ms there is always a chance that they will collide. Longer timeslot lengths increases the chance of collision.&lt;/p&gt;
&lt;p&gt;Do you only need to advertise, or will the device connect as well? If you need to just advertise the solution is straight forward. Use &lt;a href="https://devzone.nordicsemi.com/tutorials/14/"&gt;radio notifications&lt;/a&gt; that trigger after each advertising event. Then you will automatically get your 40 ms measurement interval.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Øyvind&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>