<?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>SPI long handler and crach</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/14201/spi-long-handler-and-crach</link><description>Hello,
Platform nRF52 with SDK 11 (S132) 
 I use nrf_drv_spi_init to register a Handler (used for screen and SD card so it can be long) 
 I have sometimes crashes when i have activity on SPI and BLE at the same time. My Handler is maybe too long for</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 22 Jul 2016 16:56:28 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/14201/spi-long-handler-and-crach" /><item><title>RE: SPI long handler and crach</title><link>https://devzone.nordicsemi.com/thread/54263?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2016 16:56:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:afd55f61-80bd-49ee-b4c9-285970718c65</guid><dc:creator>bvuong87</dc:creator><description>&lt;p&gt;Hi, I had a quick question on this:&lt;/p&gt;
&lt;p&gt;From where does the conflict arise if the SPI IRQ priority is APP_IRQ_PRIORITY_HIGH? My understanding of the IRQ priorities is all BLE and SD related priorities run at level APP_IRQ_PRIORITY_HIGHEST, so even if SPI is running at APP_IRQ_PRIORITY_HIGH, shouldn&amp;#39;t the SD still be able to take control of the system as needed?&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI long handler and crach</title><link>https://devzone.nordicsemi.com/thread/54262?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 19:33:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1793a952-9dab-41c8-ba8c-8e9d60fc98ba</guid><dc:creator>Fabien Comte</dc:creator><description>&lt;p&gt;Perfect, thank you&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: SPI long handler and crach</title><link>https://devzone.nordicsemi.com/thread/54261?ContentTypeID=1</link><pubDate>Tue, 31 May 2016 16:01:19 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b736c7c7-496b-40e7-ac63-f9ab604b6b50</guid><dc:creator>James Yu</dc:creator><description>&lt;p&gt;In the &lt;code&gt;nrf_drv_spi_config_t&lt;/code&gt; struct used to initialize the SPI, you can set the &lt;code&gt;irq_priority&lt;/code&gt; field to &lt;code&gt;APP_IRQ_PRIORITY_LOW&lt;/code&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>