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

nRF52840 with own hardware design

I have my own hardware design with the nRF52840 on it. I more or less copied the whole radio/antenna part from the dev kit reference design. The blinky example works fine on it.

So, I do have two questions:

  1. Should the Thread / CoAP examples work without any modifications? If not, what do I have to modify in order to get it working?

  2. I program my hardware with the dev kits debug output on P20. But when I start a thread example (e.g. CLI or CoAP server/client), I cannot enter any commands over the COM-Port. Should it be possible with my own hardware? Or are the trace lines needed for this functionality?

Thanks in advance!

  • Hi,

    Yes, Thread should work out of the box.

    Have you tried to test if UART working properly on your board ? You can test with normal Uart example instead of thread CLI example.

    After that you can test the CLI example, you need to match RX, TX, CTS, RTS pins with the pins used on the PCA10056 board. It's hardcoded in the OpenThread stack.

    If you don't want to match the pins, but use your own pins, you need to change the platform definition and rebuild OpenThread stack. The definition for nRF52840 is defined here

    HWFC is used by default.

Related