Basic Sequence For Bpsk Transmit Operation; Sub-Ghz Radio Registers; Sub-Ghz Radio Ramp-Up Msb Register (Subghz_Ram_Rampuph) - STMicroelectronics STM32WLEx Reference Manual

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

Advertisement

RM0461
4.9.3

Basic sequence for BPSK transmit operation

The sub-GHz radio can be set in BPSK transmit operation mode by the following steps:
1.
Define the location of the transmit payload data in the data buffer, with
Set_BufferBaseAddress()
2.
Write the packet data (synchronization word, payload data) to the transmit data buffer
with Write_Buffer().
3.
Select the packet type (BPSK) with Set_PacketType().
4.
Define the frame format with Set_PacketParams().
5.
Define the RF frequency with Set_RfFrequency().
6.
Define the PA configuration with Set_PaConfig().
7.
Define the PA output power and ramping with Set_TxParams().
8.
Define the modulation parameters with Set_ModulationParams().
9.
Enable TxDone and Timeout interrupts by configuring IRQ with Cfg_DioIrq().
10. Start the transmission by setting the sub-GHz radio in TX mode with Set_Tx(). After
the transmission is finished, the sub-GHz radio enters automatically the Standby mode.
11. Wait for sub-GHz radio IRQ interrupt and read interrupt status with
Get_IrqStatus():
a)
b)
12. Clear interrupt with Clr_IrqStatus().
13. Optionally, send a Set_Sleep() command to force the sub-GHz radio in Sleep mode.
4.10

Sub-GHz radio registers

The sub-GHz radio peripheral registers can be accessed by sub-GHz radio command
Write_Register() and Read_Register().
4.10.1

Sub-GHz radio ramp-up MSB register (SUBGHZ_RAM_RAMPUPH)

Address offset: 0x0F0
Reset value: 0x00
7
6
rw
rw
Bits 7:0 RAMPUP[15:8]: Ramp-up MSB bits
On a TxDone interrupt, the packet is successfully sent.
On a timeout interrupt, the transmission is timed out.
5
rw
4
3
RAMPUP[15:8]
rw
rw
RM0461 Rev 5
Sub-GHz radio (SUBGHZ)
2
1
rw
rw
0
rw
161/1306
181

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?

Table of Contents