<?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 advertising issue</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/26249/nrf8001-advertising-issue</link><description>Hi, 
 We are currently developing a new product using nRF8001 IC and it is pretty much stable (not 100%) until now. 
 My algorithm is straight forward: When the MCU is in idle mode I issue a connect command to the nRF8001 so it can start advertising</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 02 Nov 2017 21:46:44 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/26249/nrf8001-advertising-issue" /><item><title>RE: nRF8001 advertising issue</title><link>https://devzone.nordicsemi.com/thread/103348?ContentTypeID=1</link><pubDate>Thu, 02 Nov 2017 21:46:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:debe153a-304c-4a83-b846-e465c0068242</guid><dc:creator>didier</dc:creator><description>&lt;p&gt;Thanks David, We are still finishing our test cases and the only way to try to replicate this issue is with several connects and disconnects from the peer device. A SPI trace would be tracking the SPI data, clock, REQN and RDYN pin?
Regarding the suggestions we will proceed with the reading of the ACTIVE pin, since keeping the REQN line low would create some unexpected behavior from nRF8001, since it will also lower RDYN pin and expect a change of data in the SPI lines.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 advertising issue</title><link>https://devzone.nordicsemi.com/thread/103347?ContentTypeID=1</link><pubDate>Wed, 01 Nov 2017 13:27:30 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:23e7c6fa-cf6d-4d3e-80c7-c5b91bf71f7d</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;I think the 300ms delay is the closest to what you may be seeing. An SPI trace is essential to help you, so we have a more controlled environment as compared to the android phone.&lt;/p&gt;
&lt;p&gt;You should have a bit of control of the testing, the SPI trace will help you automate this.&lt;/p&gt;
&lt;p&gt;Suggestion:
Keep the REQN line low for 300ms every time the ACI connect is sent and see if the issue occurs.&lt;/p&gt;
&lt;p&gt;Additional suggestion to see if the advertising is running:
Turn on the ACTIVE line using the nRF8001 settings so if the advertising is successfully running you will see the ACTIVE line changing state.&lt;/p&gt;
&lt;p&gt;However you definitely need to get control of the test to progress the case.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 advertising issue</title><link>https://devzone.nordicsemi.com/thread/103346?ContentTypeID=1</link><pubDate>Tue, 31 Oct 2017 13:27:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:607a41b2-05b0-4344-888e-ad4ad151f09b</guid><dc:creator>didier</dc:creator><description>&lt;p&gt;Hi David,
Please check the answers below:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I don&amp;#39;t have a SPI trace but the RDYN line is behaving as expected, since during the problem it stayed HIGH (no incoming events).&lt;/li&gt;
&lt;li&gt;I actually doesn&amp;#39;t know how to encrypt the GATT table, so I guess I am not doing it. Actually i just changed (slight ones) based on the nordic UART example.&lt;/li&gt;
&lt;li&gt;&lt;code&gt;NRF D 8001 1408PW&lt;/code&gt;&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;Regarding the sleep issue. Your assumption is correct, since I didn&amp;#39;t put nRF8001 into sleep mode when or before the issue happened.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;I&amp;#39;ll test, but the problem is that the issue is not easy to replicate, it happened only three times during 3 months of developing/testing.&lt;/li&gt;
&lt;li&gt;I&amp;#39;m using my android cellphone (nordic apps), but it&amp;#39;s pretty much accurate since after a reset the nRF8001 I was able to scan it once again.&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nRF8001 advertising issue</title><link>https://devzone.nordicsemi.com/thread/103345?ContentTypeID=1</link><pubDate>Fri, 27 Oct 2017 09:41:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f25c16c8-4056-49ac-bb11-e6c4fc3afc4e</guid><dc:creator>David Edwin</dc:creator><description>&lt;p&gt;The nRF8001 is reliable in what it is specified to do within the operating spec. This appears within what the nRF8001 is specified to do.&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;Can you post an SPI trace in addition to see if the RDYN line is behaving as expected.&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;I assume that you are not setting up the GATT table to be encrypted in the nRFgo studio settings file. Can you confirm this ?&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Can you provide the IC markings on the nRF8001 ?&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;The only known issue is, after a wakeup of the nRF8001, the nRF8001 needs to wait ~300ms (worst case) to send the connect command, otherwise the start of advertising can get delayed. However you do not seem to be having the same issue.&lt;/p&gt;
&lt;ol start="4"&gt;
&lt;li&gt;
&lt;p&gt;Can you test by adding a similar delay (~300 ms) from the previous command/event before the &amp;quot;ACI Connect&amp;quot; command is sent&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Do you have a sniffer or similar infrastructure to verify that the nRF8001 is indeed advertising or not.&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>