CC2430
Radio : Interrupts
processing this type of interrupt as described
below.
The interrupt flags in SFR register RFIFshow
the status for each interrupt source for the RF
interrupt vector.
To clear the RF interrupt, S1CON.RFIF and
the interrupt flag in RFIFneed to be cleared. If
more than one interrupt source generates an
interrupt the source that was not cleared will
generate another interrupt after completing the
interrupt service routine (ISR). A RFIF flag that
was set and was not cleared during ISR will
create another interrupt when ISR completed.
If no individual knowlage of which interrupt
caused the ISR to be called, all RFIF flags
should be cleared.
The interrupt enable bits in RFIM are used to
disable individual interrupt sources for the RF
interrupt vector. Note that masking an interrupt
source in RFIM does not affect the update of
the status in the RFIFregister.
Due to the use of the individual interrupt
masks in RFIM, and the main interrupt mask
for the RF interrupt given by IEN2.RFIEthere
is two-layered masking of this interrupt.
Special attention needs to be taken when
RFIF (0xE9) – RF Interrupt Flags
Bit
Name
Reset
R/W
Description
Voltage regulator for radio has been turned on
7
0
R/W0
IRQ_RREG_ON
0
1
No interrupt pending
Interrupt pending
6
5
0
0
R/W0
R/W0
TX completed with packet sent. Also set for acknowledge frames if RF
register IRQSRC.TXACK is 1
IRQ_TXDONE
IRQ_FIFOP
0
1
No interrupt pending
Interrupt pending
Number of bytes in RXFIFO is above threshold set by
IOCFG0.FIFOP_THR
0
1
No interrupt pending
Interrupt pending
4
3
2
1
0
0
0
0
0
0
R/W0
R/W0
R/W0
R/W0
R/W0
Start of frame delimiter (SFD) has been detected
IRQ_SFD
0
1
No interrupt pending
Interrupt pending
Clear channel assessment (CCA) indicates that channel is clear
IRQ_CCA
0
1
No interrupt pending
Interrupt pending
CSMA-CA/strobe processor (CSP) wait condition is true
IRQ_CSP_WT
IRQ_CSP_STOP
IRQ_CSP_INT
0
1
No interrupt pending
Interrupt pending
CSMA-CA/strobe processor (CSP) program execution stopped
0
1
No interrupt pending
Interrupt pending
CSMA-CA/strobe processor (CSP) INT instruction executed
0
1
No interrupt pending
Interrupt pending
CC2430 Data Sheet (rev. 2.1) SWRS036F
Page 156 of 211