cancel
Showing results for 
Search instead for 
Did you mean: 

STM32WL github example LoRaWAN_End_Node migration to STM32WLE5JCI

SWenn.1
Senior III

Hello all.

I am trying to build up a LoRaWAN end node on a single core STM32WLE5. I am new to LoRa development and thought I would leverage the repo LoRaWAN_End_Node which uses the dual core (STM32WL55 Nucleo). I went ahead in the ioc and tried my best to match up everything HOWEVER there is one piece that seems to be critically different and I don't know how I should set up my settings to account for this....The RTC section on the WL55 seems to be scaled down quite a bit in the Parameter Settings section compared to WLE5......Can someone tell me how to go about setting up the WLE5 RTC section such that it would work for LoRaWAN and be comparable to the WL55 setup?

thank you.

1 ACCEPTED SOLUTION

Accepted Solutions
MGami.1
Associate III

Hi Wenn,

You can use the following link (https://docs.rakwireless.com/Product-Categories/WisDuo/RAK3172-Module/Low-Level-Development/#overview) to get the working code.

After finishing each step mentioned in the document, we are able to get working code.

You can add your application in lora_app.c file.

Before changing .ioc file read this note.

:memo: NOTE

STM32 microcontroller firmware created using STM32CubeIDE (with the help of STM32CubeMX) have .ioc file. This is a configuration file created by the STM32CubeMX tool. This is a helpful tool in setting up peripherals and drivers quickly in the STM32 development ecosystem. However, once you do the file modification mentioned in this guide, you cannot create a new .ioc file or modify it via STM32CubeMX. Else, those modified files needed by the RAK3172 will be overwritten and will go back to their original state or the .ioc file.

In cases that you need to use STM32CubeMX to set up peripherals or drivers, you just need to do again the same modification as mentioned in this section.

View solution in original post

1 REPLY 1
MGami.1
Associate III

Hi Wenn,

You can use the following link (https://docs.rakwireless.com/Product-Categories/WisDuo/RAK3172-Module/Low-Level-Development/#overview) to get the working code.

After finishing each step mentioned in the document, we are able to get working code.

You can add your application in lora_app.c file.

Before changing .ioc file read this note.

:memo: NOTE

STM32 microcontroller firmware created using STM32CubeIDE (with the help of STM32CubeMX) have .ioc file. This is a configuration file created by the STM32CubeMX tool. This is a helpful tool in setting up peripherals and drivers quickly in the STM32 development ecosystem. However, once you do the file modification mentioned in this guide, you cannot create a new .ioc file or modify it via STM32CubeMX. Else, those modified files needed by the RAK3172 will be overwritten and will go back to their original state or the .ioc file.

In cases that you need to use STM32CubeMX to set up peripherals or drivers, you just need to do again the same modification as mentioned in this section.