<?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>Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/100365/help-setting-nrf-52833-tx-power-to-8db</link><description>Hello to everyone, 
 I am new to Nordic SDK and Segger embedded studio (my current IDE) and I am having a lot of trouble getting my PCA10100 (nRF 52833) to output +8db on Tx Power, which should be supported by the chip. At this point, my attempts are</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Tue, 06 Jun 2023 06:39:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/100365/help-setting-nrf-52833-tx-power-to-8db" /><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/429459?ContentTypeID=1</link><pubDate>Tue, 06 Jun 2023 06:39:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:4e400cc6-2613-4583-bf34-b5aea4fd54a4</guid><dc:creator>developer02Calypso</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;I think it might be just a hardware problem on the PCA10100, because I can notice changes in the output signal when changing Tx power level. It&amp;#39;s just that, even with +8Bm, the power output doesn&amp;#39;t seem higher than the PCA10040 with +4dBm (in RSSI and range). I will manage to get another PCA10100 to try see if the issue disappears. So, I think this is kind of solved; I will come by to confirm that it was the board when I test a new one.&lt;/p&gt;
&lt;p&gt;Thanks for your help, it solved several of my problems and I feel I have a better understanding of Segger and the SDK now.&lt;/p&gt;
&lt;p&gt;Have a nice day,&lt;/p&gt;
&lt;p&gt;Miguel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/429296?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 12:30:58 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:08384d6a-a7c4-442b-81d0-6f6259488a81</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;How close are the devices when you test? You might not see big difference in RSSI if the signal strength is good in both test cases. If the&amp;nbsp;SoftDevice&amp;nbsp;API allows you to set the +8 dBm value, this should be the one used.&lt;/p&gt;
&lt;p&gt;Can you see if your get better range with the +8dBm setting compared to +4 dBm? You can also measure the output power from the antenna port of the DK if you have the correct equipment.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/429179?ContentTypeID=1</link><pubDate>Mon, 05 Jun 2023 07:23:49 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee0df8b1-fb35-4640-932d-ab3e6098cd18</guid><dc:creator>developer02Calypso</dc:creator><description>&lt;p&gt;Hi again, &lt;/p&gt;
&lt;p&gt;You were right! The problem was RAM allocation. I had already enabled the logs, but the backend wasn&amp;#39;t; so setting &amp;quot;NRF_LOG_BACKEND_RTT_ENABLED = 1&amp;quot; did the trick and I could get the logs about the RAM. Thanks for the comment about nRF Connect SDK, that seems like the right way to go. I will check it out and inform the small company I am working in about it.&lt;/p&gt;
&lt;p&gt;With the RAM size and start point fixed the program runs flawlessly, even when TX_POWER_LEVEL set to +8. Although, I cannot see any significant improvement over a PCA10040 with tx power at +4. RSSI seems to behave the same when checking with nRF Connect android app. Any idea why could this be? It seems as if the tx power is still working at +4db... Somehow.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Miguel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/429000?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 12:08:53 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:bb497516-67ae-4704-89a2-7d4b7ed4e0ff</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Good to hear that it compiles and flashes successfully!&amp;nbsp;&lt;/p&gt;
&lt;p&gt;My suspicion is that the problem you are seeing now is due to insufficient RAM allocation for the SoftDevice. If you build the application in &amp;quot;Debug&amp;quot; configuration, and make sure the the logger is enabled (NRF_LOG_ENABLE set to 1 in sdk_config.h), you should be able to see the exact error code and line/file where the error originated on the log output (UART or RTT, depending on enabled logger backend). In case the error is caused by insufficient RAM, the logger will also output the required size.&lt;/p&gt;
&lt;p&gt;I would also like to inform/remind you about the following &lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;statement regarding our SDK offerings&lt;/a&gt;, to make sure you make the correct choice for your application. If you are starting a new project and want access to new development/features, the nRF Connect SDK is the way to go.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;br /&gt;Jørgen&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/428986?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 11:40:37 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:40311b24-aa74-4055-912d-ae93ee4c7602</guid><dc:creator>developer02Calypso</dc:creator><description>&lt;p&gt;Hi again,&lt;/p&gt;
&lt;p&gt;Yes, you were right, those two corrections fixed the issue. The program compiles and I can flash it to the PCA10100, though now the debug run is stopping at NRF_BREAKPOINT_COND inside app_error_weak.c. I am completely aware that this amount of information is probably not enough for you to conclude anything... I am still learning and still not sure of how to track and find this kind of errors. Any tip about it would be helpful, as I would like to not have to disturb in DevZone for this little things.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/428978?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 11:17:11 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:b1f9f8ec-25ba-47e2-bf0d-58deaac270f1</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>[quote user="developer02Calypso"]Increase RAM: I guess this is in Project -&amp;gt; Options... -&amp;gt; Common configuration -&amp;gt; Code -&amp;gt; Linker -&amp;gt; Section Placement Macros (and edit RAM size line)[/quote]
&lt;p&gt;Correct, but you should also update&amp;nbsp;the size under &amp;quot;Memory Segments&amp;quot;.&lt;/p&gt;
[quote user="developer02Calypso"]Replace file: This is in Project -&amp;gt; Options... -&amp;gt; Common configuration -&amp;gt; Debug -&amp;gt; Loader -&amp;gt; Additional Load File[0] (I am just loading one file, as far as I know)[/quote]
&lt;p&gt;Yes, this is the correct location. I forgot one step in my previous post, which may cause the issue you are seeing. From the IDE&amp;#39;s perspective, you have two load files; the application and the softdevice. When changing the softdevice variant, you need to adjust the RAM start and length according to the size given in the Softdevice release notes (can be found in&amp;nbsp;components\softdevice\s1&lt;strong&gt;xx&lt;/strong&gt;\doc. For S140, the size is&amp;nbsp;0x27000, while for s132 it is&amp;nbsp;0x26000. You will need to reduce the length of application accordingly. Not changing this will cause the softdevice to overlap with the application. The new softdevice variant may also have different RAM requirements, this can be modified later if the application returns an error, See &lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/adjustment-of-ram-and-flash-memory"&gt;this guide regarding Flash and RAM sizes&lt;/a&gt;.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/428969?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 10:52:55 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:62afa8ce-077a-4da7-a553-ee7d742b798c</guid><dc:creator>developer02Calypso</dc:creator><description>&lt;p&gt;Hello &lt;span&gt;J&amp;oslash;rgen&lt;/span&gt;,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. I have followed your indications, but I am getting the error message &amp;quot;cannot download multiple load files&amp;quot; when trying to debug, which is a bit strange, since I am not aware of having multiple load files. Just to make it clear, the two last steps are supposed to be:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;
&lt;p&gt;Increase RAM: I guess this is in Project -&amp;gt; Options... -&amp;gt; Common configuration -&amp;gt; Code -&amp;gt; Linker -&amp;gt; Section Placement Macros (and edit RAM size line)&lt;/p&gt;
&lt;/li&gt;
&lt;li&gt;
&lt;p&gt;Replace file: This is in Project -&amp;gt; Options... -&amp;gt; Common configuration -&amp;gt; Debug -&amp;gt; Loader -&amp;gt; Additional Load File[0] (I am just loading one file, as far as I know)&lt;/p&gt;
&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Is this right? Or I messed up somewhere?&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Miguel&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Help setting nRF 52833 Tx Power to +8db</title><link>https://devzone.nordicsemi.com/thread/428939?ContentTypeID=1</link><pubDate>Fri, 02 Jun 2023 08:56:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f65eea6-3a7e-4299-b05e-b814b5b14c09</guid><dc:creator>J&amp;#248;rgen Holmefjord</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;In order to support +8 dBm output power, you need to use a SoftDevice variant that supports this setting. This should be supported in latest releases of S140 (v7.3.0) and S113 (v7.2.0). The pca10040 project is most likely setup to use S132 or S112 softdevice, which does not support higher output powers, as this is not supported in nRF52832.&lt;/p&gt;
&lt;p&gt;The main changes required to port a project from pca10040 to pca10100 is the following:&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;Preprocessor symbol change:
&lt;ul&gt;
&lt;li&gt;BOARD_PCA10040 to BOARD_PCA10100&lt;/li&gt;
&lt;li&gt;NRF52832_XXAA to&amp;nbsp;NRF52833_XXAA, remove NRF52&lt;/li&gt;
&lt;li&gt;S132/S112 to S140/S113&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;Header include path changes:
&lt;ul&gt;
&lt;li&gt;components/softdevice/&lt;strong&gt;s1xx&lt;/strong&gt;/headers (from s132/s112 to s140/s113)&lt;/li&gt;
&lt;li&gt;components/softdevice/&lt;strong&gt;s1xx&lt;/strong&gt;/headers/nrf52&amp;nbsp;&lt;span&gt;(from s132/s112 to s140/s113)&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Increase RAM size from&amp;nbsp;0x10000 to&amp;nbsp;0x20000&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;Replace path to softdevice hex file under additional load files&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;&lt;span&gt;Let me know if you have specific issues with this approach.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;br /&gt;Jørgen&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>