Connectivity Firmware for nrf52820

Hi all,


We require connectivity firmware for nRF52820.

For the prototype, we use the nrf52840 development kit and we are able to use the “connectivity_4.1.4_usb_for_s132_5.1.0” firmware.

We also try to compile the connectivity project from “nRF5_SDK_17.1.0_ddde560.zip\nRF5_SDK_17.1.0_ddde560\examples\connectivity\ble_connectivity" in that we selected "ble_connectivity_s140_usb_hci_pca10056”.

By updating the controller number from “nRF52840” to “nRF52820”, adding supporting files of nRF52820 and .icf files also follow the steps to Transfer the project to nRF52820 hardware as mentioned in the below link:

https://infocenter.nordicsemi.com/index.jsp?topic=%2Fsdk_nrf5_v17.1.0%2Fnrf52820_user_guide.html

But it is not working.

Please guide how to create connectivity firmware for nrf52820.

  • Hi,

    The connectivity firmware used by the pc-ble-driver is quite different compared to the unmodified connectivity firmware from the SDK (these projects are patched with a patch file from the pc-ble-driver repo). To build connectivity firmware for the pc-ble-driver you should follow the instructions under Compiling connectivity HEX files. There you also need to do the changes described under Transferring the project to nRF52820 hardware in order to use that.

    PS: The pc-ble-driver is based on the SoftDevice, and like that, is no longer under active development. So for the future I would recommend some other method, like the Bluetooth shell.

  • We were able to build connectivity firmware.

    We want to build it for nrf52820.

    As mentioned in 'Transferring the project to nRF52820 hardware file' we are not able to identify in which file we need to do the changes. 

    Can you please give us the steps on how to build connectivity firmware for nrf52820.

  • Hi,

    I do not have detailed steps, but you can refer to this CMakeLists.txt for how the connectivity firmware is built. As you can see there, it is the armgcc project files under examples/connectivity/ble_connectivity/ that are in use, so it is the Makefile and linker script under there you need to modify to build for nRF52820 instead (you may also want to make some other changes for your custom board, like pins for UART etc).

    As the guide on building the connectivity firmware is also applies the patch, probably the simplest is to first build using that guide, applying the patch. Then make the requiered changes in the Makefile and linker script, and build just using make from the command line, like you would any other armgcc example project in the SDK.

Related