配置是否开启RF开关了?初始化代码如下:
- void SX126xInit( DioIrqHandler dioIrq )
- {
- RadioStatus_t RadioStatus;
- SX126xReset( );
- SX126xIoIrqInit( dioIrq );
- SX126xWakeup( );
- SX126xSetStandby( STDBY_RC );
-
- // Initialize TCXO control
- SX126xIoTcxoInit( );
- // Initialize RF switch control
- SX126xIoRfSwitchInit( );
- SX126xSetOperatingMode( MODE_STDBY_RC );
- }
复制代码 |