Readbuffer8; Clearrxbuffer; Getrandomnumber; Table 3-12: Readbuffer8 Command - Semtech LR1121 User Manual

Table of Contents

Advertisement

3.7.5 ReadBuffer8

Command ReadBuffer8(...) reads a block of Len bytes in the radio RX buffer starting at a specific Offset. RX buffer must
be implemented as a ring buffer.

Table 3-12: ReadBuffer8 Command

Byte
Data from Host
Data to Host

Table 3-13: ReadBuffer8 Response

Byte
0
Data from Host
0x00
Data to Host
Stat1

3.7.6 ClearRxBuffer

Command ClearRxBuffer(...) clears all data in the radio RX buffer. It writes '0' over the whole Rx buffer. It is mainly
used for debug purposes to ensure the data in the RX buffer is not from the previous packet.

Table 3-14: ClearRxBuffer Command

Byte
Data from Host
Data to Host

3.7.7 GetRandomNumber

This command gets a 32-bit random number. This is not used for security purposes.

Table 3-15: GetRandomNumber Command

Byte
Data from Host
Data to Host

Table 3-16: GetRandomNumber Response

Byte
0
Data from Host
0x00
Data to Host
Stat1
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x01
0x0A
Stat1
Stat2
1
0x00
0x00
Data1
Data2
0
0x01
Stat1
0
0x01
Stat1
1
0x00
RandomNo(31:24)
RandomNo(23:16)
www.semtech.com
1
2
Offset (7:0)
IrqStatus (31:24)
2
3
0x00
Data3
1
0x0B
Stat2
1
0x20
Stat2
2
0x00
RandomNo(15:8)
3
Len (7:0)
IrqStatus (23:16)
...
N
...
0x00
...
DataN
3
4
0x00
0x00
RandomNo(7:0)
Proprietary & Confidential
33 of 130
Semtech

Advertisement

Table of Contents
loading

Table of Contents