LR1110
User Manual
Rev.1.0
UM.LR1110.W.APP
March 2020
26 of 130
Semtech
ErrorStat contains all the possible error flags that could occur during different chip operations:
•
bit 0: LF_RC_CALIB_ERR. Calibration of the low frequency RC has not been done. To fix it try redoing a calibration.
•
bit 1: HF_RC_CALIB_ERR. Calibration of the high frequency RC has not been done. To fix it try redoing a calibration.
•
bit 2: ADC_CALIB_ERR. Calibration of the ADC has not been done. To fix it try redoing a calibration.
•
bit 3: PLL_CALIB_ERR. Calibration of the 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 re do 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 the ADC offset could not been done. To fix it redo a calibration.
•
bit 9-15: RFU.
3.5.2 ClearErrors
The command
ClearErrors( )
clears all errors flags pending in the device. The error flags cannot be cleared individually.
Table 3-3: GetErrors Command
Byte
0
1
Data from Host
0x01
0x0D
Data to Host
Stat1
Stat2
Table 3-4: GetErrors Response
Byte
0
1
2
Data from Host
0x00
0x00
0x00
Data to Host
Stat1
ErrorStat(15:8)
ErrorStat(7:0)
Table 3-5: ClearErrors Command
Byte
0
1
Data from Host
0x01
0x0E
Data to Host
Stat1
Stat2