<?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 transfer</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/11076/spi-transfer</link><description>I&amp;#39;v read the Arduino SDK for nRF8001 (and Poring ACI to any other microcontroller)
some questions: 
 1)the source code is complicated and there is&amp;#39;nt enough comment on that. how can I find a document to help me understand better and port. 
 
 as I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 30 Dec 2015 21:40:50 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/11076/spi-transfer" /><item><title>RE: spi transfer</title><link>https://devzone.nordicsemi.com/thread/41434?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2015 21:40:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:344c8dd9-f799-4987-918a-904c402d60ad</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;Where, exactly, is this &amp;quot;uart_tx&amp;quot;  you are talking about?
I don&amp;#39;t see it anywhere in the EFM32 port.&lt;/p&gt;
&lt;p&gt;In the original &lt;strong&gt;ble-sdk-arduino&lt;/strong&gt;, it appears only in the examples - it is not part of the library itself.
And, as I said, it sends data over the air using the Nordic UART-over-BLE service - it has nothing to do with the communication between the host MCU and the nRF8001.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi transfer</title><link>https://devzone.nordicsemi.com/thread/41433?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2015 17:12:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2fb86fff-97ab-406d-a465-d424a0ba819d</guid><dc:creator>Mohsen</dc:creator><description>&lt;p&gt;thank you awneil for your answer. can you explain more for me about my question number 3 . I really cant find any relationship between  &amp;quot;uart_tx&amp;quot; and spi hardware functions.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: spi transfer</title><link>https://devzone.nordicsemi.com/thread/41432?ContentTypeID=1</link><pubDate>Wed, 30 Dec 2015 10:05:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:74ddf7aa-bcb3-42af-8a96-6174603ef31a</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;This seems to be a continuation of your previous question:&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/question/62639/stm32f103-with-stm32cubef1/"&gt;devzone.nordicsemi.com/.../&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;If you feel that question is now closed, then please accept my answer there.&lt;/p&gt;
&lt;p&gt;Porting the &lt;strong&gt;ble-sdk-arduino&lt;/strong&gt; is really not that hard; the main things are&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Pulling out the Arduino-specific stuff;&lt;/li&gt;
&lt;li&gt;Getting it to compile in Keil.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;It seems that the EFM32 port has already done that - so you should just have to adjust the hardware-specific bits; ie, the SPI, IO lines, and interrupt.&lt;/p&gt;
&lt;p&gt;You really don&amp;#39;t need to touch any of the actual ACI code.&lt;/p&gt;
&lt;p&gt;The only disadvantage with the EFM32 port seems to be that there are no examples with it.
But it shouldn&amp;#39;t be hard to adapt the original Arduino examples.&lt;/p&gt;
&lt;p&gt;I guess the &amp;quot;uart_tx&amp;quot; function name come from the case of using the Nordic UART-over-BLE service - it has nothing to do with the communication between the host MCU and the nRF8001?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>