This post is older than 2 years and might not be relevant anymore
More Info: Consider searching for newer posts

Usage of NRF52832

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 believe host and controller will be there on this SOC itself.  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.

Thanks in advance

Vivek

  • Some information first:

    We support two different SDKs: 

    In the 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.

    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 enable/disable the SoftDevice/Zephyr Controller through prj.conf.

    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.

    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, 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. BLE Blinky Application (nRF5 SDK) or Bluetooth: Peripheral LBS (NCS).

    This may be useful: 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 

    Best regards,

    Simon

Related