<?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>does UART is interrupted by BLE SEQUENCE?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/21051/does-uart-is-interrupted-by-ble-sequence</link><description>Q0. What IRQ Priority does BLE Has? and also what IRQ Priority does UART can have? 
 I&amp;#39;m guessing that from s130&amp;#39;s document P65, Exception Model, It says, 
Softdevice Timing Critical has Cortex M0 priority 0, 
Application Interrupt priority is 1, </description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 06 Apr 2017 07:47:56 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/21051/does-uart-is-interrupted-by-ble-sequence" /><item><title>RE: does UART is interrupted by BLE SEQUENCE?</title><link>https://devzone.nordicsemi.com/thread/82259?ContentTypeID=1</link><pubDate>Thu, 06 Apr 2017 07:47:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a6ef990e-bb15-4751-bfac-0c74c016175d</guid><dc:creator>FormerMember</dc:creator><description>&lt;p&gt;The application BLE events (ble_evt_dispatch) have priority APP_IRQ_PRIORITY_MID. Other peripherals can  use the interrupt levels not used by the softdevice. I would however recommend the other peripherals to use a interrupt priority lower than ble_evt_dispatch, in order to not block any BLE events.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: does UART is interrupted by BLE SEQUENCE?</title><link>https://devzone.nordicsemi.com/thread/82258?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 12:45:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a02a569d-aa2e-4989-9e53-de3329e87c56</guid><dc:creator>Daniel T. Lee</dc:creator><description>&lt;p&gt;oh, I might be confused with IRQ number and IRQ Priority.&lt;/p&gt;
&lt;p&gt;Where can I found RADIO&amp;#39;s (or ble_evt_dispatch) IRQ Priority?&lt;br /&gt;
I&amp;#39;m guessing that from s130&amp;#39;s document P65, Exception Model, It says,&lt;/p&gt;
&lt;p&gt;Softdevice Timing Critical has Cortex M0 priority 0,&lt;br /&gt;
Application Interrupt priority is 1,&lt;br /&gt;
Softdevice API Calls and Deferrable handling has priority 2,&lt;br /&gt;
and application interrupts has 3
and lastly Main has other priority.&lt;/p&gt;
&lt;p&gt;At this point, &lt;code&gt;ble_evt_dispatch&lt;/code&gt; has which priority level?&lt;/p&gt;
&lt;p&gt;and also, Priority 1 and 3 is Application Interrupts, and that means, I can use 1 and 3 priority by dedicating Interrupts priority to any Peripheral such as UART, TWI or etc..  by setting at &amp;lt;SDK_config.h&amp;gt; file?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: does UART is interrupted by BLE SEQUENCE?</title><link>https://devzone.nordicsemi.com/thread/82257?ContentTypeID=1</link><pubDate>Mon, 03 Apr 2017 11:26:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f8f0419a-1fed-4406-927b-75b7ef8591ad</guid><dc:creator>RK</dc:creator><description>&lt;p&gt;Your question is rather confused. However the IRQ number only matters if the IRQs have the same priority. In the case of the softdevice the radio and any softdevice operation has a higher priority than any user code (like UART) and will interrupt whenever it wants. Again that&amp;#39;s not to do with the IRQ number, that&amp;#39;s to do with the IRQ priority set for that interrupt.&lt;/p&gt;
&lt;p&gt;Interrupts work correctly because they save the full stack state ready for return from interrupt, so it doesn&amp;#39;t matter how many times you&amp;#39;re interrupted, your code will work correctly, as long as your code isn&amp;#39;t realtime and can tolerate interrupts being delayed by ms at a time.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>