<?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 S140 and SWI2 interrupt handing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/81202/softdevice-s140-and-swi2-interrupt-handing</link><description>Hey 
 I&amp;#39;m using the softdevice s140 in my project (and the latest SDK 17.x). 
 I successfully enable the softdevice and am able to start an advertising (as peripheral). However when I try to connect to it via a central device the connection times out</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 02 Nov 2021 14:17:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/81202/softdevice-s140-and-swi2-interrupt-handing" /><item><title>RE: Softdevice S140 and SWI2 interrupt handing</title><link>https://devzone.nordicsemi.com/thread/337119?ContentTypeID=1</link><pubDate>Tue, 02 Nov 2021 14:17:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:603dccb8-acfd-4db2-9091-74b171d60bb5</guid><dc:creator>M. David.</dc:creator><description>&lt;p&gt;Thanks for your answer. I agree with your suggestion to use the SoftDevice Hanlder library, however I could not get it to work. Now I&amp;#39;ve found out, that our application overwrites the vector-table and I forgot to add the correct irq-handler (provided by nrf_soh.h) to the SWI2. Now, after configuring it correctly it works perfectly. &lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice S140 and SWI2 interrupt handing</title><link>https://devzone.nordicsemi.com/thread/336652?ContentTypeID=1</link><pubDate>Fri, 29 Oct 2021 11:18:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:78d656e3-a9b2-4464-ac4a-e3b2bd089b81</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I would recommand that you use the &lt;span&gt;&lt;a title="SoftDevice Handler library" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.1.0/lib_softdevice_handler.html?cp=8_1_3_48"&gt;SoftDevice Handler library&lt;/a&gt;&lt;/span&gt; (nrf_sdh.c, nrf_sdh_ble.c, nrf_sdh_soc.c ) like in our BLE example instead of polling and propagating the events yourself. The main problem with declaring your own SD_EVT_IRQHandler is that you will have implement a mechanism to forward SoC and BLE events to other SDK modules.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Vidar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>