<?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 echo command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/35400/nrf8001-echo-command</link><description>Hello! 
 I am trying to set up the interface between an ARM Cortex-M4 andthe nRF8001. After RESET I see following data on the MISO line: 
 (turquoise=REQN/CS - pink=MOSI - blue=CLK - yellow=MISO) 
 
 0x80 - 0x20 - 0x81 - 0x40 - 0x00 - 0x40 - 0x00 - 0x00</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 15 Jun 2018 08:04:35 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/35400/nrf8001-echo-command" /><item><title>RE: nRF8001 echo command</title><link>https://devzone.nordicsemi.com/thread/136291?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 08:04:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ec7b98d3-c6b2-4a3f-beb5-3c16935335ef</guid><dc:creator>PhilippS</dc:creator><description>&lt;p&gt;Thank you for your help to get started with the nRF8001!! It is working now.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 echo command</title><link>https://devzone.nordicsemi.com/thread/136264?ContentTypeID=1</link><pubDate>Fri, 15 Jun 2018 07:01:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:18b614f3-5638-4de5-9072-5ab5c1fdb66d</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;The echo command is only valid in test mode. Take a look &lt;a href="http://infocenter.nordicsemi.com/pdf/nRF8001_PS_v1.3.pdf#G1047112"&gt;here &lt;/a&gt;to see the commands mode dependencies.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 echo command</title><link>https://devzone.nordicsemi.com/thread/136175?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 12:50:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:660d1f95-27bc-4c0a-bd7e-becc80293bbc</guid><dc:creator>PhilippS</dc:creator><description>&lt;p&gt;I checket the ps and it seems that I receive the right data:&lt;/p&gt;
&lt;p&gt;0x01 (Debug)&lt;br /&gt;0x03 (Lenght&lt;/p&gt;
&lt;p&gt;0x84 (Command Response Event)&lt;/p&gt;
&lt;p&gt;0x02 (Echo response)&lt;/p&gt;
&lt;p&gt;0x83 (Status)&lt;/p&gt;
&lt;p&gt;Status says that the state is invalide for the command.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 echo command</title><link>https://devzone.nordicsemi.com/thread/136167?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 12:29:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e6c83c24-933c-4827-b015-50575b21feca</guid><dc:creator>PhilippS</dc:creator><description>&lt;p&gt;After changing byte[0] (lenght) to 0x80 (=1000.0000) --&amp;gt; LSB is sent first --&amp;gt; 0000.0001 =&amp;gt; lenght is 1 (if this is right?) I receive an reply from the nRF8001.&lt;/p&gt;
&lt;p&gt;I send an echo command (0x02) (byte[1] = 0x40) and receive 0x21 --&amp;gt;LSB first =&amp;gt; 0x84 which is the CommandResponseEvent.&lt;/p&gt;
&lt;p&gt;It seems that there is a problem with MSB/LSB first because I have to swap the transmittig and receiving data?&lt;/p&gt;
&lt;p&gt;Is this the right sequence: sending 0x02 and rreceiving 0x84 ?&lt;/p&gt;
&lt;p&gt;When would i receive the EchoEvent 0x82?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 echo command</title><link>https://devzone.nordicsemi.com/thread/136155?ContentTypeID=1</link><pubDate>Thu, 14 Jun 2018 12:07:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ed70d51d-0453-405d-8845-3727803a4a9f</guid><dc:creator>run_ar</dc:creator><description>&lt;p&gt;Seems right. Note that when you receive data from the nRF8001 there is a debug byte that you can disregard, but this is documented in the ps. Please also see our porting guide &lt;a href="https://github.com/NordicSemiconductor/ble-sdk-arduino/blob/master/documentation/libraries/BLE/nRF8001-Porting-ACI-Library.md"&gt;here&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>