<?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>Sequence of Antenna switch pattern</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/111046/sequence-of-antenna-switch-pattern</link><description>Hi, 
 I&amp;#39;m testing the NCS direction-finding-connectionless demo, 
 NCS V2.6.0 
 this is my overlay: 
 
 and my ant_patterns: 
 
 
 According to the white paper and some other posts, my antenna should switch like this: 11 → 11 → 11 → 11 → 11 → 11 → 11</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 05 Jun 2024 10:47:52 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/111046/sequence-of-antenna-switch-pattern" /><item><title>RE: Sequence of Antenna switch pattern</title><link>https://devzone.nordicsemi.com/thread/487478?ContentTypeID=1</link><pubDate>Wed, 05 Jun 2024 10:47:52 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f7455933-f119-4a20-8931-576f4d12842d</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again,&lt;/p&gt;
&lt;p&gt;I think there has been a big misunderstanding here on my part. Sorry about this. Apparently the Product Specification and &lt;a href="https://infocenter.nordicsemi.com/pdf/nwp_036.pdf"&gt;White Paper &lt;/a&gt;we have available on this both show the antenna switching pattern you describe. However, neither of the two describe the way the switching happens in the SDK. They just describe how this is by default done in the HW, and knowing which would make it easier for you if you want to make your own solution for this. The reasoning is that the HW has a lot of capabilities that goes beyond what the SDK provides, and people might want to take advantage of that.&lt;/p&gt;
&lt;p&gt;The samples though, along with the SDK, follows the BLE compliant antenna switching, &lt;strong&gt;which is that it goes back to the reference antenna after exhausting the switching array&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;I believe the reason why the default sample doesn&amp;#39;t do so is that it maybe doesn&amp;#39;t get exhausted during the length of the CTE? Are you not seeing the reference antenna again after the entire list is exhausted?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sequence of Antenna switch pattern</title><link>https://devzone.nordicsemi.com/thread/485937?ContentTypeID=1</link><pubDate>Mon, 27 May 2024 01:19:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a70d46c1-9056-42ac-8bbd-804baf031bc3</guid><dc:creator>ethan</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;&amp;nbsp;Elfving,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I didn&amp;#39;t make any changes except &lt;span&gt;switch pattern&lt;/span&gt;.&amp;nbsp;Increasing the switch pattern length has the same result.&amp;nbsp;Thank you for confirming my results.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sequence of Antenna switch pattern</title><link>https://devzone.nordicsemi.com/thread/485634?ContentTypeID=1</link><pubDate>Thu, 23 May 2024 12:32:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d0c5616-cb81-4d04-b905-b5e891f58455</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello again, and thank you for your patience in this case.&lt;/p&gt;
&lt;p&gt;I agree with you on how the switching should work. So this is an unmodified sample you are running, you&amp;#39;ve just configured the antenna switch pattern?&lt;/p&gt;
&lt;p&gt;If you increase the switch pattern length, ie. add more antennas there, are you seeing the same issue?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sequence of Antenna switch pattern</title><link>https://devzone.nordicsemi.com/thread/483066?ContentTypeID=1</link><pubDate>Mon, 13 May 2024 13:24:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6b0cd122-2979-4560-8ee6-2d545bbd688a</guid><dc:creator>Elfving</dc:creator><description>&lt;p&gt;Hello Weiber, and thank you for your patience.&lt;/p&gt;
&lt;p&gt;Due to thursday last week being holiday in Norway, people have been taking the opportunity for some time off, which makes today a bit swamped.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;When it comes to your problem, I am looking into it.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Elfving&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Sequence of Antenna switch pattern</title><link>https://devzone.nordicsemi.com/thread/482885?ContentTypeID=1</link><pubDate>Sat, 11 May 2024 07:12:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ef99d203-d345-4013-acca-d21629bbf778</guid><dc:creator>ethan</dc:creator><description>&lt;p&gt;by the way,&amp;nbsp;It is correct when using the white paper&amp;#39;s proprietary configuration.Here are some of my configurations:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;static uint8_t switch_pattern[] = {0x1,0x2, 0x0, 0x5, 0x6, 0x4,
					0xC, 0x9, 0xE, 0xD, 0x8, 0xA};
					
    for(int i=0;i&amp;lt;sizeof(switch_pattern);i++)
    {
        NRF_RADIO-&amp;gt;SWITCHPATTERN = switch_pattern[i];
    }&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&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/_014F1A4EAE5FE14F2A62FE565F00_17154112013981.png" alt=" " /&gt;&lt;/p&gt;
&lt;p&gt;The reference antenna does not participate in the later cycle&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>