<?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>RAM addressing in SDK v12.2</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/40380/ram-addressing-in-sdk-v12-2</link><description>We are developing a BLE Beacon using the SDK v12.2 and the softdevice s132 on a nRF52832 chip. The code works on the DevKit successfully but it doesn&amp;#39;t work on our custom board. On the DevKit, however, we get this warning of sd_ble_enable: RAM address</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Wed, 14 Nov 2018 08:46:13 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/40380/ram-addressing-in-sdk-v12-2" /><item><title>RE: RAM addressing in SDK v12.2</title><link>https://devzone.nordicsemi.com/thread/157228?ContentTypeID=1</link><pubDate>Wed, 14 Nov 2018 08:46:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:c55b84f6-2294-4e2d-a939-4ca94dc2c936</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;I was able to discover the device programmed with &amp;quot;ble_app_beacon&amp;quot; on my iphone 7&amp;nbsp;with&amp;nbsp; nRF connect v.1.8.8. Are you using the same version of nRF connect? Old versions of nRF connect will not&amp;nbsp;recognize beacons that are not iBeacon compliant.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The average power consumption depends on your application code. Basically how often you perform the sensor readout and the advertisement interval. You can use the online power profiler &lt;a href="https://devzone.nordicsemi.com/power/"&gt;here &lt;/a&gt;to get an estimate. Note:&amp;nbsp;estimates are based on a device with &amp;nbsp;DCDC enabled, 3V supply and &lt;a href="http://infocenter.nordicsemi.com/topic/com.nordic.infocenter.nrf52832.ps.v1.1/clock.html?cp=2_1_0_18_1_3#concept_pln_z5y_2q"&gt;LFXO&lt;/a&gt;&amp;nbsp;as the low frequency clock source.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM addressing in SDK v12.2</title><link>https://devzone.nordicsemi.com/thread/157179?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 18:46:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dbda157e-db5b-4134-82e5-d483f0e92040</guid><dc:creator>Vijay</dc:creator><description>&lt;p&gt;Hi Vidar, thanks for the answer! I&amp;#39;ve got it to advertise. I am sorry I created the issue because the nrf_connect app on iOS doesn&amp;#39;t recognize the beacon. I did a &amp;quot;hcitool lescan&amp;quot; on my RPi 3 and it showed up.&lt;/p&gt;
&lt;p&gt;This is an useful piece of information about RTC1. I will use the same RAM address on the linker script.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I don&amp;#39;t know if I have to create another issue for this but my application involves BLE_advertising, a TWI sensor with an application timer. What are all the flags in sdk_config.h that need to be set for me to ensure the sleep mode current is under 100 uA ?&amp;nbsp;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM addressing in SDK v12.2</title><link>https://devzone.nordicsemi.com/thread/157007?ContentTypeID=1</link><pubDate>Tue, 13 Nov 2018 08:44:22 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7e3ac3ff-02a9-401b-a113-eb4d6a6a05f3</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Vijay,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;I tried the ble_app_beacon example in sdk 12.2.0 with GCC. The default configuration allocates more RAM memory to the softdevice than what is needed, hence the warning. However, it is safe to ignore, it just let you know that you can free more RAM for the application code. The warning did not show after I adjusted RAM settings in the linker script.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;RTC0 is reserved for the softdevice, but app_timer should use RTC1 by default.Have you debugged you application and verified that your program reaches advertising_start()?&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Vidar&amp;nbsp;&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM addressing in SDK v12.2</title><link>https://devzone.nordicsemi.com/thread/156958?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 17:14:07 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:12238b90-aacb-41f4-8612-63ff20f82a41</guid><dc:creator>Vijay</dc:creator><description>&lt;p&gt;Hey Vidar, we have the low frequency - 32.768 kHz - crystal on our board. I was able to get all the defined examples in the SDK working perfectly.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Just a hunch - I have a twi sensor and we were using the nrf_delay function to provide delays while data sampling. We wanted low power and I implemented the delays using the app_timer module. Only after that, we have this problem. I&amp;#39;m using the RTC0 for the app_timer? Will it affect the RAM ? Is there any way to use RTC1 with the softdevice?&lt;/p&gt;
&lt;p&gt;I checked the makefile and the linker_script variable is correct. The very same code works perfectly on the devkit.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;Vijay&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: RAM addressing in SDK v12.2</title><link>https://devzone.nordicsemi.com/thread/156901?ContentTypeID=1</link><pubDate>Mon, 12 Nov 2018 13:59:16 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:6f39d6a9-59ff-49e0-930d-5fd81f3d4966</guid><dc:creator>Vidar Berg</dc:creator><description>&lt;p&gt;Hi&amp;nbsp;&lt;span&gt;Vijay,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Strange, so you are editing the&amp;nbsp;ble_app_beacon_gcc_nrf52.ld file adjacent to the project Makefile and the changes are not reflected in the debug log? Please double check&amp;nbsp;that you are editing the correct linker script. You can check out the&amp;nbsp;LINKER_SCRIPT variable in the makefile to see which linker script it invokes&amp;nbsp;for the build.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;Also note that the SDK examples are set up to use the optional LF crystal by default. Make sure to change the clock source to the internal RC if you don&amp;#39;t have the crystal in your design. Otherwise the program will enter an infinite loop waiting for the crystal to start.&lt;/p&gt;
&lt;p&gt;&lt;pre class="ui-code" data-mode="c_cpp"&gt;// Low frequency clock source to be used by the SoftDevice
#define NRF_CLOCK_LFCLKSRC      {.source        = NRF_CLOCK_LF_SRC_RC,            \
                                 .rc_ctiv       = 16,                             \
                                 .rc_temp_ctiv  = 2,                              \
                                 .xtal_accuracy = 0} //ignored when using RC&lt;/pre&gt;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>