<?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>Set transmission power in Contiki-NG and NRF5340</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/84187/set-transmission-power-in-contiki-ng-and-nrf5340</link><description>Hi there, I am trying to change the transmission power of the NRF5340 devices (for IEEE 802.15.4 radio) with Contiki-NG. With some other hardware (sky motes) that is based on CC2420 radio we use a function like this: 
 
 
 
 Obviously, NRF is not using</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 31 Jan 2022 13:43:40 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/84187/set-transmission-power-in-contiki-ng-and-nrf5340" /><item><title>RE: Set transmission power in Contiki-NG and NRF5340</title><link>https://devzone.nordicsemi.com/thread/350446?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 13:43:40 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1b15ad9-03e6-432e-8328-cda93e8fbb01</guid><dc:creator>Edvin</dc:creator><description>&lt;p&gt;Hello,&lt;/p&gt;
&lt;p&gt;There is a register for this on the nRF53 as well.&lt;/p&gt;
&lt;p&gt;Please see the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/radio.html?cp=3_0_0_6_25_14_86#register.TXPOWER"&gt;TXPOWER register documentation&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know what TX power you need. But as you can see from the description, if you want higher than 0dBm, you need to enable the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf5340/chapters/vreqctrl/doc/vreqctrl.html?cp=3_0_0_3_8"&gt;VREQCTRL&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;You need to control this from the network core. I don&amp;#39;t know whether we your application is using the network core to handle radio stuff. (we do not support contiki from Nordic&amp;#39;s side).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Set transmission power in Contiki-NG and NRF5340</title><link>https://devzone.nordicsemi.com/thread/350436?ContentTypeID=1</link><pubDate>Mon, 31 Jan 2022 13:22:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c20f614a-4805-443d-915a-15fc352f0295</guid><dc:creator>Iliar Rabet</dc:creator><description>&lt;p dir="auto"&gt;Just sharing&amp;nbsp;the&amp;nbsp;answer from Contiki&amp;#39;s forum:&lt;/p&gt;
&lt;p dir="auto"&gt;-----&lt;/p&gt;
&lt;p dir="auto"&gt;You can set the TX power using the&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;RADIO_PARAM_TXPOWER&lt;/code&gt;&lt;span&gt;&amp;nbsp;&lt;/span&gt;parameter, i.e. something like:&lt;/p&gt;
&lt;div class="snippet-clipboard-content position-relative overflow-auto"&gt;
&lt;pre&gt;&lt;code&gt;&lt;pre class="ui-code" data-mode="text"&gt;NETSTACK_RADIO.set_value(RADIO_PARAM_TXPOWER, (radio_value_t) RADIO_TXPOWER_TXPOWER_0dBm);&lt;/pre&gt;
&lt;/code&gt;&lt;/pre&gt;
&lt;/div&gt;
&lt;p dir="auto"&gt;You will need to include&lt;span&gt;&amp;nbsp;&lt;/span&gt;&lt;code&gt;netstack.h&lt;/code&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>