Enablespicrc; Table 3-17: Enablespicrc Command - Semtech LR1121 User Manual

Table of Contents

Advertisement

3.7.8 EnableSpiCrc

This command enables / disables an 8-bit CRC on the Serial Peripheral Interface.
CRC generation uses a polynomial generator 0x65 (reversed reciprocal), initial value 0xFF. The CRC is calculated on all data
received on the MOSI signal (including Opcode) and on all data sent on the MISO signal (including all status).
This command is always protected by the CRC:
To enable the CRC, the CRC must already be appended in this command. As an example: the whole command to
enable is 0x01 0x28 0x01 0x20.
To disable the CRC, the CRC must be appended to the command since it is still enabled. As an example: the whole
command to disable is 0x01 0x28 0x00 0x1C.

Table 3-17: EnableSpiCrc Command

Byte
Data from Host
Data to Host
Enable: enables / disables an 8-bit CRC on the SPI interface.
0: Disabled. No CRC is expected or sent on the SPI (default).
1: Enabled. A CRC is expected and sent on the SPI.
Other values are RFU.
CRC: cyclic redundancy check.
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x01
0x28
Stat1
Stat2
www.semtech.com
1
2
Enable
IrqStatus (31:24)
3
CRC
IrqStatus (23:16)
34 of 130
Semtech
Proprietary & Confidential

Advertisement

Table of Contents
loading

Table of Contents