<?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>Controlling BLE TX Power in nrf52840</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104962/controlling-ble-tx-power-in-nrf52840</link><description>Hello, 
 Currently, I am running a BLE application in my nrf52840 DK. I Need to increase the BLE TX power and for that, I have used the static TX power method via the KConfig macro 
 
 
 CONFIG_BT_CTLR_TX_PWR_PLUS_8=y. 
 
 
 
 I have used the NRF Connect</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Mon, 23 Oct 2023 12:04:15 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104962/controlling-ble-tx-power-in-nrf52840" /><item><title>RE: Controlling BLE TX Power in nrf52840</title><link>https://devzone.nordicsemi.com/thread/451708?ContentTypeID=1</link><pubDate>Mon, 23 Oct 2023 12:04:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5afe6a89-3006-487e-b9ea-21f46ce065a1</guid><dc:creator>Bendik Heiskel</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Using RSSI to check the TX power isn&amp;#39;t very reliable, especially if the antenna on the board haven&amp;#39;t been tuned. A better way to check if the TX power is set correctly is to read the &lt;a href="https://infocenter.nordicsemi.com/topic/ps_nrf52840/radio.html?cp=5_0_0_5_19_13_46#register.TXPOWER"&gt;TXPOWER&lt;/a&gt; register for the radio peripheral.&lt;/p&gt;
&lt;p&gt;This can easily be done using nrfjprog:&lt;br /&gt;&lt;pre class="ui-code" data-mode="text"&gt;nrfjprog --memrd 0x4000150C&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Both &lt;code&gt;CONFIG_BT_CTLR_TX_PWR_PLUS_8 &lt;/code&gt;and&lt;code&gt; CONFIG_BT_CTLR_TX_PWR_ANTENNA &lt;/code&gt;can be used for setting the TX power. &lt;code&gt;CONFIG_BT_CTLR_TX_PWR_ANTENNA&lt;/code&gt; will set the TX power at the antenna, so if a FEM is used it will calculate the required TX power from the SoC based on the TX gain of the FEM to give the final TX power requested using &lt;code&gt;CONFIG_BT_CTLR_TX_PWR_ANTENNA&lt;/code&gt;.&lt;/p&gt;
&lt;p&gt;&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>