Errors; Geterrors; Clearerrors; Table 3-4: Geterrors Command - Semtech LR1121 User Manual

Table of Contents

Advertisement

3.6 Errors

3.6.1 GetErrors

Command GetErrors(...) returns the pending errors that occurred since the last ClearErrors(...), or the circuit startup.
It is possible to generate an interrupt on DIO9 or DIO11 when an error occurs. The error cannot be masked.

Table 3-4: GetErrors Command

Byte
Data from Host
Data to Host

Table 3-5: GetErrors Response

Byte
Data from Host
Data to Host
ErrorStat contains all the possible error flags that could occur during chip operations:
Bit 0: LF_RC_CALIB_ERR. Calibration of low frequency RC was not done. To fix it redo a calibration.
Bit 1: HF_RC_CALIB_ERR. Calibration of high frequency RC was not done. To fix it redo a calibration.
Bit 2: ADC_CALIB_ERR. Calibration of ADC was not done. To fix it redo a calibration.
Bit 3: PLL_CALIB_ERR. Calibration of maximum and minimum frequencies was not done. To fix it redo the PLL
calibration.
Bit 4: IMG_CALIB_ERR. Calibration of the image rejection was not done. To fix it redo the image calibration.
Bit 5: HF_XOSC_START_ERR. High frequency XOSC did not start correctly. To fix it redo a reset, or send
SetTcxoCmd(...) if a TCXO is connected and redo calibrations.
Bit 6: LF_XOSC_START_ERR. Low frequency XOSC did not start correctly. To fix it redo a reset.
Bit 7: PLL_LOCK_ERR. The PLL did not lock. This can come from too high or too low frequency configuration, or if the
PLL was not calibrated. To fix it redo a PLL calibration, or use other frequencies.
Bit 8: RX_ADC_OFFSET_ERR. Calibration of ADC offset was not done. To fix it redo a calibration.
Bit 9-15: RFU.

3.6.2 ClearErrors

Command ClearErrors(...) clears all errors flags pending in the device. The error flags cannot be cleared individually.

Table 3-6: ClearErrors Command

Byte
Data from Host
Data to Host
LR1121
User Manual
Rev 1.1
UM.LR1121.W.APP
Mar 2023
0
0x01
Stat1
0
0x00
Stat1
0
0x01
Stat1
www.semtech.com
1
0x0D
Stat2
1
0x00
ErrorStat(15:8)
1
0x0E
Stat2
2
0x00
ErrorStat(7:0)
30 of 130
Semtech
Proprietary & Confidential

Advertisement

Table of Contents
loading

Table of Contents