<?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 I use the arduino libray if I implement arduino shiled on nrf52840 preview dk?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/30803/can-i-use-the-arduino-libray-if-i-implement-arduino-shiled-on-nrf52840-preview-dk</link><description>Hi DevZone, 
 I am going to implement Arduino CAN bus shield on nrf52840 preview DK. I am wondering if I can use the Arduino CAN bus library in the nrf52840 preview DK. As the nrf52840 DK is Arduino compatible, the PIN interface seems matching with arduino</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 28 Feb 2018 14:12:36 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/30803/can-i-use-the-arduino-libray-if-i-implement-arduino-shiled-on-nrf52840-preview-dk" /><item><title>RE: Can I use the arduino libray if I implement arduino shiled on nrf52840 preview dk?</title><link>https://devzone.nordicsemi.com/thread/122316?ContentTypeID=1</link><pubDate>Wed, 28 Feb 2018 14:12:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c94dedc3-c4f3-4c69-9ac5-173d0823bb9d</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Yes, you can use SPI interface to communicate with the&amp;nbsp;&lt;span&gt;Arduino CAN bus shield. As you say,&amp;nbsp;&amp;nbsp;nRF52850 will work as a SPI master if you are using it with the CAN bus shield. The spi_master_using_nrf_spi_mngr example can be used as reference. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;As for the library, you have to rewrite it in C like I said in my previous answer.&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I use the arduino libray if I implement arduino shiled on nrf52840 preview dk?</title><link>https://devzone.nordicsemi.com/thread/122014?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 22:57:00 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b293a00e-ac94-45c0-bd17-d7a631be73f0</guid><dc:creator>Ree Wang</dc:creator><description>&lt;p&gt;Thanks! Is the nRF52840 PDK compatible with Arduino CAN bus shield at SPI interface? Do I need to modify nRF52840&amp;#39;s SPI driver? To my understanding, if arduino CAN bus shiled is applied, nRF52850 will work as a SPI master.&lt;/p&gt;
&lt;p&gt;If so, which example from SDK14.2.0 I can use as the reference code?&amp;nbsp;is it nRF5_SDK_14.2.0_17b948a\examples\peripheral\spi_master_using_nrf_spi_mngr?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;For CAN bus library, do I have to rewrite the Arduino CAN bus library in C? I am using SEGGER embedded studio IDE.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Can I use the arduino libray if I implement arduino shiled on nrf52840 preview dk?</title><link>https://devzone.nordicsemi.com/thread/121974?ContentTypeID=1</link><pubDate>Mon, 26 Feb 2018 14:20:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39a5a490-1e99-493a-b7e0-00b71b5fab89</guid><dc:creator>Mttrinh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The nRF52840 PDK kits are hardware compatible with the Arduino Uno Revision 3 standard, making it possible to use 3rd-party shields that are compatible to this standard. It is hardware compatible but your code have to be in C. The Arduino CAN bus library is written in C++.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>