<?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>Are All Interrupts diabled during a BLE event?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13146/are-all-interrupts-diabled-during-a-ble-event</link><description>I have implement the systick with the idea to use it for delay functions.
The systick is running normal if no BLE Events occur, but during a BLE event it seems to be stopped.
Are all interrupts disabled during a BLE event from the softdevice?
What</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Apr 2016 08:48:19 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13146/are-all-interrupts-diabled-during-a-ble-event" /><item><title>RE: Are All Interrupts diabled during a BLE event?</title><link>https://devzone.nordicsemi.com/thread/50115?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2016 08:48:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d4b2c8ac-236f-4587-84e1-7e328a24aa1b</guid><dc:creator>Ronny Vrijelinck</dc:creator><description>&lt;p&gt;Ok, thanks for the extra info
I will study the information about the Interrupt model and processor availability in the softdevice specification in detail&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are All Interrupts diabled during a BLE event?</title><link>https://devzone.nordicsemi.com/thread/50114?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2016 08:45:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1969f803-4a44-441a-878f-1799204d1a04</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ronny,&lt;/p&gt;
&lt;p&gt;Please be noted that same applied for RTC, there still a latency can cause by softdevice when it has to take care of the BLE event. The maximum latency is described at chapter Interrupt model and processor availability in the softdevice specification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are All Interrupts diabled during a BLE event?</title><link>https://devzone.nordicsemi.com/thread/50113?ContentTypeID=1</link><pubDate>Thu, 14 Apr 2016 07:25:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1daa28c-5394-4097-ae55-107dbee00358</guid><dc:creator>Ronny Vrijelinck</dc:creator><description>&lt;p&gt;With BLE event i mean the function that is called from the softdevice on the moment a write is received from the client.
So what i conclude now is that the event function is called via a interrupt and that the interrupt level of this event is higher than the interruptlevel of the systick, so on that moment the systick will be stopped and is not usable for delay functions. I will look to use RTC timer or app_timer to create delay functions if needed.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Are All Interrupts diabled during a BLE event?</title><link>https://devzone.nordicsemi.com/thread/50112?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2016 12:12:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9853fddb-ad5e-441e-b633-0a81409226af</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Ronny,&lt;/p&gt;
&lt;p&gt;What do you mean by &amp;quot;a BLE event&amp;quot; ? It&amp;#39;s when the radio active and communicate or when the application receive the interrupt event  ?&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t think all the interrupt will be disabled during BLE event. Of course the softdevice has higher interrupt priority level than application. But you should receive your interrupt after the softdevice finish with its interrupt handler.&lt;/p&gt;
&lt;p&gt;Please be noted that on the nRF52 Systick will be paused when the CPU sleeping. This should not be the issue if you keep the CPU on. This may not related to your issue.&lt;/p&gt;
&lt;p&gt;For your purpose, I think the best way is to use the RTC timer (or use our app_timer) to implement mS delay.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>