<?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>conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/118736/conn-failed-to-establish-rf-noise</link><description>We&amp;#39;re seeing the following intermittently while attempting to connect from a Mac/iOS Central. 
 Using Android as a Central does not produce the same error. 
 
 
 
 Sometimes the connection eventually establishes, sometimes it doesn&amp;#39;t. 
 Running the BT</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Mar 2025 10:17:48 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/118736/conn-failed-to-establish-rf-noise" /><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/526516?ContentTypeID=1</link><pubDate>Mon, 10 Mar 2025 10:17:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:36da90e9-50b5-4676-9312-89e113e0c18f</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;My simple understanding is that there is a slightly timing difference between the two, both are within specifications,&amp;nbsp;but the timing of the zephyr stack will vary a bit more, and in this case it seems that indirectly help (though it can also occur with the zephyr stack when timing is the same).&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/526302?ContentTypeID=1</link><pubDate>Fri, 07 Mar 2025 08:49:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6dd0b862-9148-4bca-af48-c2c3db67fa7d</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Hi Kenneth,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For my understanding and interest, are you able to share the difference between the Zephyr stack and Softdevice stack during the connection flow, and suggest why the interaction with iOS might be different between the two?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/526031?ContentTypeID=1</link><pubDate>Wed, 05 Mar 2025 15:01:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c6cb64b3-d05e-4026-97a0-761adbe245ad</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;After discussing internally I have learned this is unfortunately an issue in iOS, and we need for them to fix this.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/525808?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 18:15:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:67e1e5a7-2829-46a5-9881-d89d71f91876</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;I will need to take a second look at this. Thanks for sharing.&lt;/p&gt;
