<?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 no response to Test mode command</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/1767/nrf8001-no-response-to-test-mode-command</link><description>Hi, i&amp;#39;ve just started to use the nRF8001, so forgive me if this is an obvious problem. 
 i&amp;#39;m using the nRF8001 with a microchip PIC processor.
i&amp;#39;m using the ace_tl_demo project to test the hardware.
On power-up I receive the deviceStartedEvent (04</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 07 Oct 2016 17:09:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/1767/nrf8001-no-response-to-test-mode-command" /><item><title>RE: nRF8001 no response to Test mode command</title><link>https://devzone.nordicsemi.com/thread/7730?ContentTypeID=1</link><pubDate>Fri, 07 Oct 2016 17:09:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0472afcb-893d-4ca0-a71b-3fb8863ff2a9</guid><dc:creator>didier</dc:creator><description>&lt;p&gt;I know this is a old post, but since I was facing the same issue trying to port the code to PIC18F, I will give you my 5cents on this question.&lt;/p&gt;
&lt;p&gt;My issue was with the SPI mode of PIC, since PIC and Arduino uses different parameters to set them, the table below shows the compatibility for them:&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/SPI_5F00_Modes_5F00_PIC.jpg" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Hope it helps!!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 no response to Test mode command</title><link>https://devzone.nordicsemi.com/thread/7729?ContentTypeID=1</link><pubDate>Fri, 11 Jul 2014 23:30:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:86a06218-4a25-4cd0-b04c-70ea7de75f6f</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;My apologies for the delayed response. The nRF8001 sends the SPI messages in the formats as specified in section 7 of the data sheet.
So the Events always come with    &amp;lt;Data ....&amp;gt;
Commands are always sent as   &amp;lt;Data ....&amp;gt;&lt;/p&gt;
&lt;p&gt;When sending a command you need to place the REQN low, wait for the RDYN and then clock out  your SPI message and then raise the REQN line . If the nRF8001 is not responding you are most likely not following the sequence.&lt;/p&gt;
&lt;p&gt;When receiving a message the sequence is simpler as RDYN is already low, you then have to lower the REQN line, clock the SPI message and then once the full SPI message is received raise the REQN line.&lt;/p&gt;
&lt;p&gt;If you need more help please post your logic analyzer trace with REQN, RDYN, MISO, MOSI, SCK and RESET lines.&lt;/p&gt;
&lt;p&gt;Also note we usually clock 2 bytes from the SPI master to determine the length of the Event coming from the nRF8001 and then determine how many bytes to be clocked.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>