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.

Rejoining of protocol slave after out of network range

Part Number: CC8531


Tool/software:

Hello,

I am developing a wireless MIC and USB receiver system using the CC8531 in host-controlled mode (with USB receiver as the protocol master and MIC as the protocol slave).

I need to know about the automatic rejoining of a protocol slave once it goes out of network range.

Is this functionality already available in the "host-controlled operation" of the CC8531, or do we need to code the host controller to perform an NVM_DO_SCAN again to rejoin the network?

If the host controller has to implement this, should the scan be initiated from the USB receiver side or the MIC side?

Please provide some solutions along with reference documents if possible.

  • Hello Mohamed,

    From the CC85XX User's Guide:

    "Host processor is responsible for establishing the networks for protocol masters, and scanning for/pairing to and (re)joining networks for protocol slaves"
    "On protocol slaves, the host processor must manually...join and re-join the desired network at startup and whenever network connection is lost"
    "The protocol slave’s host processor is responsible for providing the network ID when re-joining a network, and is hence also responsible for storing it during any power-down periods. The network ID can be read out from the CC85xx while it is connected to the network, using the NWM_GET_STATUS command, or is already known from scan results (after NWM_DO_SCAN). The NVS_SET_DATA and NVS_GET_DATA commands can be used for network ID storage in order to save EEPROM cost."
    "To re-join an old network, the host processor uses the NWM_DO_JOIN command with the old network ID as input parameter."

    I hope this helps,
    Ryan