<?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>Usage of NRF52832</title><link>https://devzone.nordicsemi.com/f/nordic-q-a/75105/usage-of-nrf52832</link><description>Hello , Vivek here. I am planning to use NRF52832 in my design and interface it with a microcontroller. And i am new to handling bluetooth protocol. When I was going through the bluetooth protocol i found out about host layer and controller layer . I</description><dc:language>en-US</dc:language><generator>Telligent Community 13</generator><lastBuildDate>Fri, 14 May 2021 12:39:34 GMT</lastBuildDate><atom:link rel="self" type="application/rss+xml" href="https://devzone.nordicsemi.com/f/nordic-q-a/75105/usage-of-nrf52832" /><item><title>RE: Usage of NRF52832</title><link>https://devzone.nordicsemi.com/thread/309780?ContentTypeID=1</link><pubDate>Fri, 14 May 2021 12:39:34 GMT</pubDate><guid isPermaLink="false">137ad170-7792-4731-bb38-c0d22fbe4515:764c1221-598f-4aea-b66f-76c22ffa2406</guid><dc:creator>Simon</dc:creator><description>&lt;p&gt;&lt;strong&gt;&lt;span style="text-decoration:underline;"&gt;Some information first:&lt;/span&gt;&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;We support two different SDKs:&amp;nbsp;&lt;/p&gt;
&lt;ul&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_sdk%2Fstruct%2Fsdk_nrf5_latest.html&amp;amp;cp=7_1"&gt;The nRF5 SDK&lt;/a&gt;&lt;/li&gt;
&lt;li&gt;&lt;a href="https://infocenter.nordicsemi.com/index.jsp?topic=%2Fstruct_sdk%2Fstruct%2Fsdk_ncs_latest.html&amp;amp;cp=7_0"&gt;The nRF Connect SDK&lt;/a&gt; (NCS)&lt;/li&gt;
&lt;/ul&gt;
&lt;p&gt;In the&amp;nbsp;nRF5 SDK, the BLE application will communicate with the SoftDevice. The SoftDevice contains both the BLE Host and Controller, and comes as a precompilled binary that you cannot modify.&lt;/p&gt;
&lt;p&gt;In NCS you will have access to the source code if both the appplication and the BLE Host. If you use the Zephyr Controller you will have access to the source code of the Controller, but if you use the SoftDevice Controller (Nordic Controller) you will not. You can&amp;nbsp;enable/disable the SoftDevice/Zephyr Controller through prj.conf.&lt;/p&gt;
&lt;p&gt;&lt;img src="https://devzone.nordicsemi.com/cfs-file/__key/communityserver-discussions-components-files/4/1072.pastedimage1603981430299v1.png" alt=" " /&gt;&lt;/p&gt;
[quote user=""] Do i need to program the host layer or will the stack of host layer be pre programmed in the chip. Do i need to only bother about application layer. Sorry i knew this is very basic question. If anyone can explain the procedure or details of how to use or program\ and what are the things do i need to take care.[/quote]
&lt;p&gt;You need to program all the layers (application, host and controller) onto the chip in order for a BLE application to work. However, when you program a BLE application this will be done automatically. If you use the nRF5 SDK and SES it will automatically program the SoftDevice. If you use the nRF Connect SDK,&amp;nbsp;all the layers will get programmed automatically as well, both when using SES and when using west. It is just to follow the steps under the samples you want to test, and you will be fine. E.g.&amp;nbsp;&lt;a title="BLE Blinky Application" href="https://infocenter.nordicsemi.com/topic/sdk_nrf5_v17.0.2/ble_sdk_app_blinky.html?cp=7_1_4_2_2_3"&gt;BLE Blinky Application&lt;/a&gt;&amp;nbsp;(nRF5 SDK)&amp;nbsp;or&amp;nbsp;&lt;a href="https://developer.nordicsemi.com/nRF_Connect_SDK/doc/1.5.1/nrf/samples/bluetooth/peripheral_lbs/README.html"&gt;Bluetooth: Peripheral LBS&lt;/a&gt;&amp;nbsp;(NCS).&lt;/p&gt;
&lt;p&gt;This may be useful:&amp;nbsp;&lt;a href="https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/building-a-ble-application-on-ncs-comparing-and-contrasting-to-softdevice-based-ble-applications"&gt;https://devzone.nordicsemi.com/nordic/nrf-connect-sdk-guides/b/software/posts/building-a-ble-application-on-ncs-comparing-and-contrasting-to-softdevice-based-ble-applications&lt;/a&gt;&amp;nbsp;&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></channel></rss>