<?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>Using fds write in GPIOTE interrupt handler</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/66656/using-fds-write-in-gpiote-interrupt-handler</link><description>Hi, 
 Is it possible to write/read the flash memory, from within the interrupt handler of GPIO? I used an push button connected to a GPIO to wake up the ble chip, then read flash memory, add its counter by one and update it. All done within the handler</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 05 Oct 2020 17:45:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/66656/using-fds-write-in-gpiote-interrupt-handler" /><item><title>RE: Using fds write in GPIOTE interrupt handler</title><link>https://devzone.nordicsemi.com/thread/273044?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 17:45:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cf866a1d-0ea5-4e54-89c7-969055ef9539</guid><dc:creator>ref</dc:creator><description>&lt;p&gt;You&amp;#39;re right. That was the issue. I used a flag and do the read/write in the main().&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks for the help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using fds write in GPIOTE interrupt handler</title><link>https://devzone.nordicsemi.com/thread/272988?ContentTypeID=1</link><pubDate>Mon, 05 Oct 2020 13:02:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b4cd5cbc-4c55-41b9-bfe0-325a490252b7</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;What are you interrupt priorities? You cannot make FDS calls from a too high interrupt priority, as described in &lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/57067/calling-fds_record_update-in-isr/231362#231362"&gt;this post&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>