This thread has been locked.

If you have a related question, please click the "Ask a related question" button in the top right corner. The newly created question will be automatically linked to this question.

CC2530: CC2530

Part Number: CC2530
Other Parts Discussed in Thread: CC2531, Z-STACK

Hi,

it`s been 2 weeks that I`m struggling with cc2530 to initiate network on z-stack 3.0.2.I`m using cc2530 module, not the evaluation board, so running sample programs is impossible.I want to initiate network between cc2530(probably as an ED) and cc2531(probably  as an Coordinator.)usb dongle.I was able create simple led blinking program on z-stack (on cc2530) by creating OSAL tasks on GenericApp example.I`m considering adding some API functions to GenericApp example and create network (but no luck for now).As for cc2531 dongle there is zigBee2MQTT firmware that makes dongle act as a coordinator.Any help is appreciated.Thanks before!

  • Hi,

    Are you at least able to flash the sample applications onto the module?

    Regards,
    Toby

  • You can try to run samplelight on one CC2530 to act as coordinator and another CC2530 running sampleswitch as end device.

    1. for samplelight, you can add "bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_FORMATION|BDB_COMMISSIONING_MODE_NWK_STEERING);" in the end of zclSampleLight_Init() to make samplelight form zigbee network and enable permit join to allow device to join automatically right after it is powered on.

    2. for sampleswitch, you can add "bdb_StartCommissioning(BDB_COMMISSIONING_MODE_NWK_STEERING);" in the end of zclSampleSw_Init() to make sampleswitch to start joining zigbee network right after it is powered on.

    For CC2531 USB dongle, you can use Ztool to work with it to act as coordinator. You can refer to for such operation.

  • Yes I`m able flash and run sample applications and able to blink LED1 and LED2 on the module

  • Have you tried YK's suggestion above?

    If you don't need any of the peripherals that are used by the sample applications (eg. buttons, LEDs, LCD, etc), then you can bypass the initialization of them.

  • Thank you very much!

    I`m now able to initiate network on cc2530 and able configure cc2531 as a coordinator.

    Now, I want to know how to bind cc2531(coordinator or router configured on z-tool) and cc2530(programmed on z-stack) and send data.My eventual goal is creating custom project or editing sample programs and creating zigbee network, sending data, using peripherals etc. for Home Automation(on cc2530 modules).It looks like everything is pre-made and explained on the docs but it`s overwhelming for new starter.I`m reading docs given by z-stack but can`t find exactly what I needed.Could you or someone suggest me the path how to start?

    Thanks.