&lt;p&gt;Edit: Likely will not be able to do a second sniffer trace until next week for comparison.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/525803?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 17:09:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cc003453-cae9-440f-8e22-005b1cdad687</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Thank you Kenneth.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I have noticed that if I switch to using `CONFIG_BT_LL_SW_SPLIT`, the connection is established correctly.&lt;/p&gt;
&lt;p&gt;Can you confirm you also see this behaviour?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/525800?ContentTypeID=1</link><pubDate>Tue, 04 Mar 2025 16:57:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b84473a2-b860-48e6-8285-eda21e96fa80</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I can confirm I see the same here, looking at the Apple Accessory Design Guidelines:&lt;br /&gt;&lt;a href="https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf"&gt;https://developer.apple.com/accessories/Accessory-Design-Guidelines.pdf&lt;/a&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I get the impression that the extended advertisement is not mentioned in specific under 52.3 Advertising PDU, so it may be that this is work in progress at the moment.&lt;/p&gt;
&lt;p&gt;What I can see from the sniffer log is that the phone do send the AUX_CONNECT_REQ packet, but do not follow up with any actual connection packets:&lt;br /&gt;E.g. failing to establish:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1741107752576v1.png" alt=" " /&gt;&lt;br /&gt;E.g. working:&lt;br /&gt;&lt;img style="max-height:240px;max-width:320px;" src="https://devzone.nordicsemi.com/resized-image/__size/640x480/__key/communityserver-discussions-components-files/4/pastedimage1741107874339v4.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/525131?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 16:42:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e1305996-aff5-4232-9313-ed271dc23389</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Thank you for looking into this &lt;a href="https://devzone.nordicsemi.com/members/kme"&gt;Kenneth&lt;/a&gt;&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/525079?ContentTypeID=1</link><pubDate>Thu, 27 Feb 2025 13:48:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:755935e2-ef7a-4466-b95e-809ad3173a73</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Looks like I need to make a on-air sniffer trace of this issue, to see if I can narrow down what is the problem. I may not be able to do that before next week.&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/524408?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 15:35:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:241814c5-8566-41dc-b5d7-855d0f1a2fd8</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Yes. You can reproduce this using the nRF21540-DK (PCA 10112), using the sample listed on my second post:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf21540dk/nrf52840 zephyr/samples/bluetooth/extended_adv/advertiser -DCONFIG_LOG=y -DCONFIG_SHELL=y
west flash&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/524367?ContentTypeID=1</link><pubDate>Mon, 24 Feb 2025 14:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c8ff5d6a-2bfc-4246-9106-76d8d3eba4e2</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;We will take a look, do you by any chance have some simplified project we can run here to recreate the issue on a DK?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/524036?ContentTypeID=1</link><pubDate>Fri, 21 Feb 2025 09:25:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9102424d-f6c3-4297-af75-3799758f5a77</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Hello Kenneth,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Sorry for the delay.&lt;/p&gt;
&lt;p&gt;Turning off WiFi does not help.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Please find attached a pcap captured with mini-moreph, along with a trace from the iPhone&amp;#39;s sysdiagnose feature (the latter zipped as your forums wouldn&amp;#39;t accept the pklg file).&lt;/p&gt;
&lt;p&gt;I started the connection attempt slightly after 09:17 UTC.&lt;/p&gt;
&lt;p&gt;The relevant MAC addresses appear to be 72:23:05:93:B3:C1 and C2:F1:36:E3:54:88.&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/minimoreph.pcapng"&gt;devzone.nordicsemi.com/.../minimoreph.pcapng&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/sysdiagnose.pklg.zip"&gt;devzone.nordicsemi.com/.../sysdiagnose.pklg.zip&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/523481?ContentTypeID=1</link><pubDate>Tue, 18 Feb 2025 12:04:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a08e1a7a-137d-4624-bd16-87dc135da05e</guid><dc:creator>Kenneth</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;Asbjørn is out of office today, do you have some on air sniffer logs (e.g. using nRF Sniffer for BLE) for the different setups you have tested here, so we can look at the wireshark files (.pcapng) to potentially look at the differences?&lt;/p&gt;
&lt;p&gt;Does turning off WiFi on the iOS change anything?&lt;/p&gt;
&lt;p&gt;Kenneth&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522827?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 11:25:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:94ece74b-0bdc-448b-a14d-3f2d71ec604d</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;Asbj&amp;oslash;rn.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I&amp;#39;d need a bit more guidance to check this, I&amp;#39;m afraid.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;It&amp;#39;s an off-the-shelf nRF21540-DK (PCA 10112, Power Source set to VDD, SW6 set to Default), and an unmodified sample from nRF Connect SDK @ v2.9.0 (from my earlier post).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522797?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 09:19:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a3fd16ba-4465-4a3c-81f7-b664d5ebf234</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Thank you Hayden for the follow up, I&amp;#39;ve been talking to developers here and the assumption was that it was the iOS version, but it seems we have also met similar cases when there&amp;#39;s been issues with the timing related to clock selections, it&amp;#39;s just unuasual that you don&amp;#39;t get the same failure when connecting with Android, but there&amp;#39;s a chance that android devices have a larger timing window that enables this to work.&lt;/p&gt;
&lt;p&gt;Anyways, may I ask you to check you clock sources.&lt;/p&gt;
&lt;p&gt;Q1: Are you using INTCAP setting on the 32MHz crystal and what is it set to compared to your crystal Cl value?&lt;/p&gt;
&lt;p&gt;Q2: LFCLK source, same INTCAP question if you are using 32kHz crystal. If you are using LFRC as source, what settings are you using for that? If you set LFCLK source to be LFSYNT as a trial, do you still see the same issue? LFSYNT will use the 32MHz to generate the 32kHz, but will more accuracy at the cost of higher current consumption, but it&amp;#39;&amp;#39;s useful as a clock source test.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522796?ContentTypeID=1</link><pubDate>Thu, 13 Feb 2025 09:19:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1dadb310-6dc6-41c2-974e-d84c22accdd9</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Thank you Hayden for the follow up, I&amp;#39;ve been talking to developers here and the assumption was that it was the iOS version, but it seems we have also met similar cases when there&amp;#39;s been issues with the timing related to clock selections, it&amp;#39;s just unuasual that you don&amp;#39;t get the same failure when connecting with Android, but there&amp;#39;s a chance that android devices have a larger timing window that enables this to work.&lt;/p&gt;
&lt;p&gt;Anyways, may I ask you to check you clock sources.&lt;/p&gt;
&lt;p&gt;Q1: Are you using INTCAP setting on the 32MHz crystal and what is it set to compared to your crystal Cl value?&lt;/p&gt;
&lt;p&gt;Q2: LFCLK source, same INTCAP question if you are using 32kHz crystal. If you are using LFRC as source, what settings are you using for that? If you set LFCLK source to be LFSYNT as a trial, do you still see the same issue? LFSYNT will use the 32MHz to generate the 32kHz, but will more accuracy at the cost of higher current consumption, but it&amp;#39;&amp;#39;s useful as a clock source test.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522258?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 15:14:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8252568f-ff45-4332-a520-b48a5e658e8d</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;I can confirm that I get the same result while running iOS 18.3 on iPhone 14.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522249?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 14:51:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f04c2004-e726-4fff-960e-75a98a44438a</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;This test was run under iOS 17.4.1 on iPhone 14, and also MacOS 15.3 on MacBook Pro M3 (16 Nov-2023).&lt;/p&gt;
&lt;p&gt;I will re-run the test on iOS 18.3.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;I am running the&amp;nbsp;firmware sample on nRF21540-DK (PCA 10112).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522240?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2025 14:37:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0475c1b1-b4a0-4c0c-89df-e275e74c1434</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Hello Hayden,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;the specifics related to extended advertising and iOS makes me want to ask you to check the iOS version you have initially. About a year ago, we saw customers having issues with a version of iOS 17 and extended advertising giving out similar error messages as you see and report. &lt;a href="https://forums.developer.apple.com/forums/thread/743372"&gt;https://forums.developer.apple.com/forums/thread/743372&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If it&amp;#39;s not the iOS version you have, could you detail a bit which version you do have and which HW you have to try to recreate the issue here on my end.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards&lt;/p&gt;
&lt;p&gt;Asbjørn&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/522027?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 16:42:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f4c06a6c-c480-4753-80e1-e825e4dc3970</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;Okay, yes.&lt;/p&gt;
&lt;p&gt;This can be easily reproduced using the extended_adv advertiser sample:&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;west build -b nrf21540dk/nrf52840 zephyr/samples/bluetooth/extended_adv/advertiser -DCONFIG_LOG=y -DCONFIG_SHELL=y
west flash&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;[00:01:11.272,644] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20002920 failed to establish. RF noise?
Disconnected, reason 0x3E
Connection object available from previous conn. Disconnect is complete!
Remote disconnected early...
Disconnected state! Restarting advertising
Starting Extended Advertising
Connected (err 0x00)
Connected state!
Initiating disconnect within 5 seconds...
[00:01:11.452,545] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20002920 failed to establish. RF noise?
Disconnected, reason 0x3E
Connection object available from previous conn. Disconnect is complete!
Remote disconnected early...
Disconnected state! Restarting advertising
Starting Extended Advertising
Connected (err 0x00)
Connected state!
Initiating disconnect within 5 seconds...
[00:01:11.961,669] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20002920 failed to establish. RF noise?
Disconnected, reason 0x3E
Connection object available from previous conn. Disconnect is complete!
Remote disconnected early...
Disconnected state! Restarting advertising
Starting Extended Advertising
Connected (err 0x00)
Connected state!
Initiating disconnect within 5 seconds...
[00:01:12.442,321] &amp;lt;wrn&amp;gt; bt_conn: conn 0x20002920 failed to establish. RF noise?
Disconnected, reason 0x3E
Connection object available from previous conn. Disconnect is complete!
Remote disconnected early...
Disconnected state! Restarting advertising
Starting Extended Advertising
Connected (err 0x00)
Connected state!
Initiating disconnect within 5 seconds...&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: conn failed to establish. RF noise?</title><link>https://devzone.nordicsemi.com/thread/521904?ContentTypeID=1</link><pubDate>Fri, 07 Feb 2025 11:42:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c9be3bfb-5a1f-41de-b851-8c44128c027b</guid><dc:creator>Hayden Ball</dc:creator><description>&lt;p&gt;I think I&amp;#39;ve narrowed this down to being something to do with extended advertising, but I&amp;#39;m not 100% confident.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>