Communication Status Information Commands - STMicroelectronics STM32WLEx Reference Manual

Advanced arm-based 32-bit mcus with sub-ghz radio solution
Table of Contents

Advertisement

Sub-GHz radio (SUBGHZ)
4.8.5

Communication status information commands

Get_Status() command
Get_Status(Status) can be issued at any time.
byte 0
byte 1
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).
Opcode
byte 0
byte 1
byte 2
byte 3
148/1306
0
Opcode
w
bits 7:0 Opcode: 0xC0
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.
0
Status[7:0]
w
bits 7:0 Opcode: 0x13.
bits 7:0 Status[7:0]: see
bits 7:0 RxPayloadLenght[7:0]: indicate the number of bytes received in the last
received packet
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
1
RxPayloadLength[7:0]
r
Get_Status()
command.
RM0461 Rev 5
1
Status[7:0]
r
2
RxBufferPointer[7:0]
r
RM0461
3
r

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the STM32WLEx and is the answer not in the manual?

Questions and answers

Table of Contents