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.

CC2652P: Channel scanning and Network Formation

Part Number: CC2652P


Hi,

I'm writing to understand more how is the channel selected during network formation. 

From the known test environment condition (office environment with Wifi network) and based on our test result, CH26 has the best performance in terms of lowest PER. We have done a few test to identify these PER is coming from environment interference.

However, when we do not limit the primary channel mask of channel (i,e allow channel scanning from CH11 to CH26) during network formation, usually a mid channel is selected instead of CH26.

I would like to seek advice on where can I find information on what are the criteria and sequence of event during network formation to determine the channel to use, and why wasn't CH26 selected when we perform the scan for all channels in our test environment.

Is it possible to print out the energy detected for each channel during scanning?

SDK we're using is 8.31.00.11 for information.

Seek your advices.

 

Thank you.

 

  • Hi TT,

    Commissioning will use NLME_NetworkFormationRequest to determine the channel to form the network on based on scan duration for each channel (nwk_ScanPANChanSelect).  It is possible to use ZMacScanReq() with MAC_MLME_SCAN_CNF / ZMacScanCnf_t callback, or NLME_EDScanRequest and ZDNwkMgr_EDScanConfirmCB / ZDNwkMgr_ProcessEDScanConfirm, to perform a network scan and receive energy detect measurements.  These are ultimately a MAC_MlmeScanReq and MAC_API_SCAN_REQ_EVT from the MAC radio layer.  You can alter the zstack_bdbSetAttrReq.bdbPrimaryChannelSet before starting the network.

    Regards,
    Ryan