<?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>Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/85382/softdevice---i-cannot-set-tx-power-above-4dbm-but-as-per-the-datasheet-it-supports-up-to-8dbm</link><description>Hello, 
 I am doing BLE advertising on the nRF52833 and using nRF5 SK 17.0.2. I cannot set TX power above +4dbm from sd_ble_gap_tx_power_set(). I have checked in nrf_gap.h header file there also written &amp;quot; @note Supported tx_power values: -40dBm, -20dBm</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 09 Mar 2022 08:09:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/85382/softdevice---i-cannot-set-tx-power-above-4dbm-but-as-per-the-datasheet-it-supports-up-to-8dbm" /><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/357036?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 08:09:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:f274af06-f69a-4292-baab-d978040f0b7b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Yes, the error you got indicates that the application RAM needs to be adjusted to make more room for the SoftDevice. For details on how to optimize, I suggest you refer to &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;Adjustment of RAM and Flash memory&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/357020?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 05:57:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d034a1eb-e363-40dc-8fc7-fec943557122</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Hello Einar Thorsrud,&lt;/p&gt;
&lt;p&gt;I did one thing. It was known that it works on&amp;nbsp;PCA10040 &amp;gt; S132 folder as mentioned above. So I opened project PCA10040 &amp;gt; S132 and copied below 2 lines from Section Placement Macros from S132 and used it in the PCA10056 &amp;gt; S140 folder. And it works fine now. &lt;/p&gt;
&lt;pre class="code codeBlock hljs ini"&gt;&lt;span class="hljs-attr"&gt;RAM_START&lt;/span&gt;=&lt;span class="hljs-number"&gt;0&lt;/span&gt;x20005968
&lt;span class="hljs-attr"&gt;RAM_SIZE&lt;/span&gt;=&lt;span class="hljs-number"&gt;0&lt;/span&gt;xa698
&lt;/pre&gt;
&lt;p&gt;Let me know, is this correct way to do so?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks for your support.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/357016?ContentTypeID=1</link><pubDate>Wed, 09 Mar 2022 04:40:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:77be71d2-abb7-4298-97a6-62f4847a9f22</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Hello Einar Thorsrud,&lt;/p&gt;
&lt;p&gt;Thanks for this information.&lt;/p&gt;
&lt;p&gt;I did the same as you suggested and got below error log.&lt;/p&gt;
&lt;p&gt;&amp;lt;info&amp;gt; app: *****************DEVICE STARTED********************.&lt;br /&gt;&amp;lt;info&amp;gt; app: [1;32mEvent: FDS_EVT_INIT received (NRF_SUCCESS)&lt;br /&gt;&amp;lt;info&amp;gt; app: After fds_record_find.&lt;br /&gt;&amp;lt;info&amp;gt; app: nrf_sdh_enable_request 0&lt;br /&gt;&amp;lt;info&amp;gt; app: nrf_sdh_ble_default_cfg_set 0&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&amp;lt;error&amp;gt; app: ERROR 4 [NRF_ERROR_NO_MEM] at /home/neeraj/Applications/EmbeddedStudio_ARM_Nordic_v568_linux_x64/nRF5SDK1702d674dde/nRF5_SDK_17.0.2_d674dde/examples/peripheral/iotians_device_loadcell/IG_BLE.c:456&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;PC at: 0x0002A4D3&lt;/span&gt;&lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&amp;lt;error&amp;gt; app: End of error report&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I belive this is because of incorrect flash setting. So I have tried to change Linker &amp;gt; Section Placement Macros &amp;gt;But the problem still remains. My Current&amp;nbsp; Section Placement Macros&amp;nbsp; is as follows:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt;FLASH_PH_START=0x0
FLASH_PH_SIZE=0x100000
RAM_PH_START=0x20000000
RAM_PH_SIZE=0x40000
FLASH_START=0x27000
FLASH_SIZE=0xd9000
RAM_START=0x200018d8
RAM_SIZE=0x3e728&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;Please check if this is correct.&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/356993?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 20:49:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3ed5886e-eb32-4556-930a-46efdb4a30ad</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;Neeraj,&lt;/p&gt;
&lt;p&gt;When you get &amp;quot;Fatal error&amp;quot; that mens an APP_ERROR_CHECK has detected an error. If you make a debug build (define DEBUG and DEBUG_NRF for the project), the log should tell you which error code was detected at which line in which file. That gives much more to go on, so please check that first (note that if you are using a SES example project, you can simply select the Debug build target, which will do this for you automatically).&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/356961?ContentTypeID=1</link><pubDate>Tue, 08 Mar 2022 15:46:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81e6e0bb-96f1-472b-a989-5ed8f5b31fff</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Hello Einar Thorsrud,&lt;/p&gt;
&lt;p&gt;Sorry for the late reply. I was busy solving my other problems of nRF.&lt;/p&gt;
&lt;p&gt;As you suggested I have copied the PCA10056 &amp;gt; S140 folder from other projects and by comparing I made the required changes in the above folder and it got built successfully. But whenever nrf_sdh_ble_enable() function executes from ble_stack_init() function.&amp;nbsp; it throws error &amp;quot;&lt;span style="color:#ff0000;"&gt;&amp;lt;error&amp;gt; app: Fatal error&lt;/span&gt;&amp;quot;. If you want I can explain what changes I have made to create the PCA10056 &amp;gt; S140 folder.&lt;/p&gt;
&lt;p&gt;But when I tried to go back and check the working in PCA10040 &amp;gt; S132 folder. It works completely fine.&lt;/p&gt;
&lt;p&gt;Please correct me if I am doing anything wrong.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Neeraj&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/356286?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 12:18:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8627cd61-6fa7-47f1-9650-defe4f32763c</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The PCA10100&amp;nbsp; is the nRF52833 DK and the&amp;nbsp;PCA10056 is the nRF52840 DK, so I would pick&amp;nbsp;PCA10100 if that is available for the relevant project. If not, pick&amp;nbsp;PCA10056&amp;nbsp; and make the required adjustments. In addition to those mentioned below, you also need to change the define with the IC in the preprocessor defines part of your project settings, and change the startup file and system file (if you are using SES for instance, open the project file in a text editor and search for nrf52840 - that is simpler and faster than going through the GUI).&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/356260?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 10:46:32 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:81bb0405-583e-43dc-8c19-4ef42e51116b</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Thank you very much for this information.&lt;/p&gt;
&lt;p&gt;Actually, I have a development board nRF 52840 DK. I do all my development on this board, and once everything goes fine. I just do flash it to BE33 (nRF 52833 based) module. So shall I select PCA10040 or pca10010? &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.nrf52%2Fdita%2Fnrf52%2Fdevelopment%2Fnrf52_dev_kit.html"&gt;Click here for documentation&lt;/a&gt;. The documentation says &lt;span&gt;&lt;span class="resultofText"&gt;PCA&lt;/span&gt;10056&lt;/span&gt; can be used for nRF52840 DK and &lt;span&gt;&lt;span class="resultofText"&gt;PCA&lt;/span&gt;10100&lt;/span&gt; can be used for nRF52833. What shall I do?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Currently, I do flash PCA10010 &amp;gt; S132 on both boards and it works fine. except for above issue &lt;span class="emoticon" data-url="https://devzone.nordicsemi.com/cfs-file/__key/system/emoji/1f603.svg" title="Smiley"&gt;&amp;#x1f603;&lt;/span&gt;.&lt;/p&gt;
&lt;p&gt;Or Shall I use PCA 10056 for both nRF52840 and nRF52833 by keeping in mind about some limitation in future for nRF52840 DK board?&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/356240?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 09:47:24 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:d878c581-b281-4a82-8b28-1fea6c468a7f</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Neeraj,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Changing SoftDevice is normally quite straight-forward. I suggest you compare your project with an example project that use the SoftDevice you are migrating too, and with that as a reference, update the following in your project:&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;Path to SoftDevice header files (include path)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;Project preprocessor define that state the SoftDevice version (Like &amp;quot;S140&amp;quot;)&lt;/li&gt;
&lt;li&gt;Adjust the application start address to to equal the size of the new SoftDevice&lt;/li&gt;
&lt;li&gt;If you use SES or another IDE that flashes the SoftDevice automatically for you, you should also change that. In SES that would be by changing the &amp;quot;additional load file&amp;quot; like here:&amp;nbsp;&lt;img alt=" " src="https://devzone.nordicsemi.com/resized-image/__size/320x240/__key/communityserver-discussions-components-files/4/2480.load_5F00_file.PNG" /&gt;&lt;/li&gt;
&lt;/ul&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/356184?ContentTypeID=1</link><pubDate>Fri, 04 Mar 2022 07:29:05 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:2b5df436-86bd-487c-a4a6-2901395116ab</guid><dc:creator>Neeraj Dhekale</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;Thank you for your reply.&lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/85382/softdevice---i-cannot-set-tx-power-above-4dbm-but-as-per-the-datasheet-it-supports-up-to-8dbm/355948#355948"]Which SoftDevice are you using?[/quote]
&lt;p&gt;I am using S132. &lt;/p&gt;
[quote userid="7377" url="~/f/nordic-q-a/85382/softdevice---i-cannot-set-tx-power-above-4dbm-but-as-per-the-datasheet-it-supports-up-to-8dbm/355948#355948"]why are you using that specific SoftDevice?[/quote]
&lt;p&gt;Actually, I am new to nordic. I have checked this &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fug_gsg_ses%2FUG%2Fgsg%2Fsoftdevices.html"&gt;documentation&lt;/a&gt; and for nRF52833 there is S140. But the problem is that the example which I had copied there was not S140 support. Also, everything else was working fine, so I just continued to work with it. But now I realized I made mistake. I want to ask you, how can I make it compatible with S140? Can I just copy the S140 folder from another project? will that work? or is there another procedure to make it compatible with S140?&lt;/p&gt;
&lt;p&gt;Thanks and regards,&lt;/p&gt;
&lt;p&gt;Neeraj Dhekale&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Softdevice - I cannot set tx power above +4dBm but as per the datasheet it supports up to +8dbm</title><link>https://devzone.nordicsemi.com/thread/355948?ContentTypeID=1</link><pubDate>Thu, 03 Mar 2022 08:47:54 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:3793623a-5cf5-4e6c-b815-dc5ed9c85c8e</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi Neeraj,&lt;/p&gt;
&lt;p&gt;Which SoftDevice are you using? And why are you using that specific SoftDevice?&amp;nbsp;If you for instance look at the API documentation for tx_power values in the ble_gap.h file for S140 (&amp;lt;SDK17.0.2&amp;gt;components\softdevice\s140\headers\ble_gap.h), you will see the following:&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="text"&gt; * @note Supported tx_power values: -40dBm, -20dBm, -16dBm, -12dBm, -8dBm, -4dBm, 0dBm, +3dBm and +4dBm.
  *       In addition, on some chips following values are supported: +2dBm, +5dBm, +6dBm, +7dBm and +8dBm.
 *       Setting these values on a chip that does not support them will result in undefined behaviour.&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;S113 also supports up to +8 dBm for SoCs that support it. S122 for instance, does not.&lt;/p&gt;
&lt;p&gt;Einar&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>