Because of the holidays, TI E2E™ design support forum responses will be delayed from Dec. 25 through Jan. 2. Thank you for your patience.

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: Launch of Z-Stack Mesh 1.0.0 network. The coordinator does not start.

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

I have EBYTE E18MS1PA1 (CC2530+CC2592) modules.
I want to build a Mesh network in which there will be one master device for data collection (Coordinator) and many devices (Router) with the function of routing and network recovery.

Upon request from the Coordinator, Routers transmit data to him (up to 80 bytes).
I'm thinking of using Z-Stack Mesh 1.0.0 for this. I use IAR Embedded Workbench for 8051 v10.10.1.
I adapted the example GenericApp project according to the instructions for the E18 module.
The project compiles without errors or warnings.
But the coordinator issues only one 'Beakon' request.
I look in the debugger - it remains in the 'DEV_COORD_STARTING' status (does not change to the 'DEV_ZB_COORD' status).
The router also issues one Beakon request and remains in the 'DEV_NWK_DISK' status. Checked on different radio channels (-DDEFAULT_CHANLIST).

The ZDO_StartDevice() function runs the ret = NLME_NetworkFormationRequest() function. Returns ret = ZSuccess. And the function ZDO_NetworkFormationConfirmCB() from ZDApp.s is not invoked.

1. What could be the problem?
2. Maybe it’s better (in my case) to switch to version Z-STACK-3.0.2?

  • CC2530 is an obsolete Zigbee SoC. I would recommend you to use CC26x2R for new Zigbee design.

  • I understand that. But I already have quite a lot of E18 modules and I want to use them..

  • Hi Valerii,

    1. The Z-Stack Mesh 1.0.0 software solution was built and tested with IAR EW8051 v8.30.3, and a different compiler is likely causing run-time issues.  The GenericApp examples are also intended to be used on TI development kits, thus different hardware could lead to unexpected behavior.  Please make sure to erase all device memory before programming the application image.

    2. Z-Stack 3.0.2 is the recommended software solution to evaluate Zigbee on CC253X devices.  It is worth determining whether you have more success when using these examples.  Note that IAR EW8051 10.20.1 is supported as documented in the Release Notes.  See the Documents folder's Sample Application User's Guide and follow all instructions for the best results.

    Regards,
    Ryan

  • The problem is solved.
    There was an error in the code when assigning pin P2_0.
    To disable the interrupt on pin P2_0 in the code I had to write:
    IEN2 &= ~(BV(1)) - disable port 2 interrupt.
    Instead it was:
    IEN2 &= ~(BV(0)) - general disabling of RF interrupts.

    By the way, the project (Z-Stack Mesh 1.0.0) compiles and works in IAR EW8051 v10.30.1.

    Thanks everyone...