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.

CC2652P7: Run ZNP as a router and simulate multiple end device through this router on host PC

Part Number: CC2652P7

Hi All,

I want to test maximum connected devices (256) in Zigbee network using CC2652P7 as a Coordinator. The problem is I dont have that much devices on my hand. So I want to use one CC2652P7 module as a ZNP Router, then simulate multiple end devices as Router's children on host PC to send messages to Coordinator.

Is it possible to do it? which step should I follow to achieve this?

Thanks and Regards,

Buong

  • Hi Buong,

    TI does not provide a solution for such a procedure.  It would require joining 200+ simulated devices to the ZC, storing the short addresses of each, and then simulating data packets with the correct short addresses.  It is possible to factory reset a ZED and randomize its IEEE address on each startup, thus simulating multiple device joins on one device, but the issue is that all but the last join will not be able to send data packets.  This may be a situation where you could simulate IEEE data packets with the Proprietary RF stack, or maybe even Smart RF Studio 7 / Radio Test Library, but this would require no small amount of development.

    Regards,
    Ryan

  • Hi Ryan,

    For this solution " It is possible to factory reset a ZED and randomize its IEEE address on each startup, thus simulating multiple device joins on one device, but the issue is that all but the last join will not be able to send data packets". If I use ZNP, whenever ZED join network, I clone zstack network and store that info to host. So for each device already join network, I clone before factory reset and write back on each startup => all ZED can send data packets
    Is it possible? if yes, which NV Memory Required Content I need to clone other than the mentioned items in this report https://www.ti.com/lit/an/swra671/swra671.pdf

    Thanks,

    Buong

  • So you plan to factory reset a single ZED device and continue to program it with different back-up ZED data?  This may work but keep in mind that the ZED device will have to complete a rejoin procedure each time it starts back up.  You may even consider temporarily removing the TCLK update process to make things a little easier for testing. You could possibly only need to replace the ZCD_NV_EXTADDR and ZCD_NV_NIB (assuming no changes to parents, polling, etc.) on the ZED to have it simulate other devices.  You will need to enable the MT Interface on the ZED in order to make this possible.

    For a ZED, the NV information you do not need includes the ZCD_NV_EX_TCLK_TABLE, ZCD_NV_EX_TCLK_IC_TABLE, ZCL_PORT_PROXY_TABLE_NV_ID, and ZCL_PORT_SINK_TABLE_NV_ID among possible others.  Cloning the ZNP will only get you so far, as it is actually the ZED that needs to have it's NV information changed.  I have not tested this App Note with a ZED before.

    Regards,
    Ryan