RM0453
offset. The offset is auto incremented after each byte. When the offset exceeds the value
255, it is wrapped around to 0 (providing a 256 byte circular buffer).
0
Opcode
w
byte 0
byte 1
byte 2
byte 3
...
byte n+3
5.8.3
Operating mode commands
Set_Sleep() command
Set_Sleep(SleepCfg) is used to set the sub-GHz radio in Sleep mode. This command is
only accepted in Standby mode. The SleepCfg parameter allows some optional functions to
be maintained in Sleep mode.
byte 0
byte 1
1
Offset[7:0]
Status[7:0]
w
bits 7:0 Opcode: 0x1E
bits 7:0 Offset[7:0]: first read address offset
bits 7:0 Status[7:0]: see
bits 7:0 Data0[7:0]: data read from offset address
...
bits 7:0 Datan[7:0]: data read from offset address + n (n = number of bytes to read)
0
Opcode
w
bits 7:0 Opcode: 0x84
bits 7:3 Reserved, must be kept at reset value.
bit 2 SleepCfg_Start: Sub-GHz radio startup selection
0: cold startup when exiting Sleep mode, configuration registers reset
1: warm startup when exiting Sleep mode, configuration registers kept in
retention
Note: Only the configuration of the activated modem, before going to Sleep
mode, is retained. The configuration of the other modes is lost and must
be re-configured when exiting Sleep mode.
bit 1 Reserved, must be kept at reset value.
bit 0 SleepCfg_RTCEn: Sub-GHz radio RTC wakeup enable
0: Sub-GHz radio RTC wakeup disabled
1: Sub-GHz radio RTC wakeup enabled
RM0453 Rev 2
2
3
Data0[7:0]
r
r
Get_Status() command
Sub-GHz radio (SUBGHZ)
...
n+3
...
Datan[7:0]
r
r
1
SleepCfg
w
177/1454
217
Need help?
Do you have a question about the STM32WL55JC and is the answer not in the manual?