LR1121
User Manual Rev 1.1
UM.LR1121.W.APP Mar 2023
4 of 130
Semtech
Proprietary & Confidential
www.semtech.com
3.7.8 EnableSpiCrc ......................................................................................................................... 34
4. GPIOs................................................................................................................................................................. 35
4.1 Interrupts ............................................................................................................................................ 35
4.1.1 SetDioIrqParams.................................................................................................................. 37
4.1.2 ClearIrq.................................................................................................................................... 37
4.2 RF Switch Control ............................................................................................................................ 38
4.2.1 SetDioAsRfSwitch................................................................................................................ 38
4.2.2 DriveDiosInSleepMode ..................................................................................................... 39
4.3 Temperature Sensor ....................................................................................................................... 40
4.3.1 GetTemp................................................................................................................................. 40
5. Power Distribution....................................................................................................................................... 41
5.1 Power Modes .................................................................................................................................... 41
5.1.1 SetRegMode.......................................................................................................................... 41
5.2 VBAT Measurement ........................................................................................................................ 42
5.2.1 GetVbat ................................................................................................................................... 42
5.3 Power-On-Reset and Brown-Out-Reset ................................................................................... 43
5.4 Low Battery Detector ..................................................................................................................... 43
5.5 Over Current Protection ................................................................................................................ 43
6. Clock Sources ................................................................................................................................................. 44
6.1 RC Oscillators Clock References ................................................................................................. 44
6.2 High-Precision Clock References ............................................................................................... 44
6.2.1 32.768kHz Crystal ............................................................................................................... 44
6.2.2 32MHz Crystal....................................................................................................................... 44
6.2.3 32MHz TCXO ......................................................................................................................... 45
6.3 Commands ......................................................................................................................................... 46
6.3.1 ConfigLfClock........................................................................................................................ 46
6.3.2 SetTcxoMode........................................................................................................................ 47
7. Radio.................................................................................................................................................................. 48
7.1 Overview ............................................................................................................................................. 48
7.2 Commands ......................................................................................................................................... 49
7.2.1 SetRfFrequency.................................................................................................................... 49
7.2.2 SetRx ........................................................................................................................................ 49
7.2.3 SetTx......................................................................................................................................... 50
7.2.4 AutoTxRx ................................................................................................................................ 51
7.2.5 SetRxTxFallbackMode ....................................................................................................... 52
7.2.6 SetRxDutyCycle.................................................................................................................... 53
7.2.7 StopTimeoutOnPreamble ............................................................................................... 55
7.2.8 GetRssiInst.............................................................................................................................. 55
7.2.9 GetStats................................................................................................................................... 56
7.2.10 ResetStats ............................................................................................................................ 56
7.2.11 GetRxBufferStatus............................................................................................................. 57
7.2.12 SetRxBoosted ..................................................................................................................... 57
7.2.13 SetLoRaSyncWord ............................................................................................................ 58
7.2.14 GetLoRaRxHeaderInfos................................................................................................... 58
7.2.15 SetRssiCalibration............................................................................................................. 59
8. Modems ........................................................................................................................................................... 62