cancel
Showing results for 
Search instead for 
Did you mean: 

STM32CubeWL v1.4 LoRaWAN End Node: US915 (Canada) on B-WL5M-SUBG1

PLaid.1
Associate II

I am developing a project based on the STM32WL5MOC, using the B-WL5M-SUBG1 board as my reference platform.

My development environment uses STM32CubeMX and STM32CubeIDE (both version 2.x). I am having difficulty determining which documentation and examples are current and compatible with the STM32CubeWL v1.4 library.

My objective is to build a LoRaWAN end-node product using the STM32CubeWL v1.4 stack. However, I am encountering several issues:

• CubeMX appears to lock or restrict LoRaWAN region selection, preventing reliable configuration changes (specifically US915 for Canada)
• CubeMX hides or auto-generates LoRaWAN configuration files, making it unclear where parameters should be edited
• The stack structure and project organization generated by CubeMX differ from what is described in the available documentation
• As a result, I have been unable to produce a stable standalone CubeIDE project with fully editable LoRaWAN configuration

Given these inconsistencies, I would appreciate clarification on the recommended workflow.

Question:
When using STM32CubeMX and STM32CubeIDE v2.x with STM32CubeWL v1.4, what is the reference procedure for creating a stable LoRaWAN end-node project with editable configuration files targeting Region US915 (Canada or Non EU) ?

Any guidance on current best practices or updated documentation would be greatly appreciated.

1 REPLY 1
Issamos
Lead II

Hello @PLaid.1 

This playlist should show you how to setup your LoRaWAN application (including region) using the STM32CubeMX and STM32CubeIDE. The only difference between STM32CubeIDE 2.0 and 1.x is that you have to use CubeMX standalone version to do all the configuration described on the video since the CubeIDE 2.0 can’t open or modify a.ioc file. So you need to use the standalone version. More details about project configuration on CubeIDE 2.0 can be found here.

Best Regards.

II