Sub-GHz radio (SUBGHZ) RM0453
194/1450 RM0453 Rev 5
5.8.5 Communication status information commands
Get_Status() command
Get_Status(Status) can be issued at any time.
Get_RxBufferStatus() command
Get_RxBufferStatus(Status, RxPayloadLength, RxBufferPointer) returns
the sub-GHz radio status, the length of the last received packet (RxPayloadLength) and the
buffer address of the first received payload byte (RxBufferPointer).
01
Opcode Status[7:0]
wr
byte 0 bits 7:0 Opcode: 0xC0
byte 1 bit 7 Reserved, must be kept at reset value.
bits 6:4 Status_Mode[2:0] sub-GHz radio operating mode
0x2: Standby mode with RC 13 MHz
0x3: Standby mode with HSE32
0x4: FS mode
0x5: RX mode
0x6: TX mode
Others: reserved
bits 3:1 Status_CmdStatus[2:0]: Command status
0x2: data available to host (packet received successfully and data can be
retrieved)
0x3:command time out (command took too long to complete triggering a sub-
GHz radio watchdog timeout)
0x4:command processing error (invalid opcode or incorrect number of
parameters)
0x5:command execution failure (command successfully received but cannot
be executed at this time, requested operating mode cannot be entered or
requested data cannot be sent)
0x6: transmit command completed (current packet transmission completed)
Others: reserved
bit 0 Reserved, must be kept at reset value.
0123
Opcode Status[7:0] RxPayloadLength[7:0] RxBufferPointer[7:0]
wrrr
byte 0 bits 7:0 Opcode: 0x13.
byte 1 bits 7:0 Status[7:0]: see Get_Status() command.
byte 2 bits 7:0 RxPayloadLenght[7:0]: indicate the number of bytes received in the last
received packet
byte 3 bits 7:0 RxBufferPointer[7:0]: indicates the offset in the RAM data buffer where the first
byte of the last received packet is stored