<?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>Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/56496/does-softdevice-s112-or-s113-offer-mesh-support-on-a-nrf52811</link><description>Does SoftDevice S112 or S113 offer mesh support on a nRF52811? 
 The intended use is for an end-device running very simple app-logic. According to the SoftDevice properties in &amp;quot;s112_nrf52_7.0.1_release-notes.pdf&amp;quot; the combined MBR and SoftDevice memory</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 16 Jan 2020 09:38:59 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/56496/does-softdevice-s112-or-s113-offer-mesh-support-on-a-nrf52811" /><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229371?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 09:38:59 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:0b84d9a7-37e1-48f0-b569-2ac0247b482f</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;I just got an update from the development team, and since the nRF52811 isn&amp;#39;t mentioned in the Mesh compatibility section, it can not be considered to be officially supported (even limited), but that doesn&amp;#39;t mean that it doesn&amp;#39;t work. We just can&amp;#39;t guarantee that it will work. Although I don&amp;#39;t see why it shouldn&amp;#39;t. I just wanted to mention that as a sort of disclaimer for you.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229367?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 09:28:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:dda6faf2-e3c6-4db4-81cd-94e532ff8ee7</guid><dc:creator>LarsH</dc:creator><description>&lt;p&gt;Thank you, that sum things up!&lt;/p&gt;
&lt;p&gt;BR, Lars.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;div style="left:-32px;position:absolute;top:-20px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229354?ContentTypeID=1</link><pubDate>Thu, 16 Jan 2020 09:06:46 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cbf24cd5-75d3-4f38-9744-8b5970f69a1d</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Lars&lt;/p&gt;
&lt;p&gt;What is it you need to add up? The overall stack size will depend on SoftDevice stack usage + Application stack usage. Seeing as the Mesh stack requires a minimum call stack size of 2kB, and the worst-case stack usage for the SoftDevice is 1.5kB (this will only occur in corner cases) this will make the total stack size ~3.5kB. You can modify the stack size in your project, as well as the Flash and RAM start/end addresses for your application.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229246?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 14:50:13 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:010813e7-b0cf-440d-9742-ac7ed9b82991</guid><dc:creator>LarsH</dc:creator><description>&lt;p&gt;Thanks, that was exactly the kind of information I was looking for regarding resource sizing. I suppose you need to check the resource usage of all sub-systems to get a complete picture of the total need?&lt;br /&gt; &lt;br /&gt;However, I was referring to the &amp;ldquo;call stack&amp;rdquo; info in the S112 SoftDevice Release Notes &amp;ldquo;s112_nrf52_7.0.1_release-notes.pdf&amp;rdquo; (&lt;a title="s112_nrf52_7.0.1.zip" href="https://www.nordicsemi.com/-/media/Software-and-other-downloads/SoftDevices/S112/s112nrf52701.zip" rel="noopener noreferrer" target="_blank"&gt;s112_nrf52_7.0.1.zip&lt;/a&gt;) where it states &amp;ldquo;&lt;strong&gt;&lt;em&gt;The worst-case stack usage for the SoftDevice is 1.5 kB (0x600 bytes)&amp;rdquo;&lt;/em&gt;&lt;/strong&gt;. But as you pointed out, the resource usage page for Mesh v.4.0.0 states &amp;ldquo;&lt;em&gt;&lt;strong&gt;requires a minimum call stack size of 2 kB&lt;/strong&gt;&lt;/em&gt;&amp;rdquo;.&lt;/p&gt;
&lt;p&gt;I must be missing som fundamentals because I can&amp;#39;t get it together, can you please give me a hint how these things add up?&lt;/p&gt;
&lt;p&gt;Thanks, Lars.&lt;/p&gt;
&lt;hr /&gt;
&lt;div class="page" title="Page 2"&gt;
&lt;div class="layoutArea"&gt;
&lt;div class="column"&gt;
&lt;p&gt;&lt;span&gt;S112 SoftDevice properties (s112_nrf52_7.0.1)&lt;/span&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;span&gt;This SoftDevice variant is compatible with nRF52805, nRF52810, nRF52811 and nRF52832. &lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;span&gt;This SoftDevice contains the Master Boot Record (MBR) version 2.4.1 (DRGN-10680).&lt;/span&gt;
&lt;ul&gt;
&lt;li&gt;This MBR version is compatible with previous MBR versions.&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The combined MBR and SoftDevice memory requirements for this version are as follows:
&lt;ul&gt;
&lt;li&gt;Flash: &lt;strong&gt;100.0 kB &lt;/strong&gt;&lt;span&gt;(0x19000 bytes)&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;RAM: &lt;strong&gt;&lt;span style="font-family:inherit;"&gt;3.7 kB &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:inherit;"&gt;(0xeb8 bytes). This is the minimum required memory. The actual requirements depend on the configuration chosen at &lt;/span&gt;&lt;span style="font-family:inherit;"&gt;sd_ble_enable() &lt;/span&gt;&lt;span style="font-family:inherit;"&gt;time.&lt;/span&gt;&lt;/li&gt;
&lt;li&gt;&lt;strong&gt;Call stack&lt;/strong&gt;: The SoftDevice uses a call stack combined with the application. The worst-case stack usage for the SoftDevice is &lt;strong&gt;&lt;span style="font-family:inherit;"&gt;1.5 kB &lt;/span&gt;&lt;/strong&gt;&lt;span style="font-family:inherit;"&gt;(0x600 bytes). Application writers should ensure that enough stack space is reserved to cover the worst-case SoftDevice call stack usage combined with the worst-case application call stack usage.&lt;/span&gt;&lt;/li&gt;
&lt;/ul&gt;
&lt;/li&gt;
&lt;li&gt;The Firmware ID of this SoftDevice is 0x00CD.&lt;/li&gt;
&lt;/ul&gt;
&lt;hr /&gt;
&lt;p&gt;&lt;/p&gt;
&lt;/div&gt;
&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229181?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 10:00:25 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:7a4f8ea7-e12f-4552-92d6-1acacbb64b61</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Lars&lt;/p&gt;
&lt;p&gt;Where do you see that the usage for the call stack is 1.5kB? According to the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.0.0%2Fmd_doc_introduction_mesh_hw_resources.html&amp;amp;anchor=resource_usage_ram_and_flash"&gt;resource usage page&lt;/a&gt;&amp;nbsp;(specifically RAM and Flash usage)&amp;nbsp;in the nRF5 SDK for Mesh v.4.0.0, the mesh stack requires a minimum call stack size of 2kB. I think you can find a lot of useful information regarding the resource usage of the mesh stack there.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229152?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 07:57:50 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:21e2a66b-a078-4da9-bb37-5605f0ebca33</guid><dc:creator>LarsH</dc:creator><description>&lt;p&gt;Hi!&lt;/p&gt;
&lt;p&gt;Just to sum up so I did not misunderstand: It&amp;#39;s just the example application itself (&amp;quot;Low Power node example&amp;quot;) that cannot fit because of the size but otherwise there are no restrictions in the respective SoftDevice besides DFU, logging and size of ram and flash for the&amp;nbsp;&lt;span&gt;nRF52811?&lt;/span&gt;&lt;br /&gt; &lt;br /&gt;What about the worst-case scenario with 1.5 kB usage for the call stack, is this still the case as stated in the release notes? Does that in include link and connection state information as well? It would be really useful if there was some kind of estimate for connection state sizing so on.&lt;br /&gt;--&lt;/p&gt;
&lt;p&gt;Thanks Lars.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229147?ContentTypeID=1</link><pubDate>Wed, 15 Jan 2020 07:02:04 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:e46e2c7a-bfc3-41a0-a9b7-22cbd9b1494c</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi Lars&lt;/p&gt;
&lt;p&gt;The only limitations should be the limited RAM and Flash memory in this chip, which results in no support for DFU and logging (these are the main features that will be missing). The RAM and Flash memory will also restrict the maximum size of your application, as you can&amp;#39;t have very large applications on the nRF52811.&lt;/p&gt;
&lt;p&gt;As mentioned in the compatibility notes, the Low Power node example is not supported on the nRF52810 (and therefore not on the nRF52811 either). This is because the example includes the Buttonless Secure DFU Service to perform DFU over BLE as well as logging. So to be able to make a low-power node application for the nRF52811 you will have to disable/remove both of these features from the example project, and make sure that it is compatible in terms of size with the nRF52811.&lt;/p&gt;
&lt;p&gt;As for documentation regarding the Mesh SDK, it should be covered on &lt;a href="https://infocenter.nordicsemi.com/topic/struct_sdk/struct/sdk_mesh_latest.html"&gt;the Infocenter&lt;/a&gt;, but we also have some Mesh guides here on &lt;a href="https://devzone.nordicsemi.com/nordic/short-range-guides/b/bluetooth-low-energy"&gt;the Devzone&lt;/a&gt; as well.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Simon&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229035?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 12:55:27 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:51a1f46a-6537-41b3-92e3-7046e3c0c998</guid><dc:creator>LarsH</dc:creator><description>&lt;p&gt;Regarding the Mesh support, can you please be a bit more specific about the limitations of the nRF52811?&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The compatibility section of the Mesh SDK on the Infocenter doesn&amp;#39;t give you very much information regarding what specifically will work or not regarding the BlueTooth Mesh implementation. Also, nRF52811 isn&amp;#39;t mentioned as well.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Are there any other documents or guides that provide more detailed information with possible workarounds?&lt;/p&gt;
&lt;p&gt;I&amp;#39;m specifically interested in using the the Low-Power Mode feature as the end-device will be in low-power sleep state most of the time (after been provisioned to the network of course)&lt;/p&gt;
&lt;p&gt;Thanks, Lars.&lt;/p&gt;
&lt;div style="left:288px;position:absolute;top:84px;" id="gtx-trans"&gt;
&lt;div class="gtx-trans-icon"&gt;&lt;/div&gt;
&lt;/div&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Does SoftDevice S112 or S113 offer mesh support on a nRF52811?</title><link>https://devzone.nordicsemi.com/thread/229017?ContentTypeID=1</link><pubDate>Tue, 14 Jan 2020 12:02:15 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:72268f14-ef75-4faf-9290-1cf722729555</guid><dc:creator>Simonr</dc:creator><description>&lt;p&gt;Hi&lt;/p&gt;
&lt;p&gt;I noticed that it isn&amp;#39;t mentioned in the compatibility section of the nRF5 SDK for Mesh v.4.0.0 on the Infocenter, which I have reported this internally. However, both S112 and S113 should be compatible with the nRF52811, and the nRF52811 should have limited Mesh support for the same reasons as the nRF52810. This is due to the platform being very limited in RAM and Flash Memory, and therefore doesn&amp;#39;t support DFU and logging. The nRF52811 must also be compiled with optimization for size, which is described in the &lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcom.nordic.infocenter.meshsdk.v4.0.0%2Fmd_doc_introduction_mesh_compatibility.html&amp;amp;cp=7_2_0_3"&gt;compatibility section of the Mesh SDK on the Infocenter&lt;/a&gt;.&lt;/p&gt;
&lt;p&gt;The main difference between S112 and S113 is that S113 supports&amp;nbsp;&lt;span&gt;LE Data Packet Length Extension.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Best regards,&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;&lt;span&gt;Simon&lt;/span&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>