<?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>MCP2515 with NRF51-DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9353/mcp2515-with-nrf51-dk</link><description>Hi, 
I am trying to interface MCP2515 with nrf51-dk. MCP2515 talks over SPI, so I have taken SPI_master as my base code. I have used MCP with arduino, so I thought it would be best to modify that library which can be found here . 
But when I&amp;#39;m trying</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Sun, 04 Mar 2018 04:18:10 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9353/mcp2515-with-nrf51-dk" /><item><title>RE: MCP2515 with NRF51-DK</title><link>https://devzone.nordicsemi.com/thread/122706?ContentTypeID=1</link><pubDate>Sun, 04 Mar 2018 04:18:10 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1e27d26a-be54-49ac-a7da-b44ec6f271a5</guid><dc:creator>Ree Wang</dc:creator><description>&lt;p&gt;Dear Lalit Kumar,&lt;/p&gt;
&lt;p&gt;I am working on nRF52840 Preview DK with a Arduino CAN Bus shield which using MCP2515.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do you think it will work with your library?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCP2515 with NRF51-DK</title><link>https://devzone.nordicsemi.com/thread/34529?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2015 10:42:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9e6c57f-2880-4611-bc0f-772bddba600a</guid><dc:creator>Lalit Kumar</dc:creator><description>&lt;p&gt;Hi, your 5th point was the answer. Figured it out the hard way by putting delays. Learned that error check is important. Thanks for the reply.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: MCP2515 with NRF51-DK</title><link>https://devzone.nordicsemi.com/thread/34528?ContentTypeID=1</link><pubDate>Wed, 23 Sep 2015 10:40:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9591f322-7ef6-4dcf-b274-aca9a71d1b19</guid><dc:creator>MartinBL</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;No they are not. Maximum voltage is specified in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51.v1.0.0/pdflinks/51822_ps.html?cp=2_3_0"&gt;Product Specification&lt;/a&gt; as Vdd.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This should not be a problem.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;This is no problem either.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I&amp;#39;m not sure if I understand what you mean by this, but you decide what address in the MCP2515 you want to read from by sending a read instruction followed by a byte containing the address in the MCP2515 that you want to read from. From the MCP2515 datasheet 12.3. From the data sheet: &lt;em&gt;Next, the data stored in the register at the selected address will be shifted out on the SO pin&lt;/em&gt;.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;My bet is that you are trying to transfer data too rapidly. I.e. the SPI is busy transferring data when you tell it transfer more data. The SPI transfer function &lt;em&gt;spi_master_send_recv()&lt;/em&gt; will return the error code &lt;em&gt;NRF_ERROR_BUSY&lt;/em&gt; if this is the case.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>