<?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 Problems</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/8958/nrf8001-problems</link><description>Hi, 
 I am trying to get the NRF8001 rev. C chip working with a Tiva Lauchpad (TM4C123GXL) board. I modified the original Arduino SDK for use with Energia. I am using the nrfToolbox app for Windows Phone 8.1. 
 Problem 1: 
I got the UART example working</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 03 Sep 2015 07:50:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/8958/nrf8001-problems" /><item><title>RE: NRF8001 Problems</title><link>https://devzone.nordicsemi.com/thread/33001?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2015 07:50:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f10becff-d060-49f0-b6e1-460bcf2f2536</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;I think you maybe right, I will ask the developer to examine the nRFToolbox. For attachments you need to put it in the answer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF8001 Problems</title><link>https://devzone.nordicsemi.com/thread/32999?ContentTypeID=1</link><pubDate>Thu, 03 Sep 2015 07:45:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:407f55e1-b37a-48d3-8bba-f7de355d8cb7</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;See answer below&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF8001 Problems</title><link>https://devzone.nordicsemi.com/thread/33000?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2015 20:38:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:acbdbc89-ceb0-40b7-84d9-1cf38741079b</guid><dc:creator>inder</dc:creator><description>&lt;p&gt;Unfortunately, I don&amp;#39;t have an Android device at the moment. But, I used BLE Explorer to test this (&lt;a href="https://github.com/danardelean/BLEExplorer.WP)"&gt;github.com/.../BLEExplorer.WP)&lt;/a&gt;. And, I was able to send and receive data without any problems. No matter how many times I connected / disconnected. Now when I use nrfToolbox I can send data from the launchpad but cannot send data to it (previously I couldn&amp;#39;t send data from the launchpad). And I don&amp;#39;t get this 0x90 error anymore ! I think the problem is in the nrfToolbox app, maybe ?&lt;/p&gt;
&lt;p&gt;I have added the UART data seen on the Serial Monitor in the original question. Dunno why I can&amp;#39;t add attachments here ?&lt;/p&gt;
&lt;p&gt;Thanks !&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF8001 Problems</title><link>https://devzone.nordicsemi.com/thread/32998?ContentTypeID=1</link><pubDate>Wed, 02 Sep 2015 08:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9327ff43-bf40-4b96-92cb-cbfa74d4358f</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;For problem one:
You  attempt to send and you get a Pipe Error code 0x90.
Looking this up in the documentation aka [Product Specification]
(&lt;a href="https://www.nordicsemi.com/eng/Products/Bluetooth-Smart-Bluetooth-low-energy/nRF8001)"&gt;www.nordicsemi.com/.../nRF8001)&lt;/a&gt;
we see that in the Appendix for ACI status codes&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;0x90 ACI_STATUS_ERROR_PIPE_INVALID Pipe Error Event : Transmit failed,
Invalid or unavailable Pipe number or
unknown pipe type&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Clearly the pipe exists so this is not invalid so this may be a case of inadequate documentation.&lt;/p&gt;
&lt;p&gt;Would it be possible to get the SPI messages you are sending and receiving printed out on the UART, the Arduino code base this by using the lib_aci_init and setting the debug parameter to true.&lt;/p&gt;
&lt;p&gt;Can you use a different app, like BLE scanner to test this out ? You will need to subscribe to Notifications. You can also use our Master Control panel app on Android to test this.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF8001 Problems</title><link>https://devzone.nordicsemi.com/thread/32997?ContentTypeID=1</link><pubDate>Sun, 30 Aug 2015 07:34:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d53cdabb-00ad-451e-a3c3-ee9e94e0dc92</guid><dc:creator>inder</dc:creator><description>&lt;p&gt;I have found the solution to problem 2. So the old rev. C chip uses a slightly different BOND (0x10) command. For the rev. C the timeout limits are from 1 to 30 and for the rev. D the timeout limits are 1 to 180 seconds. The examples in the Arduino SDK are all for rev. D and all use a 180 second timeout value. Changing this value to 30 seconds made everything work.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>