<?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>Can&amp;#39;t get SPI1 interrupt (nrf51)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/12443/can-t-get-spi1-interrupt-nrf51</link><description>Hi!
I&amp;#39;m experimenting with a bare-metal implementation of SPI connectivity among two nrf51 modules. One of them is master, another is slave. 
 The problem is, the below code doesn&amp;#39;t trigger an interrupt after starting task in send_spi_data.
Is it fine</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 10 Mar 2016 09:45:03 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/12443/can-t-get-spi1-interrupt-nrf51" /><item><title>RE: Can't get SPI1 interrupt (nrf51)</title><link>https://devzone.nordicsemi.com/thread/47097?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2016 09:45:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4bff7cff-f607-4e32-b465-8c129e48ea7a</guid><dc:creator>Stanislav Silnitskiy</dc:creator><description>&lt;p&gt;Thank you, Martijn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't get SPI1 interrupt (nrf51)</title><link>https://devzone.nordicsemi.com/thread/47096?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2016 09:31:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:00e1ba2d-1165-452c-a09b-20d227f4f4a8</guid><dc:creator>Martijn</dc:creator><description>&lt;p&gt;Yes, I am sorry. There are more peripherals that use EasyDMA:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;RADIO&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;AAR&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;CCM&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;ECB&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;SPIS&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;So.. yes. Spi slave can use EasyDMA&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't get SPI1 interrupt (nrf51)</title><link>https://devzone.nordicsemi.com/thread/47095?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2016 09:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e44ffb34-f6e7-48ef-94bf-3ffd7471678a</guid><dc:creator>Stanislav Silnitskiy</dc:creator><description>&lt;p&gt;ok. And how about SPIS? nRF51822 Product Specification v3.1 suggests SPIS can use EasyDMA.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't get SPI1 interrupt (nrf51)</title><link>https://devzone.nordicsemi.com/thread/47094?ContentTypeID=1</link><pubDate>Thu, 10 Mar 2016 08:13:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51fd554f-0d7b-4810-b985-cceec0509d74</guid><dc:creator>Martijn</dc:creator><description>&lt;p&gt;Ah, you are using the nrf51.
The nrf51 does not have EasyDMA for SPI, only for the RADIO.
the nrf51 does not have the PTR, MAXCNT registers etc. those are for the nrf52
see &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF51_RM_v3.0.pdf"&gt;infocenter.nordicsemi.com/.../nRF51_RM_v3.0.pdf&lt;/a&gt; for the nrf51 spi specification&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can't get SPI1 interrupt (nrf51)</title><link>https://devzone.nordicsemi.com/thread/47093?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2016 21:21:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d01dcc1f-729e-475d-9720-017f1f6ef730</guid><dc:creator>Stanislav Silnitskiy</dc:creator><description>&lt;p&gt;Looks like my version of nrf51 doesn&amp;#39;t like SPIM mode. Although SPI works fine as master. Are there any checks possible to make to guess whether hardware supports EasyDMA in Master mode?&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;UPDATE
I see the revision of my chip is IC_REVISION_NRF51_REV3 with 32 kb RAM and 256 kb Flash...&lt;/p&gt;
&lt;p&gt;&lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51422_nRF51822_ic_rev_sdk_%20sd_comp_matrix.html?cp=2_0_3"&gt;infocenter.nordicsemi.com/.../nRF51422_nRF51822_ic_rev_sdk_ sd_comp_matrix.html&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;denotes it is compatible with SDK ver 10.0, which I use&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>