LR1121
User Manual Rev 1.1
UM.LR1121.W.APP Mar 2023
77 of 130
Semtech
Proprietary & Confidential
www.semtech.com
8.5.5 SetGfskCrcParams
Command SetGfskCrcParams(...) configures the CRC polynomial and initial value, so they do not need to be
controlled manually.
• InitValue: Initial value of the configured CRC polynomial (default 0x1D0F)
• Poly: CRC polynomial (default Ox1021)
This flexibility permits the user to select any standard CRC or to use their own CRC, allowing a specific detection of a given
packet. Examples:
To use the IBM CRC configuration, the user must select:
• 0xFFFF for the initial value
• 0x8005 for the CRC polynomial
• and 0x02 (CRC_2_BYTE) for the field CrcType in command SetPacketParams(...)
For the CCITT CRC configuration the user must select:
• 0x1D0F for the initial value
• 0x1021 for the CRC polynomial
• and 0x06 (CRC_2_BYTE_INV) for the field CrcType in command SetPacketParams(...)
8.5.6 SetGfskWhitParams
Command SetGfskWhitParams(...) sets the whitening Seed:
• Seed default value is 0x0100
Table 8-18: SetGfskCrcParams Command
Byte 0 1 2 3 4 5 6 7 8 9
Data from Host 0x02 0x24
InitValue
(31:24)
InitValue
(23:16)
InitValue
(15:8)
InitValue
(7:0)
Poly
(31:24)
Poly
(23:16)
Poly
(15:8)
Poly
(7:0)
Data to Host Stat1 Stat2
IrqStatus
(31:24)
IrqStatus
(23:16)
IrqStatus
(15:8)
IrqStatus
(7:0)
0x00 0x00 0x00 0x00
Table 8-19: SetGfskWhitParams Command
Byte 0 1 2 3
Data from Host 0x02 0x025 Seed (15:8) Seed (7:0)
Data to Host Stat1 Stat2 IrqStatus (31:24) IrqStatus (23:16)