<?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 setup</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5402/nrf8001-setup</link><description>Very new, so please forgive the questions, but... 
 I have an nrf8001 that I&amp;#39;ve powered up. After initial power up, I&amp;#39;m able to read the DeviceStartedEvent but the response doesn&amp;#39;t seem to follow spec. This is what I see: 
 BlueLE_Read:(80) 20 81 40</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Feb 2015 13:03:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5402/nrf8001-setup" /><item><title>RE: nrf8001 setup</title><link>https://devzone.nordicsemi.com/thread/18861?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 13:03:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aee1ddce-7433-4f3b-82e9-d33470c10483</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;I&amp;#39;m sure you &amp;quot;read&amp;quot; the bits in the wrong order. Debug byte should be 0x01 (0x80 reversed). Length is definitely not 20, should be the &amp;quot;reverse&amp;quot; = 0x04. 81 is the same number both ways. 40, should be reversed = 0x02, etc. Check chapter 7.1.2 SPI mode in the product specification.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 setup</title><link>https://devzone.nordicsemi.com/thread/18860?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2015 14:40:57 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dde47d11-7b42-4aa2-9542-181228552801</guid><dc:creator>awolverton</dc:creator><description>&lt;p&gt;Thanks for the reply, but I&amp;#39;m a little confused by this.  The response is being bit-banged off the SPI interface 1 byte at a type and the responses of the DeviceStartedEvent are 1 byte words.  I don&amp;#39;t think this is an Endian problem.&lt;/p&gt;
&lt;p&gt;According to the spec, my payload would parse as:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;80 - debug byte&lt;/li&gt;
&lt;li&gt;20 - payload size&lt;/li&gt;
&lt;li&gt;81 - device started event indicator&lt;/li&gt;
&lt;li&gt;40 - ????  but should be operating mode should be 0x01, 0x02, or 0x03&lt;/li&gt;
&lt;li&gt;00 - ???? hardware error should be 0x00 or 0x01, I guess this is a legit response?&lt;/li&gt;
&lt;li&gt;40 - available buffers, not sure how to use this... maybe it&amp;#39;s just an indicator&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;I can&amp;#39;t try the echo suggestion because I have a second issue in that the per the spec, I am following this sequence:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;Reboot and watch Rdyn ~ 62ms goes low&lt;/li&gt;
&lt;li&gt;Read the odd payload from above.  I think this is a DeviceStartedEvent&lt;/li&gt;
&lt;li&gt;Prepare to send setup&lt;/li&gt;
&lt;li&gt;Set Reqn line low&lt;/li&gt;
&lt;li&gt;Watch the Rdyn to go low, but it never does&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I&amp;#39;m at a loss here.  The first thing off the buffer doesn&amp;#39;t seem to follow spec and it&amp;#39;s not responding to flow control.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf8001 setup</title><link>https://devzone.nordicsemi.com/thread/18859?ContentTypeID=1</link><pubDate>Tue, 03 Feb 2015 13:19:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:44e6f20f-7b3c-4dbe-a8c7-5d72477d9461</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Please make sure you have the correct endianness. The ACI interface is Least significant bit first. You can use the ble_aci_transport_layer_verification template (echo command) to verify your SPI implementation. Please refer to the nRF8001 product specification for more details on the ACI interface.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>