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.

CC2538: How to configure Many-to-One Routing with SysConfig

Part Number: CC2538
Other Parts Discussed in Thread: SYSCONFIG, Z-STACK,

Hi,

I would like to try Many-to-One Routing with a large Zigbee network (coordinator and 50 routers).
It is described here:

https://dev.ti.com/tirex/explore/content/simplelink_cc13xx_cc26xx_sdk_7_40_00_77/docs/zigbee/html/zigbee/z-stack-overview.html#z-stack-overview-many-to-one-routing-protocol

How should I enable it in SysConfig, both for coordinator and router?
Is there any samples available for this?

BR,

jukka

  • Hi Jukka,

    SysConfig is not available on the CC253x Legacy Z-Stack solution.  What is your targeted device and stack version?  If truly the CC2538 then please refer to the downloaded Z-Stack 3.0.2\Documents\Z-Stack 3.0 Developer's Guide.pdf file, Section 5.4 (Many-to-One Routing Protocol).

    Regards,
    Ryan

  • Hi Ryan,

    OK thanks. The oldest of the targeted devices is CC2538, so let's concentrate on that first. I read through the Section 5.4 of "Z-Stack 3.0.2\Documents\Z-Stack 3.0 Developer's Guide.pdf". There seems to be only minor differences if compared to my first reference.

    Section 5.4 mentions "concentrator" several times, so I assume that CONCENTRATOR_ENABLE (described in Section 5.5) must be set in f8wCoord.cfg file to activate Many-to-One routing.

    But what else do I have to change in coordinator and router implementation?
    Is there any samples available for Many-to-One routing?

    BR,
    jukka

  • You will find most concentrator definitions in Components/stack/sys/ZGlobals.h

    // Concentrator values
    #if !defined ( CONCENTRATOR_ENABLE )
      #define CONCENTRATOR_ENABLE          false // true if concentrator is enabled
    #endif
    
    #if !defined ( CONCENTRATOR_DISCOVERY_TIME )
      #define CONCENTRATOR_DISCOVERY_TIME  0
    #endif
    
    #if !defined ( CONCENTRATOR_RADIUS )
      #define CONCENTRATOR_RADIUS          0x0a
    #endif
    
    #if !defined ( CONCENTRATOR_ROUTE_CACHE )
      #define CONCENTRATOR_ROUTE_CACHE     false // true if concentrator has route cache
    #endif
    
    // The hop count radius for concentrator route discoveries
    #if !defined ( CONCENTRATOR_RADIUS )
      #define CONCENTRATOR_RADIUS          0x0a
    #endif

    You can also loosely follow the recommendations from these Application Reports:

    https://www.ti.com/lit/pdf/swra427 
    https://www.ti.com/lit/swra650 

    Regards,
    Ryan

  • Hi Ryan,

    Great, thanks!
    I will study those ...

    BR,
    jukka