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

Macros

#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   0
 

Detailed Description

Macro Definition Documentation

#define NRF_802154_CSMA_CA_ENABLED   1

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

#define NRF_802154_CSMA_CA_MAX_BE   5

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

#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 (IEEE 802.15.4-2015: 6.2.5.1).

#define NRF_802154_CSMA_CA_WAIT_FOR_TIMESLOT   0

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

Note
When this option is enabled, the CSMA-CA procedure may be synchronized with timeslots of other protocols. It decreases robustness of the CSMA-CA procedure and is not recommended. This option may be used as a workaround to problems with higher layers that do not correctly handle multiple CHANNEL_BUSY errors in a row. This potentially problematic situation may happen during activity of other protocols.

Documentation feedback | Developer Zone | Subscribe | Updated