LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
67 of 130
Semtech
This flexibility permits the user to select any standard CRC or to use his own CRC allowing a specific detection of a given
packet. Examples:
To use the IBM CRC configuration, the user must select:
•
0x8005 for the CRC polynomial
•
0xFFFF for the initial value
•
CRC_2_BYTE for the field CrcType in the command
SetPacketParam( )
For the CCITT CRC configuration the user must select:
•
0x1021 for the CRC polynomial
•
0x1D0F for the initial value
•
CRC_2_BYTE_INV for the field CrcType in the command
SetPacketParam( )
8.5.6 SetGfskWhitParams
The command
SetGfskWhitParams
( ) allows setting the whitening Seed:
8.6 Data Buffer
The LR1110 is equipped with two 255 Bytes RAM data buffers which are accessible in all modes except sleep mode. One
buffer stores the received payloads data, while the other is intended to contain the payload data to be transmitted.
The LR1110 automatically control the data pointers, which means that no Base Address handling by the user is necessary.
8.6.1 Data Buffer in Receive Mode
The received payload data are stored in the RX Buffer, and can be read back using the command
ReadBuffer8( )
. The pointer
to the first byte of the last packet received and the packet length can be read with the command
GetRxbufferStatus( ).
ClearRxBuffer( ) clears all the data in the LR1110 RX buffer
8.6.1.1 GetRxBufferStatus
The command GetRxBufferStatus( ) gets the length of the last received packet and the offset in the RX buffer of the first byte
Table 8-29: 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)