<?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>Hardlock issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1192/hardlock-issue</link><description>Chip: NRF51822
softstack version: 5.2.1
I ran into an issue and i&amp;#39;m trying to understand it better. I was calling the function sd_ble_gatts_value_set(...) from a GPIOTE callback and the processor harlocked. Called from outside of the GPIOTE callback</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Jan 2014 15:13:45 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1192/hardlock-issue" /><item><title>RE: Hardlock issue</title><link>https://devzone.nordicsemi.com/thread/5558?ContentTypeID=1</link><pubDate>Thu, 02 Jan 2014 15:13:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8de3c23e-722c-42eb-9e20-3302a1da1d66</guid><dc:creator>Ole Morten</dc:creator><description>&lt;p&gt;Due to the way the softdevice works, you can&amp;#39;t call softdevice API functions from interrupts with higer priority than the SVC handler (i.e. not from NRF_APP_PRIORITY_HIGH). You should therefore either lower the IRQ priority to NRF_APP_PRIORITY_LOW, or just do what you now do and always call this function from main context.&lt;/p&gt;
&lt;p&gt;This is explained in &lt;a href="https://www.nordicsemi.com/eng/content/download/13233/212988/file/nRF51_Series_Reference_Manual_v2.1.pdf"&gt;the appendix of the nRF51 Reference Manual&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>