<?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 set RF modulation type?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/15917/how-to-set-rf-modulation-type</link><description>Hi.
I&amp;#39;m using nRF51822AC, S130.
I made source code for RF test as below. 
 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.
}</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 23 Aug 2016 07:48:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/15917/how-to-set-rf-modulation-type" /><item><title>RE: how to set RF modulation type?</title><link>https://devzone.nordicsemi.com/thread/60734?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 07:48:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:020196f7-ff5c-4eb9-a871-fea77b86b1fd</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;It&amp;#39;s very helpful. Thank you very much for your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set RF modulation type?</title><link>https://devzone.nordicsemi.com/thread/60733?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 07:29:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:9b27ec2b-b959-4c9c-b41e-7da5dbf5a696</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;There is no specific &amp;quot;non-modulation&amp;quot; mode, only the 4 modes listed in my answer. Constant carrier is enabled by setting the CONSTCARRIER field of the TEST register, as you do.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set RF modulation type?</title><link>https://devzone.nordicsemi.com/thread/60732?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 07:19:17 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a8ac5546-e752-4b18-ba23-1c200cb9d5b4</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;Thank you very much for your help.
I already got my source code from &amp;quot;radio test&amp;quot; example source code.
What i really want to know is
&amp;quot;How can I make it non-modulation mode?&amp;quot; or
&amp;quot;Which #define do I choose for non-modulation mode?&amp;quot;.
NRF_RADIO-&amp;gt;MODE = ???
NRF_RADIO-&amp;gt;TEST = ???&lt;/p&gt;
&lt;p&gt;I need your help.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set RF modulation type?</title><link>https://devzone.nordicsemi.com/thread/60731?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 07:05:43 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:717bd938-7c26-4c0c-95c4-f36712b8413e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;You can output a carrier wave. This is done for example in the &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.sdk5.v11.0.0/nrf_radio_test_example.html?cp=6_0_0_4_5_20"&gt;radio test example&lt;/a&gt; in the SDK. This function is used to configure the radio for carrier output in the example:&lt;/p&gt;
&lt;pre&gt;&lt;code&gt;void radio_tx_carrier(uint8_t txpower, uint8_t mode, uint8_t channel)
{
    radio_disable();
    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;
#ifdef NRF51
    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);
#endif
    NRF_RADIO-&amp;gt;TASKS_TXEN = 1;
}
&lt;/code&gt;&lt;/pre&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set RF modulation type?</title><link>https://devzone.nordicsemi.com/thread/60730?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 06:43:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2242d4a8-2634-4696-b52d-c4e98730f400</guid><dc:creator>roger.k</dc:creator><description>&lt;p&gt;What if I don&amp;#39;t want any Modulation, how can i do?&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: how to set RF modulation type?</title><link>https://devzone.nordicsemi.com/thread/60729?ContentTypeID=1</link><pubDate>Tue, 23 Aug 2016 06:40:33 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:41d2d206-b51a-445f-96ff-b894c80f4003</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;The radio &lt;em&gt;only&lt;/em&gt; support GFSK modulation, and only the following four variants:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;1 Mbit/s Nordic proprietary radio mode&lt;/li&gt;
&lt;li&gt;2 Mbit/s Nordic proprietary radio mode&lt;/li&gt;
&lt;li&gt;250 kbit/s Nordic proprietary radio mode (deprecated, but working)&lt;/li&gt;
&lt;li&gt;1 Mbit/s Bluetooth Low Energy&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;The difference between the 1 Mbit proprietary and 1 Mbit BLE mode is mainly that the modulation index is different.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>