EasyManuals Logo

ST STM32WL5 Series User Manual

ST STM32WL5 Series
1461 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
Page #191 background imageLoading...
Page #191 background image
RM0453 Rev 1 191/1461
RM0453 Sub-GHz radio (SUBGHZ)
218
Generic Set_PacketParams() command
Set_PacketParams(PbLength,PbDetLength,SynchWordLength,AddrComp,
PktType,PayloadLength,CrcType,Whitening) is used to configure the packet
handling for the sub-GHz radio. When the generic packet is selected with packet type in
Set_PacketType() sent prior to this function, the parameters are interpreted as below.
0123456789
Opcode PbLength[15:0]
PbDetLength[2:0]
SyncWordLength[6:0]
AddrComp[1:0]
PktType
PayloadLength[7:0]
CrcType[2:0]
Whitening
wwwwww
w
ww
w
byte 0 bits 7:0 Opcode: 0x8C.
bytes 2:1 bits 15:0 PbLength[15:0]: Preamble length in number of symbols
0x0000: reserved
0x0001 - 0xFFFF: 1 to 65535 symbols
byte 3 bits 7:3 Reserved, must be kept at reset value.
bits 2:0 PbDetLength[2:0]: Preamble detection length in number of bit symbols
0x0: preamble detection disabled
0x4: 8-bit preamble detection
0x5: 16-bit preamble detection
0x6: 24-bit preamble detection
0x7: 32-bit preamble detection
Others: reserved
byte 4 bit 7 Reserved, must be kept at reset value.
bits: 6:0 SyncWordLength[6:0]: Synchronization word length in number of bit symbols
0x00 - 0x40: 0 to 64-bit synchronization word (synchronization word data
defined in SUBGHZ_GSYNCR[0:7])
Others: reserved
byte 5 bits 7:2 Reserved, must be kept at reset value.
bits: 1:0 AddrComp[1:0]: Address comparison/filtering
0x0: address comparison/filtering disabled
0x1: address comparison/filtering on node address
0x2: address comparison/filtering on node and broadcast addresses
Others: reserved
byte 6 bits 7:1 Reserved, must be kept at reset value.
bit 0 PktType: Packet type definition
0: Fixed payload length and header field not added to packet
1: Variable payload length and header field added to packet
byte 7 bits 7:0 PayloadLength[7:0]: Payload length in number of bytes
0x00- 0xFF: 0 to 255 bytes

Table of Contents

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the ST STM32WL5 Series and is the answer not in the manual?

ST STM32WL5 Series Specifications

General IconGeneral
BrandST
ModelSTM32WL5 Series
CategoryMicrocontrollers
LanguageEnglish

Related product manuals