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

Ble_app_beacon and nrf52840

Hi,

I have downloaded the latest nrf52 v13 sdk. And i am using nrf52840 PDK.

And i would like to use the beaco_n example. But i am seeing that the ble_App_beacon folder does not contain the hex files for pca10056 (nrf52840).

Can i use the pca10040 hex on this PDK? If no, then where can i find the beacon example thats compatible with nrf52840 and pca10056?

Kindly help.

Regard, Sindhu

  • Hi,

    First of all, I would like to reference the disclaimer in the release notes of SDK 13.0.0 1-alpha:

    This release is an alpha release and should ONLY be used for the following purposes:

    • Exploring and trying out the new Bluetooth 5 features available with the new SoftDevices.
    • Trying out new features on the nRF52840 chip.

    Supported boards:

    • PCA10056 (limited support; see the "Scope for the nRF52840" section)

    Scope for the nRF52840 chip

    All examples and libraries for the new chip must be treated as experimental. Some examples have not been ported to run on nRF52840. Check the existing example projects to see which targets are supported.

    When that is said, you should be able to run the PCA10040 - S132 version of ble_app_beacon on your PCA10056 board, but LEDs and other peripherals might not work as expected. It should not be that difficult to port it to S140 with the correct board headers either. You need to change the following defines in the C/C++ preprocessor symbols:

    BOARD_PCA10040            --> BOARD_PCA10056
    S132                      --> S140
    NRF52832_XXAA and NRF52   --> NRF52840_XXAA 
    

    You also need to change the RAM/ROM settings to fit the new softdevice (see existing pca10056 examples), and change the included paths to the softdevice header files from:

    ..\..\..\..\..\..\components\softdevice\s132\headers
    ..\..\..\..\..\..\components\softdevice\s132\headers\nrf52
    

    to

    ..\..\..\..\..\..\components\softdevice\s140\headers
    ..\..\..\..\..\..\components\softdevice\s140\headers\nrf52
    

    I have attached a zip file containing the pca10056/s140 Keil project and hex files.

    Updated zip for SDK 13 final, with projects for Keil and GCC: ble_app_beacon_pca10056_SDK13_keil5_gccarm.zip

    Updated zip for SDK 14.1, with projects for Keil and GCC: ble_app_beacon_pca10056_SDK141_Keil5_GCC.zip

    Best regards,

    Jørgen

  • Hi,

    Thank you so much, for both providing the zip file and also explaining the migration process (from s132/pca10040 to s140/pca10056).

    As you suggested, i will use the new PDK to explore Bluetooth 5.0 features as well.

    Regards, Sindhu

  • Good luck! Please remember to vote and accept the answer if this was helpful.

Related