<?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>NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/17477/nrf52-softdevice-changing-application-timing</link><description>Hi 
 In my application I have a function that takes about 1 ms, in which timing is critial.
(I cannot allow even a few us change of the timing inside this function).
When I run my application with the softdevice working, I see that the total running</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Nov 2016 11:19:07 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/17477/nrf52-softdevice-changing-application-timing" /><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67173?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 11:19:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9ec18051-b326-462a-af5d-fd936318d37b</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;ok, hopefully you will see better timing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67174?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 10:38:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4b7e601-32db-49d7-94c5-1ccaabc4ca6d</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;Hi Aryan.
I am sorry, my function was not running inside the callback.
I will try again and update you.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67177?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 09:58:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b2f7600a-bae7-4139-ad73-1b90be0b11c7</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;I&amp;#39;m sorry, but I can&amp;#39;t post the code.
Basically what I do is measure ADC values and change some periperals configuration usign SPI.
I am not calling any sd_xxx functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67172?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 09:42:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:defa26f9-dd2d-4b5a-be91-980486dd9284</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;It is difficult to answer this without seeing your loop code and where it is called. Can you please post the loop code if possible or explain in detail of what it does. Does it call any sd_xxx calls+&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67176?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 09:01:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0d46f181-9e55-4a85-b9b6-4a9c3e0e00b9</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;Aryan, Let me explain what I see.
I am measuring my loop length (in us).
when softdevice is disabled, I get the same resualt (1022) for all function calls.
when softdevice is enabled (and device is paired), I get results between 1053 - 1090.
Can you explain this behaviour?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67175?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 08:51:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32acb2e2-cddc-4887-919a-cdf6500cb851</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;During the timeslot, there must be no other softdevice activity at all. All softdevice reserved peripherals become available to the application during that timeslot. So when application uses that slot then softdevice have to re-initialize those peripherals. Also the timeslot callbacks are called with highest possible priority (priority 0) , so the application running inside the callback cannot be anyways interrupted according to ARM NVIC interrupt priority rules.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67178?ContentTypeID=1</link><pubDate>Thu, 03 Nov 2016 06:26:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62fd9b82-50f8-4a98-ba31-52c4f8c5125e</guid><dc:creator>yaron</dc:creator><description>&lt;p&gt;Hi Aryan.
I am using the Timeslot API.
Is there supposed to be no softdevice activity &lt;strong&gt;at all&lt;/strong&gt; during my timeslot, or is it just uninterrupted by radio activity?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF52 softdevice changing application timing</title><link>https://devzone.nordicsemi.com/thread/67171?ContentTypeID=1</link><pubDate>Wed, 02 Nov 2016 19:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d3a9520a-7554-474d-9209-7891b5f1651a</guid><dc:creator>Susheel Nuguru</dc:creator><description>&lt;p&gt;Hi, best is to use &lt;a href="http://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.s132.sds%2Fdita%2Fsoftdevices%2Fs130%2Fconcurrent_multiprotocol_tsl_api%2Fconcurrent_multiprotocol_tsl_api.html&amp;amp;cp=2_3_0_0_8_1"&gt;Timeslot API&lt;/a&gt; where the softdevice will give you a request timeslot where your application is promised not to be interrupted by softdevice during that slot. I see this API will be best fit (or probably only fit) for your usecase.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>