<?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>nrf8001 communication msp430 and UART</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/4703/nrf8001-communication-msp430-and-uart</link><description>Hi, 
 I would like to connect my msp430f1611 with NRF8001 bluetooth module and send data with an SPI communication. I found an interesting guide here with the main part of the code already developed.
There are many files and especially the ones of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 11 Dec 2014 15:52:58 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/4703/nrf8001-communication-msp430-and-uart" /><item><title>RE: nrf8001 communication msp430 and UART</title><link>https://devzone.nordicsemi.com/thread/16669?ContentTypeID=1</link><pubDate>Thu, 11 Dec 2014 15:52:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a93459b-109e-4e61-83bc-98be72a1e768</guid><dc:creator>clacla</dc:creator><description>&lt;p&gt;Thanks a lot. Very helpful.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 communication msp430 and UART</title><link>https://devzone.nordicsemi.com/thread/16668?ContentTypeID=1</link><pubDate>Thu, 11 Dec 2014 11:54:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7402a40f-3acb-4468-9242-ae1064fc2a9d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;Edit : Added more info in the original answer. You are correct there may be a lot of missing functions in the msp430 port for lib_aci.c , but you can port them from the Arduino lib_aci.cpp. The initial set of functions was only to verify the transport layer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 communication msp430 and UART</title><link>https://devzone.nordicsemi.com/thread/16667?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2014 17:01:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:48268dc6-41cd-4b94-8d36-dc9bd0b3368f</guid><dc:creator>clacla</dc:creator><description>&lt;p&gt;Maybe I found it. Is it the lib_aci.c file? Because it seems completely rewritten compared to the lib_aci.cpp file implemented in the getting started example for the communication between arduino to the phone over the nrf8001. More specifically, in the lib_aci.c (the one included in the project for the SPI communication only) a lot of functions that are present in the lib_aci.cpp are missing.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 communication msp430 and UART</title><link>https://devzone.nordicsemi.com/thread/16666?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2014 16:16:08 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:90067e5a-2fa2-48b7-a0c0-21176b98cdde</guid><dc:creator>clacla</dc:creator><description>&lt;p&gt;Thanks.&lt;/p&gt;
&lt;p&gt;So if I understood well I need to change the code in the BLE files but I don&amp;#39;t understand which the UART part of the code you are referring to. What I think is that the communication is &amp;quot;divided&amp;quot; in two parts. From the msp430 to the nrf8001 and from the nrf8001 to the phone. The two parts should be independent from each other so that the type of microcontroller that I am using should not interfere with the nrf8001 to UART APP communication.
The code for the second part of the communication (bluetooth) should be already there and should be the same of the bluetooth communication when the microcontroller is replaced by the Arduino module. Ok, I may need to add this code to the example provided for the msp430 (mentioned in the question) but it&amp;#39;s not clear to me why the code for UART bluetooth communication has to be changed and which files (part) of the code.&lt;/p&gt;
&lt;p&gt;Thanks.
Claudio&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 communication msp430 and UART</title><link>https://devzone.nordicsemi.com/thread/16665?ContentTypeID=1</link><pubDate>Fri, 05 Dec 2014 09:24:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:142cde76-90f1-4ecf-9c91-87fdbdbf8d9e</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The minimal port &lt;a href="https://devzone.nordicsemi.com/question/3375/nrf8001-acilib-for-16-bit-microprocessor/?answer=3742#post-id-3742"&gt;as mentioned in the question&lt;/a&gt; handles only the hardware SPI/ACI implementation and also implements the Echo test so that the ACI/SPI transport layer can be tested.
It should be easy to add the code for UART over BLE from the &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino"&gt;nRF8001 SDK for Arduino&lt;/a&gt;, however you need to rewrite the UART parts of the code for the msp430.&lt;/p&gt;
&lt;p&gt;The parts that need to be re-written are the Arduino specific pieces for DigitalRead , DigitalWrite and the Serial. The Serial is used to communicate betweem the COM port of the PC and the Arduino. You also need to port over the functions in lib_aci.cpp in the Arduino version that are used to construct ACI messages.&lt;/p&gt;
&lt;p&gt;edit: spacing&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>