cancel
Showing results for 
Search instead for 
Did you mean: 

Changing RF Frequency at runtime.

MCarl.7
Associate II

Hi,

Is there any side effects of changing the RF Frequency of the Lora Modem during runtime.

Radio.SetChannel(RF_FREQUENCY);

Can this be used to change the frequency at runtime?

Thanks

2 REPLIES 2
Louis AUDOLY
ST Employee

Hello @MCarl.7​ ,

If you look in the SX1261-2 specification here, you can see in the section 9.4 Standby mode, that you have to be in standby to configure your radio before going in Rx or Tx mode.

I hope it helps

Regards

You can change settings, usually a structure/variable.

As indicated you'd typically do so as you cycle between RX, TX, STANDBY/IDLE states in the main() loop of most of the LoRa examples/demos

Tips, Buy me a coffee, or three.. PayPal Venmo
Up vote any posts that you find helpful, it shows what's working..