<?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>NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/50208/nrf51822-boards-with-bluetooth-connection-issues-are-fixed-with-soft-reset-but-not-pin-reset</link><description>Hello, 
 
 The current project I am troubleshooting includes an NRF51822 chip. The project includes a boot loader, application hex, and soft device S110 V7.3.0. It was noticed by the manufacturer that about 5% of the boards experience a dropping of the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 03 Sep 2019 16:46:17 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/50208/nrf51822-boards-with-bluetooth-connection-issues-are-fixed-with-soft-reset-but-not-pin-reset" /><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/207737?ContentTypeID=1</link><pubDate>Tue, 03 Sep 2019 16:46:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f704d559-1238-48c3-b87f-a2a8f31fb0b1</guid><dc:creator>youngwallaby</dc:creator><description>&lt;p&gt;Jared,&lt;/p&gt;
&lt;p&gt;I wanted to share what I found to be the problem. It looks like the sleep mode for this unit was not configured properly. Of the two sleep modes, Constant latency and low power, neither were explicitly chosen. Once the sleep mode constant latency was chosen and the boards were reprogrammed the issue with the bluetooth connection dropping went away.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thank you for all of your help,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/203554?ContentTypeID=1</link><pubDate>Mon, 12 Aug 2019 11:35:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e5c3dd4f-1aee-4c89-b4d4-01d72abbb033</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;&amp;nbsp;Hi,&lt;/p&gt;
&lt;p&gt;Thank you for the sniffer trace. I can&amp;#39;t see that the slave doesn&amp;#39;t respond to packages with eventually causes a timeout. Did you try changing the LFCLK source? What PPM value do you use in the&amp;nbsp; sdk config file? Are you able to replicate the issue with an example from the SDK, such as ble_app_uart example?&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/203137?ContentTypeID=1</link><pubDate>Thu, 08 Aug 2019 14:58:41 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7fc62d02-4097-44d2-9ed0-5a4d85fdac2a</guid><dc:creator>youngwallaby</dc:creator><description>&lt;p&gt;Jared,&lt;/p&gt;
&lt;p&gt;I have captured a sniffer trance with the NRF Sniffer as described in the nRF Sniffer user Guide v2.2 document. That file is attached here:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/NRF-Sniffer-Trace.pcapng"&gt;devzone.nordicsemi.com/.../NRF-Sniffer-Trace.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;I will try changing teh LFCLK source to the LFCLK to the RC oscillator and let you know if that fixes the problem.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/201657?ContentTypeID=1</link><pubDate>Wed, 31 Jul 2019 15:07:44 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb8a1194-1b7d-4071-922d-5b675a1372ff</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Please provide a sniffer trace with the nRF Sniffer if possible. Could you try changing the LFCLK source to the RC oscillator and see if the problem persist?&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/201299?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 14:12:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4702339d-24c8-4ea1-88de-2748ad49a73e</guid><dc:creator>youngwallaby</dc:creator><description>&lt;p&gt;Jared,&lt;/p&gt;
&lt;p&gt;Attached are the datasheets for the crystals.&lt;/p&gt;
&lt;p&gt;I used the Bluetooth snoop hci log feature of androids development tools. We currently do not have a nRF sniffer but can acquire one if that is necessary.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/ABS06_2D00_107_2D00_32.768kHz_2D00_T.pdf"&gt;devzone.nordicsemi.com/.../ABS06_2D00_107_2D00_32.768kHz_2D00_T.pdf&lt;/a&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/c_5F00_NX2520SA_2D00_STD_2D00_CSW_2D00_4_5F00_e.pdf"&gt;devzone.nordicsemi.com/.../c_5F00_NX2520SA_2D00_STD_2D00_CSW_2D00_4_5F00_e.pdf&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/201275?ContentTypeID=1</link><pubDate>Tue, 30 Jul 2019 13:38:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:32a52bf0-540a-46f8-afae-4c549dbbb96a</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Could you provide the datasheet for the crystals that you&amp;#39;re using? What sniffer have you used? Could you provide a sniffer trace that uses the &lt;a href="https://infocenter.nordicsemi.com/topic/struct_nrftools/struct/nrftools_nrfsniffer.html?cp=6_4"&gt;nRF sniffer&lt;/a&gt;? The sniffer log you attached doesn&amp;#39;t showcase the issue, and the connection in the log is disconnected after a disconnect is sent by the host.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/200814?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 16:32:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:baa558d5-e6a8-45a9-90ff-c9aa5ae263d3</guid><dc:creator>youngwallaby</dc:creator><description>&lt;p&gt;Here is the Bluetooth log file:&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/6740.btsnoop_5F00_hci.log"&gt;devzone.nordicsemi.com/.../6740.btsnoop_5F00_hci.log&lt;/a&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/200785?ContentTypeID=1</link><pubDate>Fri, 26 Jul 2019 13:40:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9918ea6c-4958-4cfa-8a91-09de871432e1</guid><dc:creator>youngwallaby</dc:creator><description>&lt;p&gt;Hello Jared,&lt;/p&gt;
&lt;p&gt;I will capture the sniffer trace of the connection shortly. In the mean time I have the schematic attached below. The 32kHz crystal being used is a&amp;nbsp;Abracon Corporation&amp;nbsp;ABS06-107-32.768KHZ-T. The 16MHz crystal being used is a&amp;nbsp;NDK&amp;nbsp;NX2520SA-16MHZ-STD-CSW-4. I will request the layout files and get those to you as well.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/1040x720/__key/communityserver-discussions-components-files/4/7510.Schematic.PNG" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/200520?ContentTypeID=1</link><pubDate>Thu, 25 Jul 2019 12:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ba8051b7-fe3c-4ecf-9ff3-d8e7fb78a839</guid><dc:creator>Jared</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Are you able to provide a sniffer trace of the connection between the faulty unit and the Iphone? Could you share the schematics and layout files of the custom board, and also specify which crystal that you&amp;#39;re using.&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Jared&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/200343?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 16:24:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f900ac0a-e3d6-4496-accd-c8ed1433cc0d</guid><dc:creator>youngwallaby</dc:creator><description>&lt;p&gt;Awneil,&lt;/p&gt;
&lt;p&gt;The soft reset is described in the nrfjprog command line toolkit:&amp;nbsp;&lt;/p&gt;
&lt;p&gt;nrfjprog -r : performs a soft reset by setting the SysResetReq bit of the AIRCR register of the core. The core will run after the operation.&lt;/p&gt;
&lt;p&gt;device connected is an IPhone application. The system does recover the connection after a span of 1-3 seconds. This problem does not exist in the other 95% of the product. A bluetooth signal strength application was installed on an Android device. The signal strength does not appear to be any less than the 95% of units that do not present this problem.&lt;/p&gt;
&lt;p&gt;The oscillator was probed on a &amp;quot;bad&amp;quot; unit and it appeared to be operating normally. Could it be that the oscillator is the issue? We could try replacing the component.&lt;/p&gt;
&lt;p&gt;Thank you for your feedback&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: NRF51822 boards with bluetooth connection issues are fixed with soft reset but not pin reset</title><link>https://devzone.nordicsemi.com/thread/200340?ContentTypeID=1</link><pubDate>Wed, 24 Jul 2019 16:14:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f44e64c3-30e6-435e-b1fb-4540326259ec</guid><dc:creator>awneil</dc:creator><description>&lt;p&gt;To find a solution, you first need to find what the actual problem is!&lt;/p&gt;
&lt;p&gt;Instrument you code, and look for what&amp;#39;s different between the two situations.&lt;/p&gt;
[quote userid="81953" url="~/f/nordic-q-a/50208/nrf51822-boards-with-bluetooth-connection-issues-are-fixed-with-soft-reset-but-not-pin-reset"]perform a &amp;quot;soft reset&amp;quot; using the nrfjprog[/quote]
&lt;p&gt;What, exactly, do you mean by that?&lt;/p&gt;
[quote userid="81953" url="~/f/nordic-q-a/50208/nrf51822-boards-with-bluetooth-connection-issues-are-fixed-with-soft-reset-but-not-pin-reset"]a dropping of the Bluetooth connection randomly[/quote]
&lt;p&gt;And what, exactly, is going on there?&lt;/p&gt;
&lt;p&gt;Are there any other issues with these units - such as low received and/or transmitted power? Oscillator stability/accuracy? etc ...&lt;/p&gt;
&lt;p&gt;With any radio link, you have to be prepared for it to drop &amp;quot;randomly&amp;quot; - is your real problem that it doesn&amp;#39;t recover after dropping?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>