nRF5 SDK for Thread and Zigbee v4.2.0
CSMA/CA procedure configuration


#define NRF_802154_CSMA_CA_ENABLED   1
#define NRF_802154_CSMA_CA_MIN_BE   3
#define NRF_802154_CSMA_CA_MAX_BE   5
#define NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS   4
#define NRF_802154_CSMA_CA_WAIT_FOR_TIMESLOT   1

Detailed Description

Macro Definition Documentation

#define NRF_802154_CSMA_CA_ENABLED   1

If CSMA-CA is to be enabled by the driver. Disabling CSMA-CA improves the driver performance.

#define NRF_802154_CSMA_CA_MAX_BE   5

The maximum value of the backoff exponent, BE, in the CSMA-CA algorithm (see IEEE 802.15.4-2015:

#define NRF_802154_CSMA_CA_MAX_CSMA_BACKOFFS   4

The maximum number of backoffs that the CSMA-CA algorithm will attempt before declaring a channel access failure.

#define NRF_802154_CSMA_CA_MIN_BE   3

The minimum value of the backoff exponent (BE) in the CSMA-CA algorithm (see IEEE 802.15.4-2015:

#define NRF_802154_CSMA_CA_WAIT_FOR_TIMESLOT   1

Indicates whether the CSMA-CA algorithm waits for an available timeslot before it performs the CCA procedure.

When this option is enabled, the CSMA-CA procedure can be synchronized with timeslots of other protocols. This decreases the robustness of the CSMA-CA procedure. On the other hand, enabling this function increases the performance of multi-protocol applications, especially when protocols other than 802.15.4 use much of the radio time (like the BLE scanning operation).

Documentation feedback | Developer Zone | Subscribe | Updated