<?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>Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/104633/choice-of-sdk-for-nrf52805-beacon</link><description>Hi, 
 We are currently evaluating which hardware and software we are going to use in a future product. This product will have a remote type functionality (BLE central) to turn on/off another existing product based on a nrf52832 (or nrf52810 for another</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 19 Oct 2023 08:54:20 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/104633/choice-of-sdk-for-nrf52805-beacon" /><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/451225?ContentTypeID=1</link><pubDate>Thu, 19 Oct 2023 08:54:20 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:28f2fd82-0b41-463f-833f-168063fccab7</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi Oliver,&lt;/p&gt;
&lt;p&gt;Thank you for your patience and apologies for the long wait. It&amp;#39;s been a busy week&lt;/p&gt;
[quote user="opasutto"]&lt;strong&gt;So, I&amp;nbsp;think that this product should have the role of an BLE central device (connecting to a BLE peripheral to gather data and controlling it), do you agree&lt;/strong&gt;? There is maybe a possibility to have a communication between 2 BLE peripherals but I don&amp;#39;t know it...[/quote]
&lt;p&gt;Yes, that design works as long as you have enough ROM to fit everything&lt;br /&gt;&lt;br /&gt;Communication between two peripherals will in practice result in that one of the devices needs to have a central role&amp;nbsp;&lt;br /&gt;&lt;br /&gt;Another option could be to implement the remote controller as a peripheral device that starts advertising when the button sequence is pushed and having the larger device you mention as the central which scans for the advertisement and connects to the remote controller. This could allow you to use SD112/113 instead of SD132. Do note that if your remote controller is supposed to be a central device that bonds (not pairs/connects) you will need an additional ~8kB for the bonding feature.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m not stating that this is the best solution, simply throwing this out as an alternative&lt;/p&gt;
[quote user="opasutto"]Now, when I check the 52805 compatible softdevice, it seems that only peripheral role SD are available (S112/S113).&lt;strong&gt; I think this makes the nrf52805 incompatible for our product?&lt;/strong&gt;[/quote]
&lt;p&gt;I agree with your findings. SD112/113 does only support peripheral roles. So another option is to use NCS if you wish to use the 52805. I will expand about this in the reply to your question regarding memory capacity&lt;/p&gt;
[quote user="opasutto"]What about the nrf52810? It seems that it is compatible with the S132 allowing central role. &lt;strong&gt;Any reason why the S132 is compatible with 52810 and not 52805 although they have the same memory capacity (too bad, the 52805 is a bit less pricey)?&lt;/strong&gt;.[/quote]
&lt;p&gt;Based on some discussion with a colleague of mine it is due to testing and qualification of the softdevices on the devices.&lt;/p&gt;
[quote user="opasutto"]From the &lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52810/COMP/nrf52810/nRF52810_ic_rev_sdk_sd_comp_matrix.html"&gt;compatibility matrix of the 52810 &lt;/a&gt;it seems that I will have to use however the SDK 14.2 along the SD132 v5.1 as the SDK 17.1 doesn&amp;#39;t seems compatible with SD132?[/quote]
&lt;p&gt;I am still waiting for a verification from the creator of the matrixes regarding this&lt;/p&gt;
[quote user="opasutto"]Now regarding memory capacity, I&amp;#39;m conscious that it will be a challenge to have both a central device and DFU in a 52805/810? Even if our application will be very simple and we don&amp;#39;t need secure bootloader or double bank. You have maybe an advice about this...[/quote]
&lt;p&gt;Now this is most likely the question that narrows down the choice for you.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;The first thing you will need to decide is the type of DFU you wish to have. Is it Serial Recovery, you might be able to get away with a small device as you don&amp;#39;t need two application slots, and simply let the Bootloader overwrite the application instead. There should be samples for how to do this in nRF5 SDK and you can see&amp;nbsp;&lt;a href="https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery"&gt;https://github.com/hellesvik-nordic/samples_for_nrf_connect_sdk/tree/main/bootloader_samples/serial_recovery&lt;/a&gt;&amp;nbsp;for serial recovery (and some theory behind it) in NCS in the github repository. With a footnote that serial recovery in nRF5 will add some extra ROM load due to having to create a bootloader that supports both serial recovery and BLE transport.&lt;/p&gt;
&lt;p&gt;If you end up with nRF5 SDK and the 192kB devices you will be limited with what you can update if you don&amp;#39;t use the equivalent to Serial recovery. In the case of &amp;quot;regular&amp;quot; DFU, you can most likely never update the Softdevice i.e have full DFU support since you won&amp;#39;t have enough room. Your application will also have to be relatively small, and there needs to be room on the device to perform the update so it might not differ too much from NCS w.r.t ROM if you wish to have full DFU support.&lt;/p&gt;
&lt;p&gt;Regarding NCS I don&amp;#39;t have any numbers for how large an optimized Bluetooth Central + DFU is in NCS. When compiling the Central_uart sample without optimizing anything and before adding DFU the sample uses ~240kB, meaning you will have to have the nRF52832 (512kB) or an external flash if you wish to add DFU support. When building the zephyr smp_sample with the BLE overlay, the application uses ~234kB before optimizing anything, also meaning that you will need a total of 512kB for DFU support on the internal flash.&lt;br /&gt;&lt;br /&gt;This will unfortunately require some more testing from your end w.r.t what you wish to fit. A third option which fits for both nRF5 SDK and NCS is to add an external flash you can use to store the update image on for DFU and use SPI/QSPI between the nRF and the flash device. This alternative&amp;nbsp;&lt;em&gt;might&lt;/em&gt; be cheaper than having a 512kB device.&lt;/p&gt;
[quote user="opasutto"]We could maybe switch to an nrf52832, but the price difference will probably push us to drop out the DFU functionality and stay on the nrf52810.[/quote]
&lt;p&gt;It is very understandable that the jump to nrf52832 is too large w.r.t price and also w.r.t what your device is intended to do based on your description. Adding full DFU support does unfortunately add a doubling of ROM requirements since&amp;nbsp;&lt;br /&gt;&lt;br /&gt;&lt;strong&gt;To summarize what I believe might be the best choice for a small device that is most robust for the future&lt;br /&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;NCS with serial recovery DFU&lt;/li&gt;
&lt;li&gt;Optimize the bootloader and application w.r.t ROM as much as possible&lt;/li&gt;
&lt;li&gt;Alternatively add an external flash if you have an available SPI if you wish to use anything other than serial recovery, i.e two application slots for &amp;quot;proper, safe&amp;quot; DFU where you don&amp;#39;t overwrite your application before verifying that your new image runs.&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/450301?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 12:36:48 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:cae9d4d2-e2c8-4efd-9b75-3f3e79fe4ae8</guid><dc:creator>opasutto</dc:creator><description>[quote userid="107683" url="~/f/nordic-q-a/104633/choice-of-sdk-for-nrf52805-beacon/450298"]&lt;p&gt;I will however need some time to answer some of them, so I won&amp;#39;t be able to return with an answer to you before middle of next week (tues/wed, but hopefully Monday).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope that is acceptable for you&lt;/p&gt;[/quote]
&lt;p&gt;No problem, I will continue experimenting with the nrd52DK eval board during this time.&lt;/p&gt;
&lt;p&gt;Best regards,&lt;/p&gt;
&lt;p&gt;Olivier&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/450298?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 12:27:09 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:60c4e804-34ed-4c04-9299-916e32aa8f56</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;The questions looks to be within the same topic so lets keep them here!&lt;/p&gt;
&lt;p&gt;I will however need some time to answer some of them, so I won&amp;#39;t be able to return with an answer to you before middle of next week (tues/wed, but hopefully Monday).&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I hope that is acceptable for you&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/450293?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 12:17:35 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:a1b3ac26-a041-4035-807b-da6d1ed178cd</guid><dc:creator>opasutto</dc:creator><description>&lt;p&gt;Hi,&amp;nbsp;&lt;/p&gt;
&lt;p&gt;I already have other questions (&amp;nbsp;I don&amp;#39;t know if I have to post to post this question on another thread, I will if needed)!&lt;/p&gt;
&lt;p&gt;After some reflexions and investigation, I have now some doubt about the choice of the nrf52805.&lt;/p&gt;
&lt;p&gt;First let me describe a bit more our needs for this product:&lt;/p&gt;
&lt;p&gt;We are designing a small remote control with one button and 2 leds that will be powered by a 3V coin cell battery. When not used the product will be put to deep sleep, and after a specific sequence with the button, the remote control will connect to a paired BLE peripheral (based on an nrf52832/810) to control it and retrieve its state that will be indicated on the LEDs, and then going back to sleep. The product will have to be small and at a relatively low cost.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;So, I&amp;nbsp;think that this product should have the role of an BLE central device (connecting to a BLE peripheral to gather data and controlling it), do you agree&lt;/strong&gt;? There is maybe a possibility to have a communication between 2 BLE peripherals but I don&amp;#39;t know it...&lt;/p&gt;
&lt;p&gt;Now, when I check the 52805 compatible softdevice, it seems that only peripheral role SD are available (S112/S113).&lt;strong&gt; I think this makes the nrf52805 incompatible for our product?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;What about the nrf52810? It seems that it is compatible with the S132 allowing central role. &lt;strong&gt;Any reason why the S132 is compatible with 52810 and not 52805 although they have the same memory capacity (too bad, the 52805 is a bit less pricey)?&lt;/strong&gt;.&lt;/p&gt;
&lt;p&gt;&lt;strong&gt;From the &lt;a href="https://infocenter.nordicsemi.com/topic/comp_matrix_nrf52810/COMP/nrf52810/nRF52810_ic_rev_sdk_sd_comp_matrix.html"&gt;compatibility matrix of the 52810 &lt;/a&gt;it seems that I will have to use however the SDK 14.2 along the SD132 v5.1 as the SDK 17.1 doesn&amp;#39;t seems compatible with SD132?&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;Now regarding memory capacity, I&amp;#39;m conscious that it will be a challenge to have both a central device and DFU in a 52805/810? Even if our application will be very simple and we don&amp;#39;t need secure bootloader or double bank. You have maybe an advice about this...&lt;/p&gt;
&lt;p&gt;We could maybe switch to an nrf52832, but the price difference will probably push us to drop out the DFU functionality and stay on the nrf52810.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you again for your advices.&lt;/p&gt;
&lt;p&gt;Olivier&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/450215?ContentTypeID=1</link><pubDate>Fri, 13 Oct 2023 07:50:03 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:75e40ef2-889a-415e-a799-28dd11884747</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Happy to hear that!&lt;/p&gt;
[quote user="opasutto"]I will come back to you if I have other questions![/quote]
&lt;p&gt;Please do :)&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;andreas&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/450129?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 16:16:45 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:539290ec-5dbb-487c-91f6-79804e88c325</guid><dc:creator>opasutto</dc:creator><description>&lt;p&gt;Hi Andreas,&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Thank you for your response it was very clear!&lt;/p&gt;
&lt;p&gt;I&amp;#39;m gonna try the&amp;nbsp;&lt;span&gt;BLE Secure DFU Bootloader example on the 52805 to check the remaining memory for the application.&lt;/span&gt;&lt;/p&gt;
&lt;p&gt;I will come back to you if I have other questions!&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Choice of SDK for nrf52805 beacon</title><link>https://devzone.nordicsemi.com/thread/450047?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2023 12:12:38 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ee34eebb-a012-4735-acd6-60c5671f848f</guid><dc:creator>AHaug</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
[quote user=""]First do you think the choice of the nrf52805 is appropriate&amp;nbsp;for our product.[/quote]
&lt;p&gt;Yes, but there will be severe limitations to the size of your applications w.r.t. ROM if you at a later point realize you need to add more features and or if you need more peripherals than you originally had planned for.&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Personally I would recommend to develop the application and all you need on a larger device (if you have a 52840DK, 52DK or 52833DK available) with all the features you need to have and then see if you can fit that within the limitations of the 52805 before ordering in bulk unless you are very certain that you can fit it within the device&lt;/p&gt;
[quote user=""]Next we have to choose which type of SDK to use, we have some experience with the traditional nordic SDK, but never have used the new Connect SDK (not available during the conception of our peripheral). Do you recommend&amp;nbsp;starting the development of our new product with the connect SDK? The limited amount of memory is maybe not compatible with the integration of an RTOS?[/quote]
&lt;p&gt;Due to the small amount of flash on the nRF52805 we typically recommend to use nRF5 SDK for that device, specially if you wish to have DFU support. When using the nRF52805 with nRF5 you can pick the Softdevice that suits the device as well as your application based on the features you need giving you some more leeway when it comes to fitting your application with DFU support.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;If you end up with a device that&amp;#39;s larger than the 52805 (for instance the 256kB 52832 or the 512kB 52833), I would recommend you to use NCS due the continual support NCS will have in the years coming, and since nRF5 SDK is in maintenance mode so no new fixes and features will be added to that SDK. See this statement for more information&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/nrf-connect-sdk-and-nrf5-sdk-statement"&gt;nRF Connect SDK and nRF5 SDK statement&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;Do note that this is not a statement that says that you can&amp;#39;t use NCS for the nRF52805, but if you wish to add DFU support you will in practice reduce the available flash space to less than half since you will be adding MCUboot and a secondary application slot for the update image.&amp;nbsp;&amp;nbsp;&lt;/p&gt;
&lt;p&gt;This blog also highlights some of the differences in ROM and RAM usage in between NCS and nRF5 SDK&amp;nbsp;&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nordic-blog/b/blog/posts/debunking-misconceptions-a-technical-analysis-of-nrf5-sdk-and-nrf-connect-sdk"&gt;Debunking misconceptions: A technical analysis of nRF5 SDK and nRF Connect SDK&lt;/a&gt;&amp;nbsp;&amp;nbsp;&lt;/p&gt;
[quote user=""]If we start with the traditional SDK, which version of SDK and softdevice is advised? fI have read these links:&amp;nbsp;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fcomp_matrix_nrf52805%2FCOMP%2Fnrf52805%2Fnrf52805_ic_rev_sdk_sd.html&amp;amp;cp=4_6_3_2"&gt;SDKs and SoftDevices&lt;/a&gt;&amp;nbsp;and&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/guides/short-range-guides/b/getting-started/posts/developing-for-the-nrf52805-with-nrf5-sdk"&gt;Developing for the nRF52805 with nRF5 SDK&lt;/a&gt;. If I understand correctly, I can use the latest SDK (17.1.0) with S112 but I will have to patch the SDK? Correct?[/quote]
&lt;p&gt;If you&amp;#39;re going with nRF5 SDK we recommend the newest, i.e 17.1.0. The SoftDevices compatible with the nRF52805 are the ones listed on the first link you refer to. The blog you mention refers to how you can emulate the 52805 on a nRF52DK or nRF52832, but to my understanding it is not required to follow that patch for simply developing for the nRF52805 unless you&amp;#39;re testing your firmware on the two devices the blog mention&lt;/p&gt;
&lt;p&gt;Let me know if this clarifies things for you and if you have any additional questions!&lt;/p&gt;
&lt;p&gt;Kind regards,&lt;br /&gt;Andreas&amp;nbsp;&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>