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.

RF2480 save address

Hi guys

I'm working with the eZ430-RF2480 evaluation kit.

can someone please explain how can I save the node address so at the next power-up each node can retain it's old address?

I'm building application of temperature sensor net that needs to work for several years on the site with minimum maintenance.

my problem is that after the first deployment of the network, each node need to maintained their address so even after power
failure the network will work as before.

Thanks,

 

  • I believe this capability exists already in the CC2480.  The CC2480 Interface Specification (http://focus.ti.com/lit/er/swra175a/swra175a.pdf) discusses a configuration register which allows the host to startup the CC2480 in one of three ways.  This is detailed in Section 6.2.3 of the document.
    The ZCD_NV_STARTUP_OPTION parameter specifies if the CC2480 should:

    1) Overwrite all configuration parameters with "default" values, to place the device in a known state.
    2) Clear previous network state, which is used to allow the host processor to decide to remove the CC2480 from the existing network.
    3) Allows the device to maintain its network state.

    I believe you are asking for option #3.  A scenario is mentioned later in the above document in Section 7.  Please see Scenario #2.

    If I have not addressed your concerns, please provide additional details to help frame the discussion.

  • Brandon thanks for your comments, but I'm still having problems to do it (in the sample code).

    if I configure the device according scenario #2 (that is the case I'm looking for) then I have some quastions:

    1. do the host (MSP430) need to read its device and network configuration (ZCD_NV_LOGICAL_TYPE, ZCD_NV_PANID, ZCD_NV_CHANLIST) ? or just leave them untouched?

    2. what is the "ZCD_STARTOPT_AUTO_START" represent?

    3. if my COORDINATOR unplug from the net then it come back has ROUTER. why is that?

    thats all for now.

    thanks

    narkisg

  • giladn said:

    1. do the host (MSP430) need to read its device and network configuration (ZCD_NV_LOGICAL_TYPE, ZCD_NV_PANID, ZCD_NV_CHANLIST) ? or just leave them untouched?


    Do you have a need for the MSP430 to read these parameters if you are essentially telling the CC2480 to remove itself from the network.  This is dependent on your application needs.


    giladn said:

    2. what is the "ZCD_STARTOPT_AUTO_START" represent?

    It is my understanding this tells the CC2480 to start the ZigBee stack after it initializes, rather than wait for the host to initiate this with the ZB_START_REQUEST.


    giladn said:

    3. if my COORDINATOR unplug from the net then it come back has ROUTER. why is that?

    I'm not sure I understand your question.  Is this a behavior you are observing?  A coordinator is also a router, with the additional capability of starting a network.  There is another post about this which I have copied below.
    https://community.ti.com/forums/p/392/1079.aspx#1079