EasyManua.ls Logo

STMicroelectronics STM32WL5 Series - Page 195

STMicroelectronics STM32WL5 Series
1450 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
RM0453 Rev 5 195/1450
RM0453 Sub-GHz radio (SUBGHZ)
227
(G)FSK Get_PacketStatus() command
Get_PacketStatus(Status, RxStatus, RssiSync, RssiAvg) returns information
on the last received packet. Depending on the selected packet type in Set_PacketType()
sent prior to this function, the parameters for generic packets are interpreted as below.
LoRa Get_PacketStatus() command
Get_PacketStatus(Status, RssiPkt, SnrPkt, SignalRssiPkt) returns
information on the last received packet. Depending on the selected packet type in
Set_PacketType() sent prior to this function, the parameters for LoRa packets are
interpreted as below.
01234
Opcode Status[7:0] RxStatus[7:0] RssiSync[7:0] RssiAvg[7:0]
wr r r r
byte 0 bits 7:0 Opcode: 0x14
byte 1 bits 7:0 Status[7:0]: see Get_Status() command
byte 2 bit 7 RxStatus_PreambleErr: Set when a preamble error occurred
bit 6 RxStatus_SyncErr: Set when a synchronization error occurred
bit 5 RxStatus_AdrsErr: Set when an address error occurred
bit 4 RxStatus_CrcErr: Set when a crc error occurred
bit 3 RxStatus_LengthErr: Set when a length error occurred
bit 2 RxStatus_AbortErr: Set when an abort error occurred
bit 1 RxStatus_PktReceived: Set when a packet is received
bit 0 RxStatus_PktSent: Set when a packet has been sent
byte 3 bits 7:0 RssiSync[7:0]: RSSI level when the synchronization address is detected
Signal power = -RssiSync / 2 (in dBm)
byte 4 bits 7:0 RssiAvg[7:0]: Average RSSI level over the received packet
Signal power = -RssiAvg / 2 (in dBm)
01234
Opcode Status[7;0] RssiPkt[7:0] SnrPkt[7:0] SignalRssiPkt
wr r r r
byte 0 bits 7:0 Opcode: 0x14
byte 1 bits 7:0 Status[7:0]: see Get_Status() command
byte 2 bits 7:0 RssiPkt[7:0]: Average RSSI level over the received packet
Signal power = - RssiPkt / 2 (in dBm)
byte 3 bits 7:0 SnrPkt[7:0]: Estimation of SNR over the received packet
SNR = SnrPkt / 4 (in dB)
byte 4 bits 7:0 SignalRssiPkt[7:0]: Estimation of RSSI level of the LoRa signal after
despreading
Signal power = - SignalRssiPkt / 2 (in dBm)

Table of Contents

Related product manuals