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

Recommandation to quickly test long range and RSSI with nRF52840

HI,

I got 2 nRF52840 dev kits and I'm interested in testing the long range layer (LE coded PHY ) between the 2 modules, also scan for the second module RSSI value.

I was thinking if you can recommend some examples that I can mix together to achieve this ?

any advice is very welcome

Regards Chaabane

  • Hi Chaabane,

    You might want to start by looking at the through put example, it will allow you to choose the 2M, 1M or coded Phy as part of setting up he test. You can find it in the SDK folder hierarchy here for example: nRF5_SDK_14.2.0_17b948a\examples\ble_central_and_peripheral\experimental\ble_app_att_mtu_throughput

    Hope this helps, JD

  • Note that you need to use SoftDevice S140 version 6.0.0-6.alpha for maximum range. This version implements a range delay(packet time of flight compensation) corresponding to a distance of 5 km when using LE Coded PHY. You can download this version from here. The example John DeWitt mentioned(ble_app_att_mtu_throughput) is the best for testing the range. You can find a patch in the S140 version 6.0.0-6.alpha zip for the ble_app_att_mtu_throughput example, making it compatible with the S140 version 6.0.0-6.alpha.

  • Yes, I downloaded it but when applying the patch it seemed that some changes can't be applied !

    Below the errors I got :

    error: patch failed: SDK14/components/softdevice/common/nrf_sdh.c:171
    error: SDK14/components/softdevice/common/nrf_sdh.c: patch does not apply
    error: patch failed: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/arm5_no_packs/ble_app_att_mtu_throughput_pca10056_s140.uvprojx:362
    error: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/arm5_no_packs/ble_app_att_mtu_throughput_pca10056_s140.uvprojx: patch does not apply
    error: patch failed: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/armgcc/Makefile:194
    error: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/armgcc/Makefile: patch does not apply
    error: patch failed: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/armgcc/ble_app_att_mtu_throughput_gcc_nrf52.ld:5
    error: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/armgcc/ble_app_att_mtu_throughput_gcc_nrf52.ld: patch does not apply
    error: patch failed: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/iar/ble_app_att_mtu_throughput_pca10056_s140.ewp:179
    error: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/iar/ble_app_att_mtu_throughput_pca10056_s140.ewp: patch does not apply
    error: patch failed: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/arm4/ble_app_att_mtu_throughput_pca10056_s140.uvproj:350
    error: SDK14/examples/ble_central_and_peripheral/experimental/ble_app_att_mtu_throughput/pca10056/s140/arm4/ble_app_att_mtu_throughput_pca10056_s140.uvproj: patch does not apply
    

    I don't use git often, soI'm not sure how to fix this ?

    Thank you

  • Hi John,

    Thank you, I ran the example and it's straight forward.

  • Make sure that you are using SDK version 14.0. The patch is written for SDK 14.0

Related