<?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>Using nRF SDK with S112 and BitFields only?</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/59452/using-nrf-sdk-with-s112-and-bitfields-only</link><description>Hello, 
 I would like to get some input on general framework options for development. 
 I am starting by strictly following the SDK framework, trying to use its drivers, translations, configs and so on. But found there is some learning curve, the configs</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Thu, 26 Mar 2020 15:02:01 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/59452/using-nrf-sdk-with-s112-and-bitfields-only" /><item><title>RE: Using nRF SDK with S112 and BitFields only?</title><link>https://devzone.nordicsemi.com/thread/241907?ContentTypeID=1</link><pubDate>Thu, 26 Mar 2020 15:02:01 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:ac51bde4-de5c-4fd1-81e6-e08be5f90e04</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I saw your later post, and it seems very sensible to me. I will answer the questions in the previous post anyway, in case it is useful for someone.&lt;/p&gt;
[quote user="FI"]1) the SD does not have any dependencies on the drivers and data structures/defines in both legacy and nrfx, and sdk_config[/quote]
&lt;p&gt;The SoftDevice can be used stand-alone. It does not have any dependencies on the SDK.&lt;/p&gt;
[quote user="FI"]2) BLE functionalities are all inclusive in the SD and[/quote]
&lt;p&gt;The SD is the BLE stack, but important higher-level Bluetooth functionality is implemented by the SDK and not the SoftDevice. This includes implementations of BLE services and handling bonding information.&lt;/p&gt;
[quote user="FI"]3) All data structures and macros for SD BLE integration are included in the /component/ble/ directory[/quote]
&lt;p&gt;No. What you find under &amp;lt;SDK&amp;gt;/components/ble/ is SDK Bluetooth stuff. This has dependencies on the SoftDevice, but not the other way around. The SoftDevice is distributed as a .hex file with some header files describing the API. Those are distributed with the SoftDevice, and cand be found in the SDK under&amp;nbsp;&amp;lt;SDK&amp;gt;/components/softdevice/.&lt;/p&gt;
[quote user="FI"]4) core and peripheral can be done with Reg and BitField through HAL and MDK and standard interrupt vector tables.[/quote]
&lt;p&gt;Yes.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF SDK with S112 and BitFields only?</title><link>https://devzone.nordicsemi.com/thread/241689?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 23:23:18 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:058ee698-97f9-4092-b23e-deedc35990a6</guid><dc:creator>FI</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;I come to the conclusion to follow the drivers strickly and will use legacy layer throughout.&amp;nbsp; The logging module is awesome in the SDK. Will check in often for this dev work.&amp;nbsp; Thanks! ttyl.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF SDK with S112 and BitFields only?</title><link>https://devzone.nordicsemi.com/thread/241657?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 17:22:29 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:5de06dab-5835-4fde-abc4-0d49d847bb6a</guid><dc:creator>FI</dc:creator><description>&lt;p&gt;Hello Einar,&lt;/p&gt;
&lt;p&gt;Thanks for your reply. Doing feasibility and evaluating options and want to further confirm,&lt;/p&gt;
&lt;p&gt;1) the SD does not have any dependencies on the drivers and data structures/defines in both legacy and nrfx, and sdk_config&lt;/p&gt;
&lt;p&gt;2) BLE functionalities are all inclusive in the SD and&lt;/p&gt;
&lt;p&gt;3) All data structures and macros for SD BLE integration are included in the /component/ble/ directory&lt;/p&gt;
&lt;p&gt;4) core and peripheral can be done with Reg and BitField through HAL and MDK and standard interrupt vector tables.&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;
&lt;p&gt;Currently still exclusively using drivers, though can&amp;#39;t help to do something like NRF_ADDR-&amp;gt;REG etc in reference to only HW data sheet (it is quick), then I understand this defeat the disciplines governed by the sdk_config and the driver framework, so plan not to mix and stick with a selected approach.&lt;/p&gt;
&lt;p&gt;Is there also a consolidated document for SD (or even the drivers/modules, e.g app_timer) on required/reserved HW resource (matrix)? That is super useful for early stage resource and architecture planning, derisking, making sure correct assumptions can be made to speed up a board build while FW is rolling in pipeline.&lt;/p&gt;
&lt;p&gt;Thanks&lt;/p&gt;
&lt;p&gt;&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Using nRF SDK with S112 and BitFields only?</title><link>https://devzone.nordicsemi.com/thread/241630?ContentTypeID=1</link><pubDate>Wed, 25 Mar 2020 14:54:06 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:8e3ef7ed-dd72-4dbf-b767-0e179c1ce72b</guid><dc:creator>Einar Thorsrud</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I would like to advise against using registers directly since that would essentially mean that you would duplicate work that we have already done for you. In most cases, it will increase the amount of work, and decrease the quality of the end application, since we have put a lot of effort into testing and verifying the SDK drivers and libraries.&lt;/p&gt;
&lt;p&gt;That said, there is nothing preventing you from using the SoftDevice API&amp;#39;s only, and implementing the rest yourself. In that case, you can use the MDK files from the SDK, or use the &lt;a href="https://www.nordicsemi.com/Software-and-tools/Development-Tools/nRF-MDK"&gt;MDK distribution&lt;/a&gt; separately. This has register definitions, startup file, etc, but no drivers or libraries etc.&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>