Tasks and events are used to control the operating state of RADIO when in RX mode or TX mode.
RADIO can enter the states described in the following table.
Table 3. RADIO state diagram
State
Description
DISABLED
No operations are going on inside RADIO and the power consumption is at a
minimum
RXRU
RADIO is ramping up and preparing for reception
RXIDLE
RADIO is ready for reception to start
RX
Reception has been started and the addresses enabled in the RXADDRESSES register are
being monitored
TXRU
RADIO is ramping up and preparing for transmission
TXIDLE
RADIO is ready for transmission to start
TX
RADIO is transmitting a packet
RXDISABLE
RADIO is disabling the receiver
TXDISABLE
RADIO is disabling the transmitter
A state diagram showing an overview of RADIO is shown in the following figure.
Figure 7. Radio states
This figure shows how the tasks and events relate to the RADIO peripheral's operation. RADIO
does not prevent a task from being triggered from the wrong state. For example, if the RXEN task is triggered from the RXDISABLE state, this may lead
to unpredictable behavior. The PAYLOAD event is always
generated, even if the payload is zero.
The END to START shortcut should not be used with IEEE 802.15.4 250 kbps mode. Use
the PHYEND to START shortcut instead.
The END to START shortcut should not be used with Long Range (125 kbps and 500 kbps)
Bluetooth Low Energy modes. Use the PHYEND to START shortcut instead.