<?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>PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/51986/pca20035-antenna-tuning-rf-switches</link><description>Hello, 
 I&amp;#39;m looking for a little clarification on how the antenna tuning circuitry works on the Thingy:91 v1.0.0 board. 
 From a previous topic on the DevZone, I saw that one user was able to get the GPS on the PCA20035 board working by removing the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 12 Sep 2019 11:43:12 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/51986/pca20035-antenna-tuning-rf-switches" /><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209407?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 11:43:12 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbdb8091-5789-47c9-8da1-f8253febc1cb</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user="MJD093"]I have noticed that the &amp;quot;Using:&amp;quot; section of the satelite stats now seems to be accurately reporting how many satelites the device is using from the ones tracked. Is this a new feature of the 1.0.1 modem firmware?[/quote]
&lt;p&gt;Yes, it seems there was a small fix to this with the 1.0.1 release.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209403?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 11:31:36 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8a48d39-7d01-4998-a028-1ab369c34699</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;The rain held off long enough to get a fix after ~115 seconds (it is now pouring down). Thanks for the help getting the GPS tuning correct.&lt;/p&gt;
&lt;p&gt;I have noticed that the &amp;quot;Using:&amp;quot; section of the satelite stats now seems to be accurately reporting how many satelites the device is using from the ones tracked. Is this a new feature of the 1.0.1 modem firmware?&lt;/p&gt;
&lt;p&gt;I can&amp;#39;t remember ever seeing this field of the print_satellite_stats() function ever working in the past with the PCA10090 board and the firmware I&amp;#39;m using is a stripped down version of a larger application I&amp;#39;m building for a custom nRF91 board.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209399?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 11:20:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:db4ed2a4-ea60-4a2c-b948-59b7c03d0120</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Alright, cool. The one satellite is indeed promising, it should be an indication that the command is correct as finding satellites while indoors is quite challenging in itself.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209388?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 10:54:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ecbf2fa9-8661-4580-a8e2-3ceb8c7833b4</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;Thanks for the information, I will flash these AT commands and test the GPS response (once it stops raining &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f605.svg" title="Sweat smile"&gt;&amp;#x1f605;&lt;/span&gt;). Already found one satelite while inside a structure so that&amp;#39;s promising.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209345?ContentTypeID=1</link><pubDate>Thu, 12 Sep 2019 08:56:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6583dff1-28c9-489e-b715-98a7d8ec56ff</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;No, the correct commands would be&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%MAGPIO=1,1,1,1,5,791,849
AT%MAGPIO=1,1,1,1,7,1574,1577&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;The first three 1s are to instruct the modem that all MAGPIOs are used, even if the pin is low it is in use. The 4th &amp;#39;1&amp;#39; is to instruct how many different states there are in total, if you plan on using both these commands in the same application (without potentially erasing the previous setting) this should be 2. The 5 and the 7 instruct which of the state the two following band limits shall be used for. Which state maps to which combination of MAGPIOs is described in the &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/sip_pin_configuration/xmagpio_set.html?cp=2_1_4_1_0"&gt;AT command description&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;You can also set both in one command by sending&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%XMAGPIO=1,1,1,2,5,791,849,7,1574,1577&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209222?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2019 14:37:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:19a12e8d-15d1-4d9a-985c-0c02417c41e3</guid><dc:creator>MJD093</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;So your saying that the above examples I gave:&lt;/p&gt;
&lt;p&gt;NB-IoT B20&amp;nbsp; AT%XMAGPIO=1,0,1,1,791,849&lt;/p&gt;
&lt;p&gt;GPS&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp;&amp;nbsp; AT%XMAGPIO=1,1,1,1,1574,1577&lt;/p&gt;
&lt;p&gt;would be the appropiate ways to initialise the modem for a PCA20035 v1.0.0 device?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: PCA20035 Antenna Tuning RF Switches</title><link>https://devzone.nordicsemi.com/thread/209220?ContentTypeID=1</link><pubDate>Wed, 11 Sep 2019 14:18:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:309c4760-be2a-4611-b917-03a0f2366284</guid><dc:creator>Andreas</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This format (pre-v0.7.1 og the AT command reference document) of the %XMAGPIO command you have to pile out a lot of bands like this as the order determines the state. This means what is really written:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT%XMAGPIO= MAGPIO0_enable, MAGPIO1_enable, MAGPIO2_enable, state000_low, state000_high, state100_low, state100_high, state010_low, state010_high, state110_low, state110_high, state001_low, state001_high, state101_low, state101_high, state011_low, state011_high, state111_low, state111_high&lt;/pre&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;where&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;state000_low is the lower edge of the band which shall have the 000 state&lt;/li&gt;
&lt;li&gt;&lt;span&gt;state000_high is the&amp;nbsp;upper edge of the band which shall have the 000 state&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;state100_low is the lower edge of the band which shall have the 100 state&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;state100_low is the lower edge of the band which shall have the 100 state&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;etc.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Whichever states are not used, &lt;a href="https://infocenter.nordicsemi.com/topic/ug_thingy91/UG/thingy91/hw_description/hw_antenna_tuning.html?cp=10_0_4_2_0"&gt;in Thingy91 the 000 state and 011 state&lt;/a&gt;, you assign &amp;#39;dummy&amp;#39; bands (bands that will never be used) to these.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The new format allows you to skip the unused states, or set a single state in a command, see &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/sip_pin_configuration/xmagpio.html?cp=2_1_4_1"&gt;this link&lt;/a&gt;.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Andreas&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>