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.

CC1352R: Sensor Not joining the network if the previous code of collector is uploaded on device

Part Number: CC1352R
Other Parts Discussed in Thread: CC1352P7

Hello,

we are working on implementing the self-healing network without using multiple masters. The method we are using is, If the master/collector is offline due to some problem than the nearest sensor will take the role of master. In this regard, we are using the bim (Boot Image Manager) to switch between master and Sensor firmware. So, the problem is when we switch to the controller firmware devices won't join the network. I think it is due to the Network parameters in the NVS.

I have also tried erasing the network parameters using

/*clear all NV */
Csf_clearAllNVItems(); // on collector firmware 

and

/* clear all NV */
Ssf_clearAllNVItems();

but no luck in getting the devices to join and create a network. every suggestion is much appreciated

Regards, 
Hamza

  • Hi Hamza,

    Did you see our app note on using multiple gateways?

    https://www.ti.com/lit/swra734

    I would recommend you to look at the implementation of the network dissociation which shows you how to reset all the network information.

    Cheers,

    Marie H

  • Hello Marie H,
    Yes, I read this document and I couldn't find the answer to the issue I am facing. My project is based on dmm_154X_remote_display_oad_app_LP_CC1352P7_1_tirtos7_ticlang. and the SDK I am using is simplelink_cc13xx_cc26xx_sdk_7_10_00_98
    The communication between the sensor and the collector is working I can send and receive messages. The only issue is when I switch the code of the sensor to master then It won't work.
    I couldn't find anything that can help in the document you shared./

    regards,
    Hamza

  • Hi Hamza,

    If you add the network dissociation code snippets from the app note you should be able to to connect to the new network.

    Cheers,

    Marie H