<?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 Central disconnection problem</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15305/nrf51822-central-disconnection-problem</link><description>Hi all, 
 Using nRF51422 on nRF51-DK as a Central I have been successfully connected to a non-Nordic BLE peripheral, however when using the ISP130301 chip that embedding an nRF51822_CEAA (256 Ko/ 16 Ko) the Central is being disconnected with the 0x8</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 27 Jul 2016 12:38:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15305/nrf51822-central-disconnection-problem" /><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58470?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 12:38:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8614101-87e2-4733-8dd6-34bd5b2842f5</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;The non-Nordic peripheral works correctly with the central (ble_app_uart_c) on nRF51 DK.
I also connect to it using an android application (Like BLE scanner) and everything is alright.. this is weird!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58469?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 11:24:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e4619379-c3f8-44ca-bffe-3e1b0791d5de</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Then I would suspect the problem is with this non-Nordic peripheral :)&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58467?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 11:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2d9d1928-d71f-4f09-b11f-f276604f67fe</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;ble_app_uart_c on ISP130301 is working perfectly! and connects to the ble_app_uart (on the nRF51 DK) without any problems.&lt;/p&gt;
&lt;p&gt;I have attached the ISP schematic, a picture, and the sniffing trace (trace_27_07_16.pcapng).&lt;/p&gt;
&lt;p&gt;Many thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58466?ContentTypeID=1</link><pubDate>Wed, 27 Jul 2016 09:23:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c1e7a0cc-a0c8-49cd-82b7-aa5a8eb91f78</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;What happens if you run ble_app_uart on the nRF51 DK and ble_app_uart_c on ISP130301? Could you upload the schematic and an actual picture of the ISP130301?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58474?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 14:20:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:33278641-d749-44ea-9f1a-cee8b0d8c81e</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Hi Petter,&lt;/p&gt;
&lt;p&gt;I was trying both clock configurations that you suggested, I also tried all the other clock options but the central still disconnecting!
Please note that the ISP130301 module is working perfectly as a peripheral! do you have any other suggestions that we should try?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58473?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 12:47:39 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e9067cd9-ca45-4c9e-9f1c-6b2063257eb2</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I see from the datasheet that the frequency tolerance of the low frequency crystal is +-40 ppm, but in the code you have used NRF_CLOCK_LFCLKSRC_XTAL_20_PPM, see ble_stack_init(). Maybe you can try with NRF_CLOCK_LFCLKSRC_XTAL_50_PPM or NRF_CLOCK_LFCLKSRC_RC_250_PPM_TEMP_4000MS_CALIBRATION and see if that makes any difference?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58472?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 11:52:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e574667-28de-4fe5-b366-c11fb491e1b3</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Actually when running the central on nRF51-DK (PCA10028) everything is working fine, the peripheral never disconnects!
The trace I provided is for central on ISP130301, I&amp;#39;m using:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Softdevice: s130_nrf51_1.0.0_softdevice&lt;/li&gt;
&lt;li&gt;SDK: nRF51_SDK_10.0.0_dc26b5e&lt;/li&gt;
&lt;li&gt;nRF51822 revision: please see attached screenshot (using nrf_ic_info_get function)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;To connect to the peripheral I&amp;#39;m using the the ble_app_uart_c &lt;a href="https://drive.google.com/open?id=0B5nLonlA8eQNLWtvTkk3RnpSMjA"&gt;project&lt;/a&gt; from the SDK (after made few modifications on the code and the project settings), I have attached the project you can take a look on it, maybe it could help!&lt;/p&gt;
&lt;p&gt;I have already checked that  no hard fault neither a reset is happening! I was using Keil for debugging this and to see the disconnection reason (see above attached screenshot)&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: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58471?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 10:20:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3654fda0-c509-4935-80c3-9279ecae1ef3</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;Please edit your question and upload the trace there. Are you running the central on the nRF51-DK or the ISP130301? It seems you are right, something happens with the central, it stops transmitting, and the peripheral hits the supervision timeout. I&amp;#39;m not sure what could be causing it. What SoftDevice and SDK version are you using? Do you have any more information than that it is CEAA? So we can figure out what &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf51/dita/nrf51/compatibility_matrix/nRF51822_ic_revision_overview.html?cp=3_0_1"&gt;revision the nRF51822 chip&lt;/a&gt; is? The next step is to figure out what is happening on the chip. Do you get a hard fault? A reset? Something else?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58468?ContentTypeID=1</link><pubDate>Tue, 26 Jul 2016 09:15:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3d9dc402-50ac-4738-9286-e6beca59d991</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Hi Peter, In order to be able to attache the Wireshark trace, I have added an answer below! please take a look on it, thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58465?ContentTypeID=1</link><pubDate>Mon, 25 Jul 2016 12:15:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4181c9e2-46ad-4bda-a039-aa6c1a0daabd</guid><dc:creator>Petter Myhre</dc:creator><description>&lt;p&gt;I guess it is having trouble connecting to the peripheral and/or keeping the connection. Could you sniff what is happening on air? You can use the nRF Sniffer.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: nrf51822 Central disconnection problem</title><link>https://devzone.nordicsemi.com/thread/58464?ContentTypeID=1</link><pubDate>Fri, 22 Jul 2016 13:18:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b5331e8-68c7-4105-8b4f-ac3d97b1cd77</guid><dc:creator>Aymen Rejeb</dc:creator><description>&lt;p&gt;Anyone have an idea about such issue ?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>