LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
64 of 130
Semtech
•
Fdev
defines the deviation frequency (in Hz).
8.5.2 SetPacketParam
The command
SetPacketParam( )
allows to configure the parameters of the RF packet for the selected modem. Since the
parameters are modem dependent, the description hereafter is valid only for the (G)FSK modem.
•
PbLengthTX
defines the length of the (G)FSK packet preamble in bits. Coded on 2 Bytes, from 0x0008 (8 bits) to 0xFFFF
(65535 bits).
•
PblDetect
defines the preamble detector length. The preamble detector acts as a gate to the packet controller, when
different from 0x00 (preamble detector length off), the packet controller will only become active if a certain number of
preamble bits have been successfully detected by the radio.
•
SyncWordLen
defines the length of the Syncword in bits. The Syncword is directly programmed into the device through
the command
SetGfskSyncWord( )
.
0x11
RX_BW_373600 (373.6 kHz DSB)
0x09
RX_BW_467000 (467 kHz DSB)
Table 8-20: SetPacketParam Command
Byte
0
1
2
3
4
5
6
7
8
9
10
Data from Host
0x02
0x10
PbLength
TX(15:8)
PbLength
TX(7:0)
Pbl
Detect
Sync
WordLen
Addr
Comp
Packet
Type
Payload
Len
Crc
Type
DcFree
Data to Host
Stat1
Stat2
Irq
Status
(31:24)
Irq
Status
(23:16)
Irq
Status
(15:8)
Irq
Status
(7:0)
0x00
0x00
0x00
0x00
0x00
Table 8-21: PblDetect: Preamble Detector Length
PblDetect
Description
0x00
Preamble detector length off
0x04
Preamble detector length 8 bits
0x05
Preamble detector length 16 bits
0x06
Preamble detector length 24 bits
0x07
Preamble detector length 32 bits
Table 8-19: Bandwidth Parameter
BWF
Description