<?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>Switching Antennas</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59880/switching-antennas</link><description>Hi 
 This is my code for antenna switching. I&amp;#39;ve got 8 antennas I want to switch between. 
 NRF_RADIO-&amp;gt;PSEL.DFEGPIO[0] = 0x00000011; //(P0.17) NRF_RADIO-&amp;gt;PSEL.DFEGPIO[1] = 0x00000013; //(P0.19) NRF_RADIO-&amp;gt;PSEL.DFEGPIO[2] = 0x00000014; //(P0.20) NRF_RADIO</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 06 Apr 2020 07:31:26 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59880/switching-antennas" /><item><title>RE: Switching Antennas</title><link>https://devzone.nordicsemi.com/thread/243548?ContentTypeID=1</link><pubDate>Mon, 06 Apr 2020 07:31:26 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0891ca25-0134-4e6f-9139-0ced992dda6d</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote userid="85966" url="~/f/nordic-q-a/59880/switching-antennas/243529"]I am using the&amp;nbsp;EV1HMC321ALP4E eval board.&amp;nbsp;[/quote]
&lt;p&gt;Yes, config is right. It&amp;#39;s safer to add RADIO-&amp;gt;CLEARPATTERN=1 before configuring pattern.&lt;/p&gt;
[quote userid="85966" url="~/f/nordic-q-a/59880/switching-antennas/243529"]Also what other pins would you suggest.&amp;nbsp;[/quote]
&lt;p&gt;Look at &amp;quot;Pin assignment&amp;quot; section in product spec, you can choose any pin where &amp;quot;recommended usage&amp;quot; is not &amp;quot;&lt;span&gt;Standard drive, low frequency I/O only&lt;/span&gt;&amp;quot;.&lt;/p&gt;
[quote userid="85966" url="~/f/nordic-q-a/59880/switching-antennas/243529"]I was thinking of using 1.08 and 1.07, but I am not sure about their hexadecimal values[/quote]
&lt;p&gt;They&amp;#39;re mapped to 0x28 and 0x27, but why do you need &amp;quot;magic&amp;quot; numbers? Use NRF_GPIO_PIN_MAP(1, 8).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching Antennas</title><link>https://devzone.nordicsemi.com/thread/243529?ContentTypeID=1</link><pubDate>Sun, 05 Apr 2020 21:42:56 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ab20daa3-2656-49fc-8860-56015386122a</guid><dc:creator>Siddharth Venkatesh</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I am using the&amp;nbsp;EV1HMC321ALP4E eval board.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Also what other pins would you suggest.&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;/p&gt;
&lt;p&gt;I was thinking of using 1.08 and 1.07, but I am not sure about their hexadecimal values.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Switching Antennas</title><link>https://devzone.nordicsemi.com/thread/243526?ContentTypeID=1</link><pubDate>Sun, 05 Apr 2020 19:17:21 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a0880704-5c52-4a57-bff1-cdb49f1a2f4c</guid><dc:creator>Dmitry</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;what RF switch IC do you have? It&amp;#39;s hard to say whether your config is right without looking at schematics.&lt;/p&gt;
&lt;p&gt;Antenna 1 is not used in switching sequence, only for reference period&amp;nbsp;- is it your intention?&lt;/p&gt;
&lt;p&gt;P0.19 is marked as &amp;quot;Standard drive, low frequency I/O only&amp;quot;, it&amp;#39;s better to choose another one.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>