<?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>How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/62557/how-to-measure-gps-antenna-sensitivity</link><description>I would like to compare GPS antenna sensitivity between DK board and a custom board. What AT command achieves it? Thanks.</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 11 Aug 2020 12:08:53 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/62557/how-to-measure-gps-antenna-sensitivity" /><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/264037?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 12:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6bc63c5e-92ee-4ba1-bde1-4d9c481d4905</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;So t&lt;span&gt;he CN0 value is an indication of signal strength, but it is quite unreliable when comparing receive sensitivity in live conditions. &lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The measurements should be taken from exactly the same place at exactly the same time (preferably using the same antenna), otherwise the comparison is contaminated&amp;nbsp;by antenna performance, multipath distortions etc.&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/263937?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 07:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:aecd9670-239e-4dbd-814c-10b0e3244b86</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you for your reply. I see.&lt;/p&gt;
&lt;p&gt;Then, I think only way to compare GPS receive&amp;nbsp;sensitivity in live condition is to read C/No value from NMEA format.&amp;nbsp;Is this correct?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/263935?ContentTypeID=1</link><pubDate>Tue, 11 Aug 2020 07:14:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9be939cb-73f4-4dd0-afd3-8b3bb28721f8</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The CW signal from a signal generator would not be the same as the GPS signal from the sky.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;In order to successfully execute the RX or GPS SNR test, you need a configurable signal generator device, that can provide a simple (sinewave) RF signal at 1575.75 MHz. It doesn&amp;#39;t have to be a GPS signal, but just a tone on that frequency.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;The cheapest such generators are USB sticks and cost a couple of hundred US dollars, like &lt;a href="https://windfreaktech.com/product/usb-rf-signal-generator/"&gt;this&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;It is not possible to execute the SNR test with a &amp;quot;live&amp;quot; GPS signal. Instead, it must be a tone on 1575.75MHz.&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;&amp;nbsp;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Also, AT%XRFTESTs should not be added into an application which activates the GPS or LTE in other ways (using AT+CFUN). It simply doesn&amp;#39;t work if modem/gps is already active, and the stoppage is actually very likely modem resetting on the background.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/260693?ContentTypeID=1</link><pubDate>Sat, 18 Jul 2020 14:44:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6d7e8d24-fb18-403f-9630-87dd62be94d1</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you for your reply.&lt;/p&gt;
&lt;p&gt;Unfortunately this&amp;nbsp;also gives the same result.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CFUN=0
AT%XSYSTEMMODE=1,0,1,0
AT%XCOEX0=1,1,1570,1580
AT%XMAGPIO=1,0,0,1,1,1570,1580
AT+CFUN=31
AT%XRFTEST=2,1,-78,0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;In addition, I added these lines to gps app at several points after init_app(), but the app always stops at this.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;	if (at_cmd_write(&amp;quot;AT\%XRFTEST=2,1,-78,0&amp;quot;, buf, sizeof(buf), NULL) != 0) {
		return -1;
	}
    printk(&amp;quot;%s\n&amp;quot;, buf);&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;gt;&lt;span&gt;&amp;nbsp;Based on the results you got, the external signal is most likely missing.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;gps app works out under the open sky so I think gps signal reaches my testing place, but something is wrong.&lt;/p&gt;
&lt;p&gt;And, I read this ticket&amp;nbsp;related to&amp;nbsp;AT%XPRODDONE&lt;/p&gt;
&lt;p&gt;&lt;a href="https://devzone.nordicsemi.com/f/nordic-q-a/58767/disable-nrf9160-downgrade-protection"&gt;https://devzone.nordicsemi.com/f/nordic-q-a/58767/disable-nrf9160-downgrade-protection&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;At least, %XRFTEST command returns some value&amp;nbsp;on at_client app so I don&amp;#39;t think I enabled this.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;If possible, I would like to know the full AT Command list to get GPS &lt;span&gt;signal-to-noise&amp;nbsp;&lt;/span&gt;value.&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/259691?ContentTypeID=1</link><pubDate>Mon, 13 Jul 2020 12:50:28 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:222844d9-2527-4056-871a-592c5b8fb1fe</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I got an answer from the IoT department, here&amp;#39;s their somewhat modified response;&lt;/p&gt;
&lt;p&gt;The GPS SNR test in the AT%XRFTEST command family can be used to measure the signal-to-noise ratio against an externally generated CW/sine signal. Based on the results you got, the external signal is most likely missing.&lt;/p&gt;
&lt;p&gt;The &amp;quot;GPS L1 frequency&amp;quot; is 1575.42 MHz, and that is set automatically for nRF9160 (if &amp;lt;param2&amp;gt; is omitted).&lt;/p&gt;
&lt;p&gt;&lt;b&gt;The external signal should be offset by +330kHz from the GPS L1 frequency, and be a CW signal at 1575.75 MHz.&lt;/b&gt;&lt;/p&gt;
&lt;p&gt;The signal strength AND the possible external amplifiers on board determine what is given to the command as &amp;lt;param0&amp;gt;.&amp;nbsp; Indeed the signal level in the command is given so that the SIP sets the gains correctly for the test.&lt;/p&gt;
&lt;p&gt;For example, if you set the signal to -90dBm in the external signal generator, and you have enabled (*) the 12dB amplifier on the devkit board, then at SIP GPS input you see about -78dBm signal. Thus the command&amp;#39;s &amp;lt;param0&amp;gt; should be set accordingly (it&amp;#39;s OK to be wrong even 10 dB, there is of course some headroom).&lt;/p&gt;
&lt;p&gt;AT%XRFTEST=2,1,-78,0&lt;/p&gt;
&lt;p&gt;The returned value gives back the hopefully positive &amp;lt;snr&amp;gt; and signal strengh as measured in antenna input of the sip &amp;lt;antenna_power&amp;gt;, which should be close to -78 * 256 = -19968 in our example.&lt;/p&gt;
&lt;p&gt;SNR should be around 20*16 = 320 if all is good.&lt;/p&gt;
&lt;p&gt;It&amp;#39;s still probably not right to call SNR as sensitivity because it is just a oneshot measurement from CW signal, but you can still do some basic comparisons between boards using the number you get.&lt;/p&gt;
&lt;p&gt;* give the AT%XCOEX0 or XMAGPIO0 at command before the test, depending on your board versions. If unsure, give both:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;AT%XCOEX0=1,1,1570,1580&lt;/li&gt;
&lt;li&gt;AT%XMAGPIO=1,0,0,1,1,1570,1580&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Then there was question what is &amp;lt;param2&amp;gt;? Our lab noticed that some signal generator have a spur just at the wanted frequency, so we wanted to give an option to move the test frequency, and thus also nRF9160 frequency slightly to avoid that spur. So that is a completely optional parameter and not the cause of this issue. Anyway, if you move the nRF9160 freq with &amp;lt;param2&amp;gt;, move also the CW signal frequency equally much.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/259184?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 12:48:42 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dcf026dc-80e6-4bef-84e6-35f1639a467c</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Thank you!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/259183?ContentTypeID=1</link><pubDate>Thu, 09 Jul 2020 12:42:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:953e9191-780e-4caa-8007-75a48d2bc5af</guid><dc:creator>Hakon</dc:creator><description>&lt;p&gt;I&amp;#39;m not sure why you&amp;#39;re getting a high SNR value. It could be because of high noise levels, but I will ask about it internally to be sure.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/257479?ContentTypeID=1</link><pubDate>Tue, 30 Jun 2020 02:12:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d194b476-7215-4886-9d1c-76694591440e</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;I&amp;#39;m trying to measure the GPS sensitivity, but not sure the value is correct&lt;/p&gt;
&lt;p&gt;in at command datasheet, example snr value is positive&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;%XRFTEST=2,1,0,0
%XRFTEST: 514,-19968
OK

# %XRFTEST: &amp;lt;snr&amp;gt;,&amp;lt;antenna_power&amp;gt;
&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;However, when I receive the data, the value is always negative, although A-GPS works properly. Do I miss any setting to get the GPS SNR?&lt;/p&gt;
&lt;p&gt;&amp;lt;input at commands&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;AT+CFUN=0
AT%XSYSTEMMODE=1,0,1,0
AT%XMAGPIO=1,0,0,1,1,1574,1577
AT%XCOEX0=1,1,1570,1580
AT+CFUN=31
AT%XRFTEST=2,1,0,0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;lt;output&amp;gt;&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;%XRFTEST: -93,-22680&lt;/pre&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/255251?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 12:30:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6882fe8f-02f8-4083-8ee5-16faee6c3f69</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi, yes -105 dBm is the default gain.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/255244?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 12:00:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ebc906f7-48ad-4b5b-b2c6-10c4dd954497</guid><dc:creator>Yusuke</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;%XRFTEST=2,1,0,0&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;This command indicates&amp;nbsp;&amp;lt;param0&amp;gt; is set to 0, which means&amp;nbsp;gain is &amp;minus;105 dBm. Is this standard value? If not, what value should be standard?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: How to measure GPS antenna sensitivity?</title><link>https://devzone.nordicsemi.com/thread/255230?ContentTypeID=1</link><pubDate>Tue, 16 Jun 2020 11:41:14 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:58ece9cd-2465-4e48-94e2-a71b707a21fb</guid><dc:creator>Heidi</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;I believe you can use &lt;a href="https://infocenter.nordicsemi.com/topic/ref_at_commands/REF/at_commands/mob_termination_ctrl_status/xrftest.html"&gt;%XRFTEST&lt;/a&gt; to read this information. Take a look and let me know if this is what you were looking for.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Heidi&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>