RM0453 Rev 5 197/1450
RM0453 Sub-GHz radio (SUBGHZ)
227
Reset_Stats() command
Reset_Stats(0x00,0x00,0x00,0x00,0x00,0x00) resets the received packet
statistics as reported in Get_Stats() (NbPktReceived, NbPktCrcError, NbPktlengthError
and NbPktHeaderError).
5.8.6 IRQ interrupt commands
There are three IRQ interrupts that can be mapped to several sub-GHz radio interrupt
sources. The source of an interrupt is determined by reading the device status. Interrupts
are cleared using Clr_IrqStatus().
There are 10 possible interrupt sources used depending on the packet type and operating
mode. Each of these interrupt sources can be enabled or masked and mapped on any of the
IRQ interrupts.
A set of commands is used to configure and control the IRQ sources and interrupt
generation
bytes 7:6 bits 15:0 NbPktHeaderError[15:0]: Number of packets received with a header CRC
error
0123456
Opcode 0x00 0x00 0x00 0x00 0x00 0x00
wwwwwww
byte 0 bits 7:0 Opcode: 0x0
byte 1 bits 7:0 0x0
byte 2 bits 7:0 0x0
byte 3 bits 7:0 0x0
byte 4 bits 7:0 0x0
byte 5 bits 7:0 0x0
byte 6 bits 7:0 0x0
Table 37. IRQ bit mapping and definition
Bit Source Description Packet type Operation
0 TxDone Packet transmission finished LoRa and GFSK Tx
1 RxDone Packet reception finished LoRa and GFSK Rx
2 PreambleDetected Preamble detected LoRa and GFSK Rx
3 SyncDetected Synchronization word valid GFSK Rx
4 HeaderValid Header valid LoRa Rx
5 HeaderErr Header CRC error LoRa Rx
6
Err
preamble, syncword, address,
CRC or length error
GFSK Rx
CrcErr CRC error LoRa Rx