Skip to main content
Visitor II
April 9, 2026
Question

Request for Guidance on LoRa-E5 (STM32WLE5JC) LoRa TX/RX Setup in STM32CubeIDE 2.1.0

  • April 9, 2026
  • 2 replies
  • 192 views

I am currently working with the LoRa-E5 Mini module based on the STM32WLE5JC microcontroller, and I am using STM32CubeIDE version 2.1.0 for development.

I have successfully tested basic GPIO functionality (LED blinking), and I am now trying to implement LoRa-based communication (transmission and reception) using the integrated SubGHz radio. However, I am facing challenges in properly configuring and utilizing the SubGHz_Phy middleware and radio drivers within STM32CubeIDE.

Specifically, I need guidance on the following:

  1. The correct procedure to enable and configure the SubGHz radio peripheral in STM32CubeIDE for STM32WLE5JC.
  2. How to properly include and use the SubGHz_Phy middleware for basic LoRa communication.
  3. Availability of any official example projects (such as Ping-Pong or Tx/Rx) compatible with STM32CubeIDE 2.1.0 for the LoRa-E5 Mini module.
  4. Proper configuration of radio parameters (frequency, spreading factor, bandwidth) for reliable communication.
  5. Any recommended steps to ensure successful transmission and reception with LED-based visual indication.

Additionally, I encountered build errors such as:
"fatal error: stm32wlxx.h: No such file or directory"

I would appreciate guidance on resolving such dependency or configuration issues as well.

It would be very helpful if you could provide:

  • Reference example projects
  • Documentation links
  • Recommended workflow for LoRa development using STM32WLE5JC

Thank you for your time and support.

2 replies

ST Technical Moderator
April 14, 2026

Hello @lal_krishna 

Try to use and Adapt the SubGHz_Phy examples from the STM32Cube_FW_WL firmware package, such as 'Ping_Pong': STM32CubeWL/Projects/NUCLEO-WL55JC/Applications/SubGHz_Phy/SubGHz_Phy_PingPong at main · STMicroelectronics/STM32CubeWL · GitHub

Regarding the error: "No such file or directory", the include paths might not be set up correctly, or an include file might be missing. You'd want to review the defines and include paths.

I recommend referring to the user manual UM2643: Getting started with STM32CubeWL for STM32WL Series and

Introduction to LoRaWAN® - stm32mcu

In order to give better visibility on the answered topics, please click on 'Best answer' on the reply which solved your issue or answered your question. Thanks
Dana Myers
Senior
May 9, 2026

Did you get this working? I had little trouble generating a project for the LoRa-E5 Mini with v1.50/LBM this morning.