Porting nRF52840 DK code to nRF52805

I have written BTLE code that works on the nRF52840 DK using SoftDevice s140. I have ported this code to work on the nRF51 DK and nrf51822 MCU using SoftDevice s130. I use SoftDevice only for flash writes and BTLE. I would like to know what it would take to port this code to the nRF52805 MCU? What SoftDevice should I use (would like the latest supported)?

Parents Reply Children
  • I am sorry that I don't know what DLE is. I just found an experimental package for board pca10056 using s113 (not s112). I made a copy of the directory, renamed it, and replaced my main files with it's main file and added all my other source an h-files (leaving sdk_config.h alone) and it built. I have not run it on my nRF52840 DK. But it was a project that used a SoftDevice compatible with the nRF52805 using a board I have. So it's a start. 

    I do not understand what half of the items in the sdk_config.h file mean or do. I would give anything to find good documentation about it. For most stuff I don't know what to keep (1) and what to toss out (0). I don't know if I need GATT support or not or GATT Queue (using only SoftDevice and not the BTLE SDK.

    What is the difference between pca10056 and pca10056e? Can I use the nRF52840 DK to run a pca10056e project?

  • I am sorry that I don't know what DLE is

    You said moving to s112 eliminated "extended length negotiation". I assumed you meant the link layer Data Packet Length Extension (DLE).

  • Okay, that's what DLE means. Yes it did, but I am not dependent upon it. But now that I know that's what the difference is and since the nRF52805 supports s113, I can make use of it.

    In any case I built the s112 version of my project using the pca10056e option and it built and ran. Could I flash an nRF52805 MCU with the generated HEX file?

Related