<?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/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/9400/nrf8001-msp430-cannot-receive-transmit-after-pairing</link><description>Hi, 
 I&amp;#39;m trying to interface the nRF8001 using an MSP430 device (specifically Adafruit&amp;#39;s breakout board and MSP430fg439) for sending analogue data from the sensor hosted by MSP430 out to a smartphone. 
 I have followed the example from this thread</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 23 Oct 2015 09:13:16 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/9400/nrf8001-msp430-cannot-receive-transmit-after-pairing" /><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34681?ContentTypeID=1</link><pubDate>Fri, 23 Oct 2015 09:13:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dabcb152-c2a7-49f0-a8a6-7ac85cef2d20</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I&amp;#39;m glad to hear it is working for you know. Please accept the answer if this is what did it. Thanks.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34680?ContentTypeID=1</link><pubDate>Thu, 22 Oct 2015 23:13:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c5153ff4-0319-4665-8721-2ff3b441fb3c</guid><dc:creator>n.t.</dc:creator><description>&lt;p&gt;Runar, I got it to work. Thank you very much!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34679?ContentTypeID=1</link><pubDate>Thu, 15 Oct 2015 13:05:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:080ff804-adb8-426b-90e3-c1838551135c</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;To enable notifications the peer will have to write to the cccd of the characteristic you are using to send data. If this isn&amp;#39;t enabled calling lib_aci_send_data will result in a PipeErrorEvent. So to debug you can check if you get this, or you can use lib_aci_is_pipe_available to check if the pipe is open or not prior to calling lib_aci_send_data. If the pipe isn&amp;#39;t available you could write something on a serial interface or halt the code for debugging.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34678?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2015 20:20:47 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dd303fa7-794b-4344-be73-b5eaf721ff02</guid><dc:creator>n.t.</dc:creator><description>&lt;p&gt;Runar,&lt;/p&gt;
&lt;p&gt;Thank you very much for following up.&lt;/p&gt;
&lt;p&gt;I have not figured it out.&lt;/p&gt;
&lt;p&gt;I believe you are correct about the lib_aci_init function. We&amp;#39;ve had to rewrite this function quite a bit to address the errors that arose from TI Code Composer Studio. We could not declare it as &amp;quot;lib_aci_init(aci_state_t *aci_stat)&amp;quot;. This generated errors throughout from aci_state_t and aci_stat not always being identifiable.&lt;/p&gt;
&lt;p&gt;The way we write it at the moment (lib_aci_init(services_pipe_type_mapping, NUMBER_OF_PIPES, setup_msgs, NB_SETUP_MESSAGES)) generates no errors and allows for pairing but not transmission.&lt;/p&gt;
&lt;p&gt;The files for the project and the Serial Debug Log can be found &lt;a href="https://www.dropbox.com/sh/x6nynjq6vsze416/AAA-fawzHsv7hLzs7rcSLuBBa?dl=0"&gt;here&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thank you very much for your help; I very much appreciate it.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34677?ContentTypeID=1</link><pubDate>Tue, 13 Oct 2015 12:41:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c0c37228-7d70-43ba-b437-a1f75c76c266</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I&amp;#39;m really sorry, this case simply disappeared from my radar. Did you figure it out? I can take a look at the serial debug log if you are able to get that.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34676?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2015 10:39:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d08c7ebc-1323-4a93-b1a3-01cc2b32fe9b</guid><dc:creator>n.t.</dc:creator><description>&lt;p&gt;Runar,&lt;/p&gt;
&lt;p&gt;Thank you very much for your response.&lt;/p&gt;
&lt;p&gt;The references for the SPI are in the hardware.h file. I have uploaded the &lt;a href="https://www.dropbox.com/sh/x6nynjq6vsze416/AAA-fawzHsv7hLzs7rcSLuBBa?dl=0"&gt;files for the project&lt;/a&gt;. I hope this works. Apologies for the trouble and thank you very much, I very much appreciate your help!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001/MSP430; cannot receive/transmit after pairing</title><link>https://devzone.nordicsemi.com/thread/34675?ContentTypeID=1</link><pubDate>Fri, 25 Sep 2015 09:39:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4b0b640-015a-4c0e-bd81-761842a2598b</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Can you please upload the SPI capture file, this should show the complete sequence. Or you could possibly turn on debuggin with lib_aci_init(&amp;amp;aci_state, true); if this function still works in your port.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>