<?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>SoftDevice Interrupt Timing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/43913/softdevice-interrupt-timing</link><description>I am using SoftDevice S132 v3.1.0 and I have a high priority application ISR that cannot tolerate being interrupted by the SoftDevice. The ISR occurs once every connection interval and takes about 50 us to complete. I have the ability to locate the ISR</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 20 Feb 2019 16:11:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/43913/softdevice-interrupt-timing" /><item><title>RE: SoftDevice Interrupt Timing</title><link>https://devzone.nordicsemi.com/thread/172169?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 16:11:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:50f54f89-205a-4148-a20c-6331ff53408b</guid><dc:creator>abkirchhoff</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;Understood. I am working on how to recover if my high-priority ISR does not run when it should. Hopefully staying outside the radio prepare window should suffice 98% of the time. The Radio Notification specification lines up well with what I measured.&lt;/p&gt;
&lt;p&gt;Thanks for your help,&lt;/p&gt;
&lt;p&gt;Austin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice Interrupt Timing</title><link>https://devzone.nordicsemi.com/thread/172141?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 14:30:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2724ac49-0512-4ba6-b969-3352fc33d28f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Austin&lt;/p&gt;
&lt;p&gt;Yes, prepare ISR of course. Putting your ISR outside of the range stated in the spec should work, but this won&amp;#39;t be a 100% failsafe solution either. I would increase the margin with as much time I could spare. This will probably be the safest approach of accomplishing this, but I would be thorough with testing it before sticking to it.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice Interrupt Timing</title><link>https://devzone.nordicsemi.com/thread/172130?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 13:43:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2eab0f0d-5c4f-4780-856d-b9f316ef020f</guid><dc:creator>abkirchhoff</dc:creator><description>&lt;p&gt;Simon,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I assume you meant the radio prepare ISR, as the radio start ISR seems to be very consistently about 140 us before radio reception starts (as signaled by the LNA being enabled). I guessed that the radio prepare ISR could not be guaranteed to not come at a particular time, but I thought I would ask if there were additional details or bounds.&lt;/p&gt;
&lt;p&gt;I did find more information in the Radio Nofication section of the SoftDevice spec (S132 v3.1). The numbers in this specification give a range for when the radio prepare ISR could occur (t_prep ranges from 167 us to 1542 us). I think my app ISR should be safe most of the time if it is outside of this range by some margin. For instance, 2.5 ms before the connection event starts. Your thoughts on this approach?&lt;/p&gt;
&lt;p&gt;Austin&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SoftDevice Interrupt Timing</title><link>https://devzone.nordicsemi.com/thread/172124?ContentTypeID=1</link><pubDate>Wed, 20 Feb 2019 13:26:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3f1e8c44-d3de-44da-a50d-220480f7b85f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Austin&lt;/p&gt;
&lt;p&gt;This won&amp;#39;t be a reliable way to go about this. The timing of the radio start ISR is not expected to stay consistent within the connection interval. Sadly I don&amp;#39;t think there is a reliable way to accomplish what you are trying to do.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>