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.

How to Increase End Device Using Coordinator ZStack-CC2530-2.5.1a

Other Parts Discussed in Thread: Z-STACK

Hi All,

How can i increase, more End Device in Single Coordinators without using Routers.
I am Using ZStack-CC2530-2.5.1a version. I am expecting 200 - 300 End device want to communicate in a single Coordinator.


Thanks

Best Regards

Siva Jeyaraj

  • Hi,

    Thank you for your information.

    Strange problem in my Zigbee Stack settings as i have configured the above TI-document,

    I am using this below configuration on,

    -> 2 Transceiver (Coordinator)

    -> 60 End device

    My configuration in Zigbee Stack Concentrator Only:

    INT_HEAP_LEN   - 3280bytes

    NWK_MAX_DEVICE_LIST - 10

    CONCENTRATOR_ENABLE - 1

    CONCENTRATOR_DISCOVERY_TIME - 120 sec

    MAX_RTG_SRC_ENTRIES - 60

    SRC_RTG_EXPIRY_TIME - 2

    CONCENTRATOR_ROUTE_CACHE - 1

    MTO_RREQ_LIMIT_TIME - 5000

    If i placed 2 Transceiver (Coordinators) in same place i can able get binding only 10 End device out of 60 each Transceivers having  5+5 =10. Remaining End device does not enter into any of the 2 Transceivers.

    Is it possible to 200 to 250 End Device to communicate in different Coordinators(Ex: Coordinators 10, End device 200) each one of Coordinators having 20 End device.

    can you help roll out this problem.

    Thank you

    Best regards

    Siva J

  • You set NWK_MAX_DEVICE_LIST to 10 and it means that your ZC can only have 10 child nodes at most. If you don't have any ZR in you system, you can have only 10 devices join each ZC. You can extend NWK_MAX_DEVICE_LIST to as large as possible, e.g. 50. Then, I see no problem to have 20 ZC and each has 20 to 25 nodes.
  • Thank you for the information.

    But i can not be build more than one ZC in same place.

    I can be able increase child node maximum NWK_MAX_DEVICE_LIST to 45 using this INT_HEAP_LEN to 2000 (bytes) and I successfully tested this with one ZC and 45 End device.

    what else the settings in the zigbee stack can you please guide me about this, I need to connect more than 200 end device in same place with different ZC.

    Best regards

    Siva J

  • What do you mean you cannot build more than one ZC in a place? If you start another ZC in the same place, it should scan for a channel to build new network and this is done by Z-Stack automatically .
  • Hi,

    Thank you for your updates.

    I have double check with my device in same place it could not be communicated more than 20 device.

    In my test Settings;

    - I have 40 End device in same place
    - I have 2-ZC(Transceiver) in same place with setting NWK_MAX_DEVICE_LIST = 20,

    My test result:

    The ZC could be communicate Max 20 End Device each ZC binded 10.

    Note:
    As per your discussion if ZC- can scan a new channel this 40 End device should connect to the each ZC(Transceiver)



    Can you help me what could be the setting in the zigbee stack,



    Best regards
    Siva J
  • Let's do it step by step.
    1. Set NWK_MAX_DEVICE_LIST=40 on ZC.
    2. Start one ZC and try to join 40 ZED to it. See if ZC can have 40 ZED joined first.
  • Thank you

    It is working with one ZC and 40 end device. As you mentioned settings above NWK_MAX_DEVICE_LIST=40

    My thought was about this issues:
    - If i turn on the 2-ZC in same place it acting a single ZC(Transceiver).
    - It could not be bind more then the device as it is setted in the NWK_MAX_DEVICE_LIST=20


    Best regards
    Siva J
  • I am really confused by your question now. What do you mean if turn on 2 ZC I. The same place it acting a single ZC? What's your intention?

  • Sorry for my conversation,

    It is my thought only.

    My intention is to be implementing more than 200 End device in same place using ZC.

    - I could not be communicate more than 40 device with one ZC as per your discussion.

    Is there any other setting to be implement more ZC in same place.


    Best regards
    Siva J
  • It is not possible to connect 200 ZEDs to one ZC. You have to include ZRs into your system .
  • Thank you for your support.

    Could you please help me how to bring up the ZR into my system?
    and what are the settings are involved in the Zstack for ZR.


    Note:
    Now we have only the ZC and End device. How should i proceed the next steps.

    Best regards
    Siva J
  • For example, you can build SampleLight as a ZR and join it into your ZC.
  • Thank you for your updates

    Now i created ZR it seem binding with ZC<->ZR<->ZE
    I am here testing now.

    Best regards
    Siva J
  • Hi,

    If i started router it could not generate Becon request from the Router device look like ideal.


    - If i started the Router it went to ideal mode.
    - then unplugged and plugged one or two time it stated the Becon request.

    This is my Router Settings:
    ------------------------------------

    LINK_DOWN_TRIGGER=12
    NWK_ROUTE_AGE_LIMIT=30
    BCAST_DELIVERY_TIME=100
    DEF_NWK_RADIUS=15
    DEFAULT_ROUTE_REQUEST_RADIUS=8
    ROUTE_DISCOVERY_TIME=13
    ZDNWKMGR_MIN_TRANSMISSIONS=0
    NWK_LINK_STATUS_PERIOD=30
    MAX_NEIGHBOR_ENTRIES=48

    i followed the below data sheet,
    AN123 – Breaking the 400-Node ZigBee® Network Barrier With TI’s ZigBee SoC and Z-Stack™ Software


    what could happening in my router configuration.

    Is there any settings changes in Coordinator?

    Best regards,
    Siva J
  • Do you mean idle? or ideal? Do you disable HOLD_AUTO_START in your ZR project? If not, you have to press SW2 to trigger EZ-mode to start beacon.
  • Hi,

    Thank you for answering my query,

    It is like a "mute".
    yes, i disable xHOLD_AUTO_START then it look like as earlier.

    Can you tell me the whole process starting to till end what i have to setting up the Router.
    Is there any reset function want to generate Beacon request.

    As per as me i did not use any other compiler settings in ZR,
    --------------------------------------------------------------------------------
    LINK_DOWN_TRIGGER=12
    NWK_ROUTE_AGE_LIMIT=30
    BCAST_DELIVERY_TIME=100
    DEF_NWK_RADIUS=15
    DEFAULT_ROUTE_REQUEST_RADIUS=8
    ROUTE_DISCOVERY_TIME=13
    DNWKMGR_MIN_TRANSMISSIONS=0
    NWK_LINK_STATUS_PERIOD=30
    MAX_NEIGHBOR_ENTRIES=48
    RTR_NWK
    xHOLD_AUTO_START

    My question is,
    1. It should generate a Beacon request, after one or more power plug on and off or interrupt with hardware?
    2. Is there any hardware setting in my board?
    3. Want me to change in Z stack.

    Now i am using Stack,
    C:\Texas Instruments\ZStack-CC2530-2.5.1a_Router\Projects\zstack\Utilities\SerialApp\CC2530DB




    Best regards
    Siva J
  • Do you use your customized PCB? If so, set a breakpoint in ZDAppCheckForHoldKey() and check if it goes inside "if ( zdappHoldKeys == SW_BYPASS_START )".
  • Hi,

    Yes, exactly i am using a customized board PCB.

    it does not reach the ZDAppCheckForHoldkey()
    and
    It should not get out of this MAC_Init(); function while i am running the stack.

    In my debugging Experience:
    -----------------------------------------
    - If i touch the board then it will execute the MAC_Init(); function
    - and it does not goes inside "if ( zdappHoldKeys == SW_BYPASS_START )".


    what could be the problem.

    The question is why MAC_Init(); function does not execute.?


    Best regards
    Siva J
  • There must be something wrong with your PCB. Can you try another one PCB to see if it is the same? I suspect the is caused by crystal of your customized PCB. I suggest to check that with your HW designer.
  • Hi,

    Yes, understandable the problem was in crystal. I will discuss with hardware team and let we check.
    But, as i am same using Coordinator PCB Board for router also, in my case Coordinator seems to be working fine.

    Is there any settings for router Crystal/Hardware?

    Best regards
    Siva J
  • No, there is not any specific crystal/hardware settings for router.
  • Hi,

    Thank you for information,

    I have successfully get the Beacon request from the ZR.

    and i added bellow compiler options then it work fine
    OSC32K_CRYSTAL_INSTALLED=FALSE
    is there any issue for adding this 32k crystal off?


    Best regards
    Siva J
  • So, you use internal RC oscillator instead of 32K crystal,right? That's why you have to set OSC32K_CRYSTAL_INSTALLED=FALSE. You get the lowest power consumption by using the 32kHz RCOSC for the sleep timer and the 32kHz external crystal OSC gives better aquracy. It is simply a trade off which is application dependent.
  • Thank you so much for your updates.

    In this router configuration does not binding with Router. It can binded and communicated with Coordinators

    In here my setup like this.,

    ZC<->ZR1<->ZR2<->ZE
    \
    ZR3<->ZE

    Is there any Router only setting in the Z Stack?

    Best regards
    Siva J
  • What do you mean "In this router configuration does not binding with Router"? As I know, there is no constrain on ZR binding to other node.
  • Hi,

    I will double check and let you know.

    Best regards
    Siva J
  • Hi,

    Thank you,

    It is working fine. I was configured wrongly.

    But i have few questions in my router binding and communication.,

    - I begun to start the testing yesterday evening with 1 Coordinator, 2 Router and 10 end device.

    - End device will wake-up and communicated with the coordinator every 30 minuets and then enter into sleep mode

    - In below are my network setup.

    - I have done proper configuration with Coordinators and Router with End device.

    - I saw the short address of the each end device binded with each other router with respect to the binding short address.

    - Suddenly i saw the each end device will directly communicated with Coordinator all other routers are "mute" after an couple of hours.

    - I can conform there is no other power cut-off, and there is not happening restart device.

    Why the router does not responded to the end device after couple of an hour. I can saw that both router is not responded.

    It responding after restarting the Router unit.

    My ZR-settings:

    OSC32K_CRYSTAL_INSTALLED=FALSE
    LINK_DOWN_TRIGGER=12
    NWK_ROUTE_AGE_LIMIT=30
    BCAST_DELIVERY_TIME=100
    DEF_NWK_RADIUS=15
    DEFAULT_ROUTE_REQUEST_RADIUS=8
    ROUTE_DISCOVERY_TIME=13
    DNWKMGR_MIN_TRANSMISSIONS=0
    NWK_LINK_STATUS_PERIOD=30
    MAX_NEIGHBOR_ENTRIES=48

    Best regards

    Siva J

  • Hi Siva,
    It sounds like there is memory leak in your ZR. Do you allocate memory without free it in your ZR?
  • Hi,

    Thanks for your response.

    No, i did not do anything memory related and how do i do this settings.
    Please let me know how do i solve memory leak issues.


    Best regards
    Siva J
  • If you don't allocate memory in your application , it is not the problem. You can try to use default settings on ZR and see if it works.