<?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>Antenna Switching for Bluetooth Direction Finding</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/57576/antenna-switching-for-bluetooth-direction-finding</link><description>Hi 
 I am currently trying to get the antenna switching working on the nRF52833 DK. I have an SPDT RF swtich which I want to use for switching between two antennas. I want to use one of the DFE GPIO control pins to control the RF switch. However I am</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 10 Feb 2020 13:30:11 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/57576/antenna-switching-for-bluetooth-direction-finding" /><item><title>RE: Antenna Switching for Bluetooth Direction Finding</title><link>https://devzone.nordicsemi.com/thread/233537?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 13:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:df5d3883-6b34-4ef6-9a58-bd635105ca91</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;I mean that your RF switch requires 8-usec switch spacing, but the maximum value that can be configured in 52833 is 4 usec, so you can&amp;nbsp;configure two slots for each antenna:&lt;/p&gt;
&lt;p&gt;NRF_RADIO-&amp;gt;PSEL.DFEGPIO[0] = 0x00000011; //(P0.17)&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; // before CTE - antenna 1&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; // reference - antenna 1&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; // slots 0, 2, 4... - antenna 1 switching&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; // slots 0, 2, 4... - antenna 1 sampling&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x1; // slots 1, 3, 5... - antenna 2 switching&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x1; // slots 1, 3, 5... - antenna 2 sampling&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Antenna Switching for Bluetooth Direction Finding</title><link>https://devzone.nordicsemi.com/thread/233422?ContentTypeID=1</link><pubDate>Mon, 10 Feb 2020 03:17:02 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3892c02c-2eaf-45d7-be28-a1591e007dd4</guid><dc:creator>Siddharth Venkatesh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;br /&gt;Im sorry, what do you mean by double entry switching slots (0,0,1,1).&amp;nbsp;How would I do this?&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Antenna Switching for Bluetooth Direction Finding</title><link>https://devzone.nordicsemi.com/thread/233415?ContentTypeID=1</link><pubDate>Sun, 09 Feb 2020 21:43:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5f527895-3bbb-48ac-845a-64d367cef695</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;You can try it, though it has up to 4usec switching time - you need to set&amp;nbsp;TSWITCHSPACING to 4usec and configure&amp;nbsp;double-entry switching slots (0, 0, 1, 1), then each second slot hopefully will contain right IQ value.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Antenna Switching for Bluetooth Direction Finding</title><link>https://devzone.nordicsemi.com/thread/233413?ContentTypeID=1</link><pubDate>Sun, 09 Feb 2020 19:53:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:077cd363-1a6a-4478-a6b4-54ac6613b9fe</guid><dc:creator>Siddharth Venkatesh</dc:creator><description>&lt;p&gt;Hi Thanks for that&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I am using the mini circuits ZSDR-230+ RF switch. Is this switch suitable for this function?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Antenna Switching for Bluetooth Direction Finding</title><link>https://devzone.nordicsemi.com/thread/233409?ContentTypeID=1</link><pubDate>Sun, 09 Feb 2020 15:36:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a55d69c7-02b8-4b06-862b-7cd0ff2bdb23</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;1. You can use any pins that is not marked as &amp;quot;Standard drive, low frequency I/O only&amp;quot; (see ch. 7.1 in product specification)&lt;/p&gt;
&lt;p&gt;2. You didn&amp;#39;t mention what RF switch you have, assuming it has&amp;nbsp;a single control input. A switch pattern should consist of at least four entries -&amp;nbsp; one for the time before CTE, one for the reference period, next two (or more) for each sampling slot. An example of (I believe) the right config in your case:&lt;/p&gt;
&lt;p&gt;NRF_RADIO-&amp;gt;PSEL.DFEGPIO[0] = 0x00000011; //(P0.17)&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; //&amp;nbsp;before CTE&lt;span&gt;&amp;nbsp;- antenna 1&lt;/span&gt;&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; // reference&lt;span&gt;&amp;nbsp;- antenna 1&lt;/span&gt;&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x0; // slots 0, 2, 4... - antenna 1&lt;br /&gt;NRF_RADIO-&amp;gt;SWITCHPATTERN = 0x1; // slots 1, 3, 5...&lt;span&gt;&amp;nbsp;- antenna 2&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>