cancel
Showing results for 
Search instead for 
Did you mean: 

Node and gateway are not getting connected using FSK modulation using B-L072Z LRWAN1 board.

Yuvi
Senior

Hello community

Gateway terminal image shows FSK at channel 9 and 868 frequency.

I have downloaded the library code the default set region is Europe and the frequency is 868. 

And I have made these changes #define USE_MODEM_LORA 1
#define USE_MODEM_FSK 0
to
#define USE_MODEM_LORA 0
#define USE_MODEM_FSK 1

However, the gateway and node are not getting connected.

Yuvi_0-1698987868374.jpeg

Thank you for your help.

1 ACCEPTED SOLUTION

Accepted Solutions
STTwo-32
ST Employee

Hello @Yuvi and welcome to the ST Community.

the USE_MODEM_LORA 1 and the log printed to the right is only defined into the project PingPong https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Applications/SubGHz_Phy/SubGHz_Phy_PingPong
but this project implements a Ping-Pong application between two PingPong Devices. It cannot be used with a Gateway or a LoRaWAN server because it presents the "LoRa" modulation, not the "LoRaWAN" protocol (in this project the LoRaWAN is not included). so you may think about using one of the LoRaWAN projects in the  i-cube-lrwan repository. Also, 
the Join Requests in the EU868 region must come via the 3 default channels (868.1MHz, 868.3MHz or 868.5Mhz). The default channels support only SF7 to SF12 LoRa modulations, at 125KHz. Since your join request arrives via an extra channel (868.8MHz), it is dropped by the Network Server, as your end device is not allowed to use that particular frequency. Finally, the FSK feature cannot be used directly in the LoRaWAN protocol.

by default, the device and the gateway use always the DR0 to 5 (in EU868 region).

to switch on FSK modulation, it is required to execute a configuration sequence of request (initiated by the LoRaWAN server) 

  • to activate a new channel (NewChannelReq)
  • switch the device on new DR (LinkADRReq)

Best Regards.

STTwo-32.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

View solution in original post

2 REPLIES 2
STTwo-32
ST Employee

Hello @Yuvi and welcome to the ST Community.

the USE_MODEM_LORA 1 and the log printed to the right is only defined into the project PingPong https://github.com/STMicroelectronics/STM32CubeWL/tree/main/Projects/NUCLEO-WL55JC/Applications/SubGHz_Phy/SubGHz_Phy_PingPong
but this project implements a Ping-Pong application between two PingPong Devices. It cannot be used with a Gateway or a LoRaWAN server because it presents the "LoRa" modulation, not the "LoRaWAN" protocol (in this project the LoRaWAN is not included). so you may think about using one of the LoRaWAN projects in the  i-cube-lrwan repository. Also, 
the Join Requests in the EU868 region must come via the 3 default channels (868.1MHz, 868.3MHz or 868.5Mhz). The default channels support only SF7 to SF12 LoRa modulations, at 125KHz. Since your join request arrives via an extra channel (868.8MHz), it is dropped by the Network Server, as your end device is not allowed to use that particular frequency. Finally, the FSK feature cannot be used directly in the LoRaWAN protocol.

by default, the device and the gateway use always the DR0 to 5 (in EU868 region).

to switch on FSK modulation, it is required to execute a configuration sequence of request (initiated by the LoRaWAN server) 

  • to activate a new channel (NewChannelReq)
  • switch the device on new DR (LinkADRReq)

Best Regards.

STTwo-32.

 

To give better visibility on the answered topics, please click on Accept as Solution on the reply which solved your issue or answered your question.

Yuvi
Senior

Thank you @STTwo-32