<?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>nRF52840 + FEM nRF21540  Continuous Wave Test (Radio_test)</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/80622/nrf52840-fem-nrf21540-continuous-wave-test-radio_test</link><description>Hi Team, 
 We are on the Pre-Production stage of our Product, which uses the nRF52840 (forBLE) with the FEM nrf21540(new) 
 We are aiming to get power out of 20dBm. 
 To get the Radio Characteristics we are testing it on the Spectrum Analyzer. Our Interest</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 14 Oct 2021 12:05:31 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/80622/nrf52840-fem-nrf21540-continuous-wave-test-radio_test" /><item><title>RE: nRF52840 + FEM nRF21540  Continuous Wave Test (Radio_test)</title><link>https://devzone.nordicsemi.com/thread/334139?ContentTypeID=1</link><pubDate>Thu, 14 Oct 2021 12:05:31 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:73f48d4e-5e20-4d87-9bc9-b9f0ac265ae7</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]1) What is the Sequence of commands I should use,&amp;nbsp; to get the continuous transmission wave on the Spectrum analyzer?[/quote]
&lt;p&gt;To start a carrier of 8dBm on channel 40 the sequence is:&lt;/p&gt;
&lt;p&gt;start_channel 40&lt;/p&gt;
&lt;p&gt;output_power pos8dBm&lt;/p&gt;
&lt;p&gt;start_tx_carrier&lt;/p&gt;
&lt;p&gt;When the nrf21540 is connected this will use the default antenna and TX gain which is ant_1 and 20dBm. If no start channel or output power is set before starting the TX carrier the defaults will be used which are channel 2 and pos0dBm.&lt;/p&gt;
[quote user=""]2) To validate the nrf21540 functioning I like to adjust the gain parameters on 21540, What sequence should I use for that?[/quote]
&lt;p&gt;To change the TX gain the following command must be used before staring the tx carrier:&lt;/p&gt;
&lt;p&gt;nrf21540 tx_gain x&lt;/p&gt;
[quote user=""]3) Will the nrf21540 commands to change the gain over SPI works ? (we are not able to observe the change in the&amp;nbsp;[/quote]
&lt;p&gt;The command above uses the SPI interface of the nRF21540 to change the TX_gain. If you are not able to observe changes to in the selected TX gain, the SPI pins may be configured wrong in the devicetree .&lt;/p&gt;
[quote user=""]4) With the same Radio Test example can I use the Mode pin to control the Gain setting (10/20 dB setting )?[/quote]
&lt;p&gt;No there is no control over the Mode pin when using the radio test example. To change between 10dBm and 20dBm the SPI interface must be used.&lt;/p&gt;
[quote user=""]&lt;p&gt;with Spectrum analyzer set to 10.KHz Resolution Bandwidth we were getting&amp;nbsp; -8dBm , when I changed to 100kHz RBW I was able to observe&amp;nbsp; 2dBm etc.&lt;/p&gt;
&lt;p&gt;with 52840 gain set to 8dBm&amp;nbsp; We were able to get 3 dBm at 10 kHz RBW, with the same radio settings changing&amp;nbsp; RBW to 100kHz I was getting around 12 dBm.&lt;/p&gt;
&lt;p&gt;Are these behaviors expected? or are we doing something wrong?&lt;/p&gt;[/quote]
&lt;p&gt;When measuring the output power a resolution bandwidth of at least 100kHz must be used. If the RBW is too low the measurement will not be correct. You will also measure lower output power if the matching networks for the nRF52840 and the nRF21540 are not tuned.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Bendik&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>