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.

CC2340R5: How many end-devices, router that the zigbee network can accommodate?

Part Number: CC2340R5

Tool/software:

I use CC2340R5 as a coordinator, and set the  macro in zb_mem_config_common.h as below,

then how many end-devices, router that the zigbee network can accommodate?

How many child nodes can I accommodate?

what's difference between ZB_CONFIG_NWK_ROUTING_TABLE_SIZE and ZB_CONFIG_NWK_ROUTE_DISC_TABLE_SIZE?

  • Hi Senjin,

    The ZB_CONFIG_OVERALL_NETWORK_SIZE is a maximum of 20 devices (zb_mem_config_lprf3.h) for the CC2340R5 ZC due to RAM limitations.  It can be more on CC2340R53 since there is more RAM on this device.  More in the ZBOSS User's Guide.

    The SysConfig-generated ti_zigbee_config.h defines MAX_CHILDREN as 20.  The zb_nwk_neighbor.h file has ZB_MAX_ED_CAPACITY_DEFAULT as ((ZB_NEIGHBOR_TABLE_SIZE)/2u).  End devices and routers take the same amount of RAM to accommodate for and you can configure your device allocations as necessary for your application.

    Route discovery is the procedure whereby network devices cooperate to find and establish routes through the network. Router devices involved in route discovery maintain a route discovery table. This table is used to store temporary information while a route discovery is in progress. These entries only last for the duration of the route discovery operation.  The concept is explained in the Z-Stack User's Guide (although a different stack and device, this feature applies to the Zigbee Specification and thus you can find a description from that documentation as well).

    Regards,
    Ryan

  • sorry, I am still confused.

    1. we define MAX_CHILDREN as 20, it represents the number of end device, or the number of end devices plus routers?

    2. if I define MAX_CHILDREN to 30, do I need to increase ZB_CONFIG_OVERALL_NETWORK_SIZE? if needed,  what's the appropriate value, according to what?

    3. we define ZB_CONFIG_NWK_ROUTING_TABLE_SIZE as 8, define ZB_CONFIG_NWK_ROUTE_DISC_TABLE_SIZE as 6, which one determines the maximum number of route discoveries that can be simultaneously performed in the network?

    4. In one of my application scenarios I use CC2652 as the coordinator and CC2340R5 as the route and end-device. Requirements for 16 routers at the same time, up to 20 end-devices directly connected to one routing device.  So in the routing project of CC2340R52, Is the current configuration appropriate?

  • 5,Is there a macro defines the max number of a router's neighbor 

  • 1. Set the number of end device a device is allow to have

    2. Yes but you shouldn't increase ZB_CONFIG_OVERALL_NETWORK_SIZE past 20 for a CC2340R5, you will likely encounter a build error.

    3. ZB_CONFIG_NWK_ROUTE_DISC_TABLE_SIZE.  ZB_CONFIG_NWK_ROUTING_TABLE_SIZE determines the umber of entries in the routing table.

    4. Yes

    5. ZB_NEIGHBOR_TABLE_SIZE

    Regards,
    Ryan