2025-05-21 2:10 PM - last edited on 2025-05-27 9:35 AM by Amel NASRI
I was wondering if anyone had managed to get the LoRaWAN End-Node example running on other MCUs than the STM32L series. I've been trying to get it to run on the STM32U5A9 combined with an SX1262, but I haven't had any luck. I'm trying to integrate this into a clean project structure, unlike the one from the example applications where there are files like sys_app.c that manually configure the SPI bus instead of using CubeMX generated code.
I have manged to succesfully port the SX1262 driver code from Semtech itself (https://github.com/Lora-net/sx126x_driver), however I don't see how to integrate this with the LoRaWAN example.
If anyone has succeeded or has any tips, any help would be appreciated!
2025-06-23 9:02 AM
Hello @JSGraaf
The I-Cube-LRWAN does implement LoRaWAN on the STM32L0, STM32L1 and STM32L4. So, it is not dedicated for the STM32U5. For this series, you need to work on your own implementation (configure a communication peripheral to communicate with your LoRa module and configure it to do the communication).
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.
2025-06-23 9:46 AM
@JSGraaf wrote:a clean project structure, unlike the one from the example applications where there are files like sys_app.c that manually configure the SPI bus instead of using CubeMX generated code.!
I'm not sure how that makes it any more or less "clean" ?
@JSGraaf wrote:If anyone has ... any tips, any help would be appreciated!
I would suggest that you get it working with one of the supported STM32Lx parts to start with.
Then work on porting from that to your choice of processor.
If you want to go from "manual" config to cube-generated, do that first on the STM32Lx part, then port the result