Project shift from nrF52833 to nrF52840

Hi,

Im currently planning to move a project i did in nrF52833DK to nrF52840DK.

My project uses the thread protocol. and relevant DHT11 files.

So i directly added the DHT11 files and replaced the main.c  file with a main.c file of my own in the cli folder of examples in the sdk folder.  "C:\nrf_dk(test)\nrf5_sdk_for_thread_and_zigbee_v4.2.0_af27f76\examples\myprojects\cli"

when i did this and ran the ses file from pca10056, there were no errors and I deployed it in the nrF25840.

But the board is not responding as intended.It is supposed to send prompts in Putty but it isnt working.

this is the output we are gettinng from the debug terminal.

"

<info> app_timer: RTC: initialized.
<info> app: Thread version : OPENTHREAD/20191113-00534-gc6a258e3; NRF52840; Apr 5 2020 21:51:18
<info> app: Network name : OpenThread
<info> app: State changed! Flags: 0x00038200 Current role: 0  "

Can you please help?

thanks!

Parents Reply Children
  • The nRF5 SDK and the nRF Connect SDK are quite different, so converting projects from one to the other is not really possible.

    The best procedure is to start over again for the nRF Connect SDK.
    However, your code does not seem too large, so I think that is a reasonable approach.

    The largest downside, I would say is that the learning curve for getting into the nRF Connect SDK is quite steep, so you will have to spend a bit of time learning this. However, we have made https://academy.nordicsemi.com/ for a set of good and free courses which you can take to get started. I suggest that you start with the Fundamentals one here to get started.

    One good upside for your project is that the nRF Connect SDK has drivers for the DHT sensor, and a sample which you can test it with, which should make the sensor part of your project quick to implement.
    Also, the nRF Connect SDK lets you build one project for multiple different boards, so you can use the same project for both the nRF52833 and the nRF52840, with just different build commands, making the change a lot easier.
    Of course, the nRF Connect SDK has good Thread support as well, and you can see both our docs and samples for this.

Related