8.5.7 GetPacketStatus
Command GetPacketStatus(...) gets the status of the last received packet. Since the returned values are modem
dependent, the description hereafter is valid only for the (G)FSK modem.
Table 8-20: GetPacketStatus Command
Byte
Data from Host
Data to Host
Table 8-21: GetPacketStatus Response
Byte
Data from Host
Data to Host
•
RxStatus bits are as follows:
Bits 31:24: RssiSync, RSSI values latched upon the detection of sync address. Negated, dBm, ufix(8,1).
Bits 23:16 RssiAvg, RSSI average over the payload of the received packet. Latched upon the packet_done IRQ.
Negated, dBm, ufix(8,1).
Bits 15:8 RxLen, Length of the received packet
Bit 7: RFU
Bit 6: RFU
Bit 5: Adrserr, Address filtering status of current packet. Asserted when the received packet address byte doesn't
match the configured node_adrs(7:0) or broadcast(7:0) address according to the adrs_comp(1:0) configuration.
Bit 4: Crcerr, CRC check status of the current packet. Only applicable in Rx when the CRC check is not disabled. The
packet is available in FIFO.
Bit 3: Lenerr, Length filtering status of the current packet. Asserted when the length of the received packet is greater
than the Max length defined in the payload_len(7:0) field. Only applicable in Rx for variable length packets.
Bit 2: Aborterr, Abort status of the current packet. Asserted when the current packet is aborted with the pkt_abort_p
register field. Applicable in both Rx and Tx.
Bit 1: PktRcvd, Packet reception status. Indicates that the packet reception is done. Only show the completion of the
receive process and not the packet validity. Only applicable in Rx.
Bit 0: PktSent, Packet transmission status. Indicates that the packet transmission is done. Only applicable in Tx.
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x02
Stat1
0
1
0x00
0x00
RxStatus
Stat1
(31:24)
www.semtech.com
1
0x04
Stat2
2
3
0x00
0x00
RxStatus
RxStatus
(23:16)
(15:8)
4
0x00
RxStatus
(7:0)
78 of 130
Semtech
Proprietary & Confidential