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 Start Commissioning status Not Network

Other Parts Discussed in Thread: Z-STACK, CC2530, CC2592, CC2590, CC2591

Hello!

I tried to setup a zigbee network many times with 1 ZC and 1 Zouter, as instructed by Mr Yikai Chen. But go to add a router to the coordinator's network with the command APP_CNF_BDB_START_COMMISSIONING (0x2F05)
    CommissioningMode: (0x02) Network Steering (0x2)
although I have the chanel set of Coordinator and the router is the same. but I still get back the response from RX
<RX> 12: 04: 20.2 COM17 APP_CNF_BDB_START_COMMISSIONING_SRSP (0x6F05)
    Status: SUCCESS (0x0)

<RX> 12: 04: 20.2 COM17 ZDO_STATE_CHANGE_IND (0x45C0)
    State: INVALID_PARAMETER (0x2)

<RX> 12: 04: 20.2 COM17 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80)
    Status: 1 (0x1)
    Commissioning Mode: 0x01 (Network Steering) (0x1)
    Commissioning Mode: 0x02 (Network Steering) (0x2)

<RX> 12: 04: 20.49 COM17 ZDO_STATE_CHANGE_IND (0x45C0)
    State: SUCCESS (0x0)

<RX> 12:04: 20.49 COM17 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80)
    Status: 0x02 (No Network) (0x2)
    Commissioning Mode: 0x01 (Network Steering) (0x1)
    Commissioning Mode: 0 (0x0)

What do I have to do to fix the error.? 

Thanks you!

  • I just use original Z-Stack 3.0.2 examples. You can remove and reinstall your Z-Stack 3.0.2 to recover original source codes.
  • Why do I just add HAL_PA_LNA_CC2592
    ZDSECMGR_TC_DEVICE_MAX = 29
    then my Z-tools won't work, "not device found"
  • Do you connect CTS/RTS signal between your CC2530 and PC host?
  • Previously I just used P0.2-> TX, P0.3-> RX,
    GND-> GND. not use CTS / RTS and do not add symbol HAL_PA_LNA_CC2592. but Z-tools still works
    Now, i define symbol HAL_PA_LNA_CC2592. Z-tool "not device found"
  • If you don’t use RTS/CTS, you should set UART flow control to FALSE.
  • I have reset the zigbee network according to your tutorial. I installed coordinator on Z-tool and router on stm32.

    After the coordinator has created a network. on my router use APP_CNF_BDB_START_COMMISSIONING (0x2F05)

         CommissioningMode: (0x02) Network Steering (0x2) to join, I see on the screen ubiqua show becon requests, on the ZDO_MGMT_PERMIT_JOIN coordinator to jouter but I see

    APP_CNF_BDB_START_COMMISSIONING (0x2F05)

         CommissioningMode: (0x02) Network Steering (0x2) on ROUTER, it RESPONSE 

    APP_CNF_BDB_COMMISSIONING_NOTIFICATION

    Status: 0x01 - 0x01 BDB_COMMISSIONING_IN_PROGRESS

    Mode: 0x01 - 0x01 BDB_COMMISSIONING_NWK_STEERING

    it report staus: 0x01 (network stering)

    command on coordinator:

    <TX>04:33:05.68 COM23 SYS_RESET (0x4100)
        Type: 0x00 (HARD RESET) (0x0)
    
    <RX>04:33:06.89 COM23 SYS_RESET_RESPONSE (0x4180)
        Reason: 0x02
        TransportRev: 0x02
        Product: 0x00
        MajorRel: 0x02
        MinorRel: 0x07
        HwRev: 0x02
    
    <TX>04:33:42.96 COM23 SYS_OSAL_NV_WRITE (0x2109)
        Id: 0x0003
        Offset: 0x00
        Len: 0x01
        Value: . (0x03)
    
    <RX>04:33:42.97 COM23 SYS_OSAL_NV_WRITE_SRSP (0x6109)
        Status: SUCCESS (0x0)
    
    <TX>04:34:05.1 COM23 SYS_RESET (0x4100)
        Type: 0x00 (HARD RESET) (0x0)
    
    <RX>04:34:06.78 COM23 SYS_RESET_RESPONSE (0x4180)
        Reason: 0x02
        TransportRev: 0x02
        Product: 0x00
        MajorRel: 0x02
        MinorRel: 0x07
        HwRev: 0x02
    
    <TX>04:34:15.83 COM23 SYS_OSAL_NV_WRITE (0x2109)
        Id: 0x0087
        Offset: 0x00
        Len: 0x01
        Value: . (0x00)
    
    <RX>04:34:15.84 COM23 SYS_OSAL_NV_WRITE_SRSP (0x6109)
        Status: SUCCESS (0x0)
    
    <TX>04:34:42.48 COM23 APP_CNF_BDB_SET_CHANNEL (0x2F08)
        isPrimary: TRUE (0x1)
        Channel: CHNL_0x00002000 (0x2000)
    
    <RX>04:34:42.49 COM23 APP_CNF_BDB_SET_CHANNEL_SRSP (0x6F08)
        Status: SUCCESS (0x0)
    
    <TX>04:34:47.28 COM23 APP_CNF_BDB_SET_CHANNEL (0x2F08)
        isPrimary: FALSE (0x0)
        Channel: NONE (0x0)
    
    <RX>04:34:47.28 COM23 APP_CNF_BDB_SET_CHANNEL_SRSP (0x6F08)
        Status: SUCCESS (0x0)
    
    <TX>04:35:00.91 COM23 APP_CNF_BDB_START_COMMISSIONING (0x2F05)
        CommissioningMode: (0x04) Network Formation (0x4)
    
    <RX>04:35:02.39 COM23 APP_CNF_BDB_START_COMMISSIONING_SRSP (0x6F05)
        Status: SUCCESS (0x0)
    
    <RX>04:35:02.4 COM23 ZDO_STATE_CHANGE_IND (0x45C0)
        State: 8 (0x8)
    
    <RX>04:35:02.41 COM23 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80)
        Status: 1 (0x1)
        Commissioning Mode: 0x02 (Formation) (0x2)
        Commissioning Mode: 0x04 (Network Formation) (0x4)
    
    <RX>04:35:02.96 COM23 ZDO_STATE_CHANGE_IND (0x45C0)
        State: 9 (0x9)
    
    <RX>04:35:02.97 COM23 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80)
        Status: 0x00 (Success) (0x0)
        Commissioning Mode: 0x02 (Formation) (0x2)
        Commissioning Mode: 0 (0x0)
    
    <TX>04:35:38.53 COM23 UTIL_GET_DEVICE_INFO (0x2700)
    
    <RX>04:35:38.54 COM23 UTIL_GET_DEVICE_INFO_RESPONSE (0x6700)
        Status: SUCCESS (0x0)
        IEEEAddr: 0x00124B0015AB4466
        ShortAddress: 0x0000
        DeviceType: COORDINATOR, ROUTER, END_DEVICE (0x7)
        DeviceState: DEV_ZB_COORD (0x9)
        NumAssocDevices: 0x00
        AssocDevicesList
    
    <TX>04:35:59.43 COM23 APP_CNF_BDB_START_COMMISSIONING (0x2F05)
        CommissioningMode: (0x02) Network Steering (0x2)
    
    <RX>04:35:59.44 COM23 APP_CNF_BDB_START_COMMISSIONING_SRSP (0x6F05)
        Status: SUCCESS (0x0)
    
    <RX>04:35:59.45 COM23 ZDO_MGMT_PERMIT_JOIN_RSP (0x45B6)
        SrcAddr: 0x0000
        Status: ZDP_SUCCESS (0x0)
    
    <RX>04:35:59.46 COM23 APP_CNF_BDB_COMMISSIONING_NOTIFICATION (0x4F80)
        Status: 0x00 (Success) (0x0)
        Commissioning Mode: 0x01 (Network Steering) (0x1)
        Commissioning Mode: 0 (0x0)
    
    <TX>04:36:46.02 COM23 ZDO_MGMT_PERMIT_JOIN_REQUEST (0x2536)
        AddrMode: 0x02 (ADDRESS_16_BIT) (0x2)
        DstAddr: 0x0000
        Duration: 0xFF
        TCSignificance: 0x01
    
    <RX>04:36:46.03 COM23 ZDO_MGMT_PERMIT_JOIN_REQ_SRSP (0x6536)
        Status: SUCCESS (0x0)
    
    <RX>04:36:46.04 COM23 ZDO_MGMT_PERMIT_JOIN_RSP (0x45B6)
        SrcAddr: 0x0000
        Status: ZDP_SUCCESS (0x0)
    

    on router i use command same your tutorial 

  • Try to set duration to 0xFE not 0xFF in ZDO_MGMT_PERMIT_JOIN_REQUEST to test again.
  • I still get the value 0x02 (No Network) :(. I'm really tired. Can you have a direction that can help me :(?
  • Do you enable CC2592 on both your Coordinator and router?
  • Yes, I loaded the download and debug for the same FW
    t added symbol HAL_PA_LNA_CC2592 as you instructed
  • Do you use Ubiqua to check what happens over the air in your latest test? If so, can you attach your sniffer log?
  • openNetworkcc2530.rar

    plese check it, Thanks you, Yikai Chen

  • The signal strength is not very strong in your sniffer log. The beacon request from your router only shows -54dbm and I don't see coordinator responds beacon frame. How far is it between your sniffer and coordinator/router?

  • The distance between sniffer and router and coodinator is 10cm, I put all 3 on my desk.

    My hardware may be missing antennas, I have 3 2.4Ghz frequency antennas. Should I test it?

    According to my chip manufacturer's documentation, I saw some instructions, but I don't understand, because I'm a newbie. Can you help me?


    Thanks you Yikai Chen

  • If the distance is 10cm, the signal strength should be much better than -54dbm. And, I had told you that you should define HAL_PA_LNA_CC2592 in predefined symbols and leave xHAL_PA_LNA as it is. Why don’t you listen to me?

  • thanks you very much, Yikai Chen. You helped me a lot.
    I have followed your instructions, I don't follow anyone else's. But I really don't know why my cc2530 has such a low signal.
  • Do you do those 5 steps in your previous reply?
  • I do not do the above steps, because I do not understand what it is for. I just posted it because now everything about zigbee with me is a disorder, so I want to ask you what to do? and do I need to follow it? And I completely follow your instructions and the benevolent TI in this article of mine.
  • When you define HAL_PA_LNA_CC2592 in Z-Stack 3.0.2, all of those settings are done. I would suggest you to use SmartRF Studio to do PER test on your CC2530 module first.
  • hello, Yikai Chen

    I've done per test on Smart RF

    The first image when I didn't install an extension antenna for my cc2530 it only reached -94dBm

    then an antenna is inserted into my cc2530, it is -75 dBm. Do you think the RF wave is correct?

    thanks you very much

  • I suppose you should use one of your CC2530 to act as Packet TX and anther as Packet RX to do PER test.
  • I tried Parket Rx and TX on both windows they all received data from each other

  • So, the module looks OK with PER test. Can you try to erase your chip and download ZNP to test again.
  • I tried again, and the result is still No network. All steps I make sure have done the same thing as your blog. Although when I sterring on the router I received 1 becon request on ubiqua but in the z-tool router I still only get No Network.

    <TX>04:29:28.04 COM17 UTIL_GET_DEVICE_INFO (0x2700)

    <RX>04:29:28.06 COM17 UTIL_GET_DEVICE_INFO_RESPONSE (0x6700)
    Status: SUCCESS (0x0)
    IEEEAddr: 0x00124B001BDC28A0
    ShortAddress: 0xFFFE
    DeviceType: COORDINATOR, ROUTER, END_DEVICE (0x7)
    DeviceState: DEV_HOLD (0x0)
    NumAssocDevices: 0x00
    AssocDevicesList

    Thanks you, Yikai Chen!

  • According to your screen shot of sniffer log, it seems there is no beacon frame from coordinator to respond beacon request from router. Are you sure you setup coordinator on channel 13 correctly?
  • When the router sends 1 becon_request to the network it seems my coordinator does not respond! .
    I tried a lot of deletions and downloads for my cc2530, but actually at the router when I get_until_device
    10: 32: 41.84 COM17 UTIL_GET_DEVICE_INFO (0x2700)

    <RX> 10: 32: 41.86 COM17 UTIL_GET_DEVICE_INFO_RESPONSE (0x6700)
         Status: SUCCESS (0x0)
         IEEEAddr: 0x00124B0015AB36B6
         ShortAddress: 0xFFFE
         DeviceType: COORDINATOR, ROUTER, END_DEVICE (0x7)
         DeviceState: DEV_HOLD (0x0)
         NumAssocDevices: 0x00
         AssocDevicesList

    it is still DEVICE_HOLD :(

    z-tools that I used in COM27 are coordinator and COM17 are routers

  • What do you get on coordinator if you run UTIL_GET_DEVICE_INFO?
  • while i command UTIL_GET_DEVICE_INFO on Coordinator
    <TX>11:29:22.45 COM27 UTIL_GET_DEVICE_INFO (0x2700)

    <RX>11:29:22.46 COM27 UTIL_GET_DEVICE_INFO_RESPONSE (0x6700)
    Status: SUCCESS (0x0)
    IEEEAddr: 0x00124B0015AB4466
    ShortAddress: 0x0000
    DeviceType: COORDINATOR, ROUTER, END_DEVICE (0x7)
    DeviceState: DEV_ZB_COORD (0x9)
    NumAssocDevices: 0x00
    AssocDevicesList

    <TX>11:29:26.11 COM27 UTIL_GET_NV_INFO (0x2701)

    <RX>11:29:26.17 COM27 UTIL_GET_NV_INFO_RESPONSE (0x6701)
    Status: 8 (0x8)
    IEEEAddress: 0x00124B0015AB4466
    ScanChannels: NONE (0x0)
    PanID: 0x0000
    SecurityLevel: 0x08
    PreConfigKey: .....)..P..&.... (0x00, 0xFF, 0xFF, 0xFF, 0xFF, 0x29, 0xC2, 0x9E, 0x50, 0x88, 0xBF, 0x26, 0xF2, 0x9A, 0x04, 0x8B)
  • Coordinator status looks good. If router do bdb start commission again, do you still see router sends beacon requests but there is no beacon frame responds from coordinator?
  • Yes, I didn't receive the request from the coordinator. On the other hand my router is always DEV_HOLD
  • Router would only turn to DEV_ROUTER when it joins Zigbee network. It's correct that you see your router in DEV_HOLD state since it doesn't join any network.
  •  You helped me a lot. Finally I thought it was because of my hardware, I changed it with hardware and it joined the network.

    But I have some new problems:

    1. Why is my Ubiqua Router on N screen?

    2. Can you give me the parameters of AF register and AF_data_request because I really lost a lot of time for the setup part so I can't understand Cluster Id ..

    thanks you, Yikai chen

    Thanks you very much !!

  • 1. I couldn't understand your question.
    2. Please refer to Z-Stack Monitor and Test API.pdf
    By the way, can you elaborate what hardware change you change to make it work finally?
  • Although when I send data from ROuter to coordinator, even though the Z-tool on the coordinator has received data from the router, I don't see it on ubiqua ..

  • Do you setup TC link key into Ubiqua?
  • oh, i don't TC link key.
    About the hardware, I noticed cc2592, I thought it was defective. I used a new hardware including cc2530 + cc2591 and it worked.
    Every step of steup your zigbee network is perfect.
    Thank you for helping me, thank you very much!

    P.s Sorry for my english!

  • You can refer to Security Keys section in www.ubilogix.com/.../setting-preferences to setup TC link key.