CMT2380F64
www. cmostek. com
58 / 83
Table 4-3. CMT 2380F64 interrupt mapping
Name
INT1_SEL
Descriptions
Clearing
methods
RX_ACTIVE
00000
Indicates the chip is entering RX and already in RX. It is 1 in PLL tuning
and RX state while 0 in other states.
Auto
TX_ACTIVE
00001
Indicates the chip is entering TX and already in TX. It is 1 in PLL tuning
and RX state while 0 in other states.
Auto
RSSI_VLD
00010
Indicates whether the RSSI is active.
Auto
PREAM_OK
00011
Indicates that the Preamble is received successfully.
by MCU
SYNC_OK
00100
Indicates that the Sync Word is received successfully.
by MCU
NODE_OK
00101
Indicates that the Node ID is received successfully.
by MCU
CRC_OK
00110
Indicates that the CRC for the current packet is correct.
by MCU
PKT_OK
00111
Indicates that a packet has been received.
by MCU
SL_TMO
01000
Indicates that the SLEEP counter timed out.
by MCU
RX_TMO
01001
Indicates that the RX counter timed out.
by MCU
TX_DONE
01010
Indicates that the TX operation is completed.
by MCU
RX_FIFO_NMTY
01011
Indicates that the RX FIFO is not empty.
Auto
RX_FIFO_TH
01100
Indicates the number of unread bytes of the RX FIFO is over FIFO TH
Auto
RX_FIFO_FULL
01101
Indicates RX FIFO is full.
Auto
RX_FIFO_WBYTE
01110
Indicates each time a byte is written to the RX FIFO.It is a pulse.
Auto
RX_FIFO_OVF
01111
Indicates RX FIFO is overflow
Auto
TX_FIFO_NMTY
10000
Indicates that TX FIFO is not empty
Auto
TX_FIFO_TH
10001
Indicates the number of unread bytes of the TX FIFO is over FIFOTH.
Auto
TX_FIFO_FULL
10010
Indicates TX FIFO is full.
Auto
STATE_IS_STBY
10011
Indicates that the current state is STBY.
Auto
STATE_IS_FS
10100
Indicates that the current state is RFS or TFS.
Auto
STATE_IS_RX
10101
Indicates that the current state is RX.
Auto
STATE_IS_TX
10110
Indicates that the current state is TX.
Auto
LBD
10111
Indicates that low battery is detected (VDD is lower than TH)
Auto
TRX_ACTIVE
11000
Indicates the chip is entering TX or RX and is already in TX or RX. It is 1
in PLL tuning, TX or RX state while it is 0 in the otherstates.
Auto
PKT_DONE
11001
Indicates that the current packet has been received, covering 4 possible
different situations.
1.
The packet is received completely and correctly.
2.
Manchester decoding error. Decoder is automatically reset.
3.
NODE ID receiving error. Decoder is automatically reset.
Signal collision occurred. Decoder is not reset, waiting for MCU to
response.
by MCU
By default, interrupt is active high (logic1 is valid). Users can set the INT_POLAR register bit to 1 to make all interrupts active low
(logic 0 is valid). Taking INT 1 as an example, the control and sources selection of all the available interrupts is shown below. The
control and mapping of INT 1 and INT 2 are the same.