<?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>Radio Test not generating detectable carrier also modulated function hangs in rnd8</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/72204/radio-test-not-generating-detectable-carrier-also-modulated-function-hangs-in-rnd8</link><description>Hello, 
 
 I&amp;#39;ve been tasked with adding radio test functionality to our manufacturing support firmware. I reviewed the comments here on devzone and studied the radio_test peripheral example. Since the existing software utilizes the softdevice, I have</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 03 Mar 2021 08:36:49 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/72204/radio-test-not-generating-detectable-carrier-also-modulated-function-hangs-in-rnd8" /><item><title>RE: Radio Test not generating detectable carrier also modulated function hangs in rnd8</title><link>https://devzone.nordicsemi.com/thread/297390?ContentTypeID=1</link><pubDate>Wed, 03 Mar 2021 08:36:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b8605a42-c216-450b-9a0b-e1fca86fbd2d</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user="anthony.asterisk"]&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The HFCLK and NRF_RNG-&amp;gt;TASKS_START were the main issues, thanks for your helpful response!&lt;/span&gt;&lt;/p&gt;[/quote]
&lt;p&gt;I am glad to hear that you solved the issues!&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Cheers,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test not generating detectable carrier also modulated function hangs in rnd8</title><link>https://devzone.nordicsemi.com/thread/297297?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 17:39:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6ad1bb88-485b-4578-abd8-3707aad16ecb</guid><dc:creator>Anthony Ambuehl</dc:creator><description>&lt;p&gt;Thanks&amp;nbsp;&lt;span&gt;H&amp;aring;kon,&amp;nbsp;&amp;nbsp;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;The HFCLK and NRF_RNG-&amp;gt;TASKS_START were the main issues, thanks for your helpful response!&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Radio Test not generating detectable carrier also modulated function hangs in rnd8</title><link>https://devzone.nordicsemi.com/thread/297186?ContentTypeID=1</link><pubDate>Tue, 02 Mar 2021 13:04:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8ffa5748-ab62-458f-8135-e10d020f5cf3</guid><dc:creator>H&amp;#229;kon Alseth</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
[quote user=""]1) my product is BLE, what mode of operation should I use?&amp;nbsp;&amp;nbsp;RADIO_MODE_MODE_Nrf_2Mbit&amp;nbsp; or&amp;nbsp;RADIO_MODE_MODE_Ble_1Mbit&amp;nbsp; or another?[/quote]
&lt;p&gt;&amp;nbsp;For normal 1MBit BLE, the RADIO_MODE_MODE_Ble_1Mbit should be used with&amp;nbsp;&lt;strong&gt;modulated tx output&lt;/strong&gt;. Note that you may have to use 2MBit BLE as well, depending on what you&amp;#39;re going to use in your application.&lt;/p&gt;
&lt;p&gt;Specific for BLE certification, test houses usually prefer to use direct_test_mode (DTM).&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;For unmodulated, it does not matter, as the carrier does not contain any data (ie: unmodulated = pure sine wave)&lt;/p&gt;
[quote user=""]2) for radio certification testing, should I use&amp;nbsp;RADIO_TXPOWER_TXPOWER_0dBm or&amp;nbsp;RADIO_TXPOWER_TXPOWER_Pos4dBm or ?[/quote]
&lt;p&gt;This should match your applications max. tx output. You should inherit your own applications TXPOWER setting.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
[quote user=""]3) when I call&amp;nbsp;radio_modulated_tx_carrier, why does it hang during random number generation:[/quote]
&lt;p&gt;Its likely that the RNG isn&amp;#39;t started in your initialization routine. Try starting the RNG similar to this (in your init() function):&lt;/p&gt;
&lt;p&gt;NRF_RNG-&amp;gt;TASKS_START = 1;&lt;/p&gt;
[quote user=""]4) In DTM test, I see the code configures some additional values (NRF_RADIO-&amp;gt;MODECNF0, NRF_RADIO-&amp;gt;BASE0, NRF_RADIO-&amp;gt;CRCCNF, NRF_RADIO-&amp;gt;CRCPOLY, NRF_RADIO-&amp;gt;CRCINIT, but this not included in radio_test&amp;nbsp; do I need to configure them ?[/quote]
&lt;p&gt;direct test mode is setup per the bluetooth core specification, and is made to be interfaced with a dedicated bluetooth tester. If you want to do bluetooth certification, I recommend that you run this as a separate action, as compared to teleregulatory compliance.&amp;nbsp;&lt;/p&gt;
[quote user=""]5) when observing the radio behavior with RSSI viewer, I do not see any radio activity.&amp;nbsp; Does the softdevice leave the radio in a partially initialized state that is incompatible with the radio_test functions?&amp;nbsp; How do I initialize radio after disabling the softdevice to allow radio_test operation?[/quote]
&lt;p&gt;You should disable the softdevice, then start up the hfclk and other dependencies the radio_test requires to run. The current consumption of the device is usually a good indication on which state it is in. 3-4 mA indicates the CPU is running.&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;/p&gt;
&lt;p&gt;Håkon&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>