<?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>Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/5631/spectrum-measurements-with-dtm-firmware</link><description>Hi all,
we are performing some transmitter spectrum measurements using your nRFGo (PCA10005) board and an Aaronia HF-60105 spectrum analyzer.
The SMA connector of nRFGo has been connected to the spectrum analyzer through a 30 dB attenuator.
On the</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Feb 2015 12:24:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/5631/spectrum-measurements-with-dtm-firmware" /><item><title>RE: Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/thread/19727?ContentTypeID=1</link><pubDate>Thu, 26 Feb 2015 12:24:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f1751511-0a4e-4541-a093-93be453f7750</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;Glad it worked out. Thanks for the update.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/thread/19724?ContentTypeID=1</link><pubDate>Wed, 25 Feb 2015 15:10:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ccb89e59-b3ae-404d-8cb0-8f2e28603d9a</guid><dc:creator>Samuele Forconi</dc:creator><description>&lt;p&gt;Hi, we have performed the same tests with another spectrum analyzer and it turns out that the spur that we were observing was introduced by spectrum analyzer!
We have used a better spectrum analyzer and with this one the spur is not present anymore... maybe it was due to a problem with the previous spectrum analyzer that we were using.&lt;/p&gt;
&lt;p&gt;Thanks anyway for your support.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/thread/19726?ContentTypeID=1</link><pubDate>Tue, 24 Feb 2015 11:48:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08d23a60-2bf9-47e4-b464-580c7bac1e43</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;The DTM test that you are running is just fine and the radio_test is also what we are using. Regarding the zoomed in picture. I mean, are you able to set the span of the measurement equipment to 50 MHz and set the center of the span just over where the spur is? This will help identify where in frequency it accurately is and what the level is. With 1 GHz span it&amp;#39;s inaccurate with regard to frequency and also, it could easily be affected by the noise floor. There shouldn&amp;#39;t be a spur there from our radio in TX mode, not should there be a spur there if you are in receive mode on channel 2. It could be that the code puts the radio into receive mode on channel 77-78, then you could see such a spur, but not with a 30 dB attenuator. The receiver local oscillator on this board is -56 dBm to -57 dBm, but you need a short span to make the measurement accurate.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/thread/19725?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 14:03:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:057b53f5-ca5c-46c8-997b-9ddae954fe94</guid><dc:creator>Samuele Forconi</dc:creator><description>&lt;p&gt;Hi,
as I have written in my previous posts, we are actually using the nRFGo PCA10005 board (SMA connector), directly connected with the Aaronia HF-60105 spectrum analyzer.&lt;/p&gt;
&lt;p&gt;We have tried 2 different firmware:&lt;/p&gt;
&lt;ol&gt;
&lt;li&gt;
&lt;p&gt;a slightly modified version of the DTM firmware (modified to perform only the TRANSMITTER_TEST, without UART communication)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;a slightly modified version of the radio_test firmware (modified to perform only the TX_CARRIER_TEST withou UART communication).&lt;/p&gt;
&lt;/li&gt;
&lt;/ol&gt;
&lt;p&gt;I have posted above the code of the main.c of both firmwares.
I have also attached a zoomed image of the measured spur (in the image the nRFGO was set to transmit on frequency 2402MHz).&lt;/p&gt;
&lt;p&gt;Currently we can&amp;#39;t understand the spur on TXFreq + 430MHz that appears on the spectrum measurement.&lt;/p&gt;
&lt;p&gt;Do you have a reference test firmware that we could try to load on the nRFGO to perform such test?&lt;/p&gt;
&lt;p&gt;Thanks for your support.
Samuele.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/thread/19723?ContentTypeID=1</link><pubDate>Mon, 23 Feb 2015 13:34:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:39844a52-3f40-4fec-b91a-2e07749d5094</guid><dc:creator>Asbj&amp;#248;rn</dc:creator><description>&lt;p&gt;During TX only there shouldn&amp;#39;t be any spur there from the nRF51. The LO is only visible in receive mode. The spur is a little high in frequency as well for receive mode on channel 2.403 MHz. The LO frequency is (8/7)* (2400 + channel_numer + 2). So if you are listening on channel 3 the equation would be: (8/7) * (2400 + 3 +2) ~= 2.748 MHz.&lt;/p&gt;
&lt;p&gt;Could you try reducing the span and &amp;quot;zooming&amp;quot; in on the spur itself. That might give you a more accurate reading for where the spur actually is located and also the level of the spur.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Spectrum measurements with DTM firmware</title><link>https://devzone.nordicsemi.com/thread/19722?ContentTypeID=1</link><pubDate>Thu, 19 Feb 2015 16:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:1a9b3329-14bb-49ad-99b6-d065c21e6311</guid><dc:creator>Samuele Forconi</dc:creator><description>&lt;p&gt;Hi,
we have made some other tests using also a basic version of the radio_test firmware to perform the TX_CARRIER_TEST.
We have removed the attenuator between the nRFGo and the spectrum analyzer and programmed the nRF51 with a TX power of -30 dBm (see attached image).&lt;/p&gt;
&lt;p&gt;This is the code we have used for the test:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;#include &amp;lt;stdint.h&amp;gt;
#include &amp;lt;stdbool.h&amp;gt;
#include &amp;quot;boards.h&amp;quot;
#include &amp;quot;nrf.h&amp;quot;
#include &amp;quot;nrf51_bitfields.h&amp;quot;

static uint8_t mode_     = RADIO_MODE_MODE_Nrf_1Mbit;
static uint8_t txpower_  = RADIO_TXPOWER_TXPOWER_Neg30dBm;
static uint8_t channel_  = 2;

int main(void)
{
    // Initialization
    NRF_RNG-&amp;gt;TASKS_START = 1;    
    // Start 16 MHz crystal oscillator
    NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED  = 0;
    NRF_CLOCK-&amp;gt;TASKS_HFCLKSTART     = 1;
    // Wait for the external oscillator to start up
    while (NRF_CLOCK-&amp;gt;EVENTS_HFCLKSTARTED == 0)
    {
        // Do nothing.
    }
    
    // Radio disable
    NRF_RADIO-&amp;gt;SHORTS          = 0;
    NRF_RADIO-&amp;gt;EVENTS_DISABLED = 0;
    NRF_RADIO-&amp;gt;TEST            = 0;
    NRF_RADIO-&amp;gt;TASKS_DISABLE   = 1;
    while (NRF_RADIO-&amp;gt;EVENTS_DISABLED == 0)
    {
        // Do nothing.
    }
    NRF_RADIO-&amp;gt;EVENTS_DISABLED = 0;
    
    // Perform test
    NRF_RADIO-&amp;gt;SHORTS     = RADIO_SHORTS_READY_START_Msk;
    NRF_RADIO-&amp;gt;TXPOWER    = (txpower_ &amp;lt;&amp;lt; RADIO_TXPOWER_TXPOWER_Pos);    
    NRF_RADIO-&amp;gt;MODE       = (mode_ &amp;lt;&amp;lt; RADIO_MODE_MODE_Pos);
    NRF_RADIO-&amp;gt;FREQUENCY  = channel_;
    NRF_RADIO-&amp;gt;TEST       = (RADIO_TEST_CONST_CARRIER_Enabled &amp;lt;&amp;lt; RADIO_TEST_CONST_CARRIER_Pos) \
                        | (RADIO_TEST_PLL_LOCK_Enabled &amp;lt;&amp;lt; RADIO_TEST_PLL_LOCK_Pos);

    NRF_RADIO-&amp;gt;TASKS_TXEN = 1;

    while(1)
    {
        // Do nothing.
    }
}
&lt;/code&gt;&lt;/pre&gt;
&lt;p&gt;The same spur, as described in the previous post, is still present also with this radio test software.&lt;/p&gt;
&lt;p&gt;Do you have any suggestions/explanations for this radio behaviour?&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/test_2D00_setup.png" alt="image description" /&gt;&lt;/p&gt;
&lt;p&gt;Zoomed image of the spur:
&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/screen_5F00_nrf51_5F00_test_5F00_zoom.png" alt="image description" /&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>