Skip to content

fix(lora e5 mini): changeLORAWAN_RFSWITCH_RFO_LP_VALUES to LOW,HIGH#3002

Merged
fpistm merged 1 commit into
stm32duino:mainfrom
mhmayyan:Seeed-LORA-E5-transmission-power-bug-tix
Jul 1, 2026
Merged

fix(lora e5 mini): changeLORAWAN_RFSWITCH_RFO_LP_VALUES to LOW,HIGH#3002
fpistm merged 1 commit into
stm32duino:mainfrom
mhmayyan:Seeed-LORA-E5-transmission-power-bug-tix

Conversation

@mhmayyan

Copy link
Copy Markdown
Contributor

I am working on a LoRaWAN project using a Seeed LoRA-E5 module. So, I used the LORA_E5_MINI variant. I noticed that the module stopped transmitting after about 24 messages. I read the Seeed Wio E5 HF documentation, and it says that this module transmits at high power only.

The suspect line of code was in the file
variants/STM32WLxx/WL54JCI_WL55JCI_WLE4J(8-B-C)I_WLE5J(8-B-C)I/variant_LORA_E5_MINI.h

It has

#define LORAWAN_RFSWITCH_RFO_LP_VALUES HIGH,HIGH

I modified the line as follows

#define LORAWAN_RFSWITCH_RFO_LP_VALUES LOW,HIGH

This is to prevent the LoRaWAN stack from configuring the node to use low transmission power, as the module does not support this capability.

It now works for me with this modification.

The Seeed LORA-E5 supports only high-power transmission.

Signed-off-by: Mohammad Mayyan <mhmayyan@gmail.com>
@fpistm fpistm changed the title Change LORAWAN_RFSWITCH_RFO_LP_VALUES to LOW,HIGH fix(lora e5 mini): changeLORAWAN_RFSWITCH_RFO_LP_VALUES to LOW,HIGH Jul 1, 2026
@fpistm fpistm added the fix 🩹 Bug fix label Jul 1, 2026
@fpistm fpistm added this to the 3.0.0 milestone Jul 1, 2026
@fpistm fpistm merged commit 2e3c1a6 into stm32duino:main Jul 1, 2026
27 checks passed
@github-project-automation github-project-automation Bot moved this from In progress to Done in STM32 core based on ST HAL Jul 1, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

fix 🩹 Bug fix

Projects

Development

Successfully merging this pull request may close these issues.

2 participants