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

Use of NCP in Zigbee

Hello,

I am using nRF52833, nRF Connect SDK  v1.5.0.

In v1.5.0 there is one new example i.e Zigbee NCP. ( Zigbee: NCP — nRF Connect SDK 1.5.0 documentation (nordicsemi.com)..)

In the above link, NCP and coordinator are both used for testing.

I'm not understanding what is the use of NCP.  I am confused between the use of coordinator and NCP.

Can you please explain to me why and in which case NCP required?

What is the difference between NCP and coordinator?

Thank you,

Pranav.

  • Hello,

    All three examples (from the NCP "SDK") works out of the box. Note that these use channel 21 by default, while the Zigbee samples from NCS uses channel 16 by default. 

    To change the channel, please use channel mask (1l<<channel) (where channel is the channel number you want to use, e.g. channel mask (1l<<13) ).

    The reeason you have build issues is the lack of a space character before the channel mask. It should be #define LIGHT_CONTROL_CHANNEL_MASK space (1l<<13). Without the whitespace character, it defines an empty macro that takes parameters inside the paranthesis.

    I have seen that the customer had some issues determining what protocol that is used by the Host to communicate with the NCP. Please remember that we provide two .hex files for the nRF52833 board:

    • ncp_nrf52833_xxaa_uart.hex
    • ncp_nrf52833_xxaa_usb.hex

    The first one uses UART which goes through the on-board Segger. You can determine which serial port your NCP board is assigned with by issuing the nrfjprog --com command. The second one uses native USB which requires an additional USB cable connected to the on-board nRF USB port.

    Also note that NCP stores some information in it's flash memory. When testing different applications and connecting to different networks it may be necessary to erase the flash memory in between two runs.

    Best regards,

    Edvin

  • Hello Edvin,

    Thank you for your reply. That resolved my issue.

    Thank you,

    Pranav.

Related