<?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>Transfer data over SPI asynchronous in mbed on nRF51DK</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/13107/transfer-data-over-spi-asynchronous-in-mbed-on-nrf51dk</link><description>I am trying to read data from SPI slave on the nRF51DK using mbed online compiler. To do this the mbed SPI library (class) includes a method called transfer. When I try to use this method I get a compile error indicating that the transfer method does</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 13 Apr 2016 06:53:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/13107/transfer-data-over-spi-asynchronous-in-mbed-on-nrf51dk" /><item><title>RE: Transfer data over SPI asynchronous in mbed on nRF51DK</title><link>https://devzone.nordicsemi.com/thread/49974?ContentTypeID=1</link><pubDate>Wed, 13 Apr 2016 06:53:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ceb76c-83d9-4c73-9177-8a820f01086b</guid><dc:creator>arneme</dc:creator><description>&lt;p&gt;Cool, I managed to get it working now reading NMEA data from a GTOP Firefly X1 GPS over the SPI interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer data over SPI asynchronous in mbed on nRF51DK</title><link>https://devzone.nordicsemi.com/thread/49973?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2016 11:50:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e7afaf58-d9bf-44f2-8a48-b538ee01d576</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;You can use native code (access SPI register directly). I can find some examples for mbed doing SPI on nRF51: &lt;a href="https://developer.mbed.org/teams/RedBearLab/code/SPI_Demo_nRF51822/?platform=RedBearLab-nRF51822"&gt;https://developer.mbed.org/teams/RedBearLab/code/SPI_Demo_nRF51822/?platform=RedBearLab-nRF51822&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer data over SPI asynchronous in mbed on nRF51DK</title><link>https://devzone.nordicsemi.com/thread/49972?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2016 09:55:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c34019a2-ef7f-49eb-a040-a76dbef0d92a</guid><dc:creator>arneme</dc:creator><description>&lt;p&gt;So what are my options then? I am trying to read NMEA data from an external GTOP Firefly X1 GPS chip. This chip has a 255 bytes large transfer buffer that I need to read from. Is it possible to include &amp;quot;native&amp;quot; nrf51DK SPI code in an mbed online compiler project? Do I have to export to a offline toolchain (e.g. GCC-ARM) and include &amp;quot;native&amp;quot; nrf51DK SPI code in the exported project? Do I have to abandon mbed and do a full &amp;quot;native&amp;quot; (bare metal or using rtx or freetos OS)?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Transfer data over SPI asynchronous in mbed on nRF51DK</title><link>https://devzone.nordicsemi.com/thread/49971?ContentTypeID=1</link><pubDate>Tue, 12 Apr 2016 09:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:efff5779-196c-48fd-bb0e-88e7d3e83d7f</guid><dc:creator>Hung Bui</dc:creator><description>&lt;p&gt;Hi Arneme,&lt;/p&gt;
&lt;p&gt;No, it&amp;#39;s not supported on nRF51 yet. Also we don&amp;#39;t have DMA for SPI master on nRF51. For nRF52, we may support but I don&amp;#39;t know when.&lt;/p&gt;
&lt;p&gt;Looking at &lt;a href="https://developer.mbed.org/questions/61369/Compiler-error-DEVICE_SPI_ASYNCH/"&gt;this&lt;/a&gt;, seems that only SiliconLabs&amp;#39; chips supporting this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>