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.

CC2652R: CCA Threshold modify

Guru 14820 points
Part Number: CC2652R
Other Parts Discussed in Thread: Z-STACK

How to modify cca threshold in z-stack example for cc2652??

Also is it possible to disable it ??

  • MAP_MAC_MlmeSetReq( MAC_RSSI_THRESHOLD, &rssiThreshold );
  • Hi Dhanraj,

    Dhanraj said:
    How to modify cca threshold in z-stack example for cc2652??

    The threshold value can be changed by altering the RF_cmdIEEERx.ccaRssiThr value in the lower level MAC settings (mac_settings.c).

    Dhanraj said:
    Also is it possible to disable it ??

    By standard, the CCA is part of the PHY management service so disabling it might have implications on lower-level radio settings. We do not have an inheret way of disabling or removing CCA altogether, and therefor do not test what would happen if it were disabled. However, within the function rfSetConfigIee in 'mac_settings.c' aside from being able to change the threshold value you also have the option to change other CCA parameters like ccaOpt. You could try to change the parameters for example setting the macMaxBE, BE, and macMaxCSMABackoffs to zero. Another thing you could try is setting the MAC IEEE Phy Table to MAC_CCA_TYPE_NO_BACKOFF instead of MAC_CCA_TYPE_CSMA_CA.

    Best Regards,

    Marlyn

  • What will be side effect if we disable cca threshold or keep it very high like  -40dbm ??

  • If you disable cca threshold or keep it very high like  -40dbm, the device might do TX even there is another device doing TX and it might cause TX interference.