# Porting STM32WL LoRaWAN to STM32L476RG

**URL:** <https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354>\
**Category:** Uncategorized\
**Created:** [October 3, 2024, 12:30pm UTC](https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354 "2024-10-03T12:30:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![zeeshan123](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/z/3be4f8/32.png) [@zeeshan123](https://www.thethingsnetwork.org/forum/u/zeeshan123)\
**Post date:** [October 3, 2024, 12:30pm UTC](https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354/1 "2024-10-03T12:30:35Z")

</div>

Hi, I want to develop my LoRaWan end node in STM32 L476RG, Is there any way to port or convert the STM32 WL series library to STM32 L476RG nucleo board library ?

---

<div class="post-metadata">

**Author:** ![jreiss](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jreiss/32/46529_2.png) [@jreiss](https://www.thethingsnetwork.org/forum/u/jreiss)\
**Post date:** [October 3, 2024, 1:56pm UTC](https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354/2 "2024-10-03T13:56:00Z")

</div>

The ST-CUBE libraries support L476RG

> **[I-CUBE-LRWAN - STMicroelectronics](https://www.st.com/en/embedded-software/i-cube-lrwan.html)**
>
> I-CUBE-LRWAN - LoRaWAN software expansion for STM32Cube, I-CUBE-LRWAN, STMicroelectronics

- End-device FUOTA class-C mode application running on NUCLEO-L476 RG

Extensive guide for the FUOTA example.  
[  
AN5411I-CUBE-LRWAN embedding FUOTA, application implementation  
 ](https://www.st.com/resource/en/application_note/an5411-icubelrwan-embedding-fuota-application-implementation-stmicroelectronics.pdf)

---

<div class="post-metadata">

**Author:** ![zeeshan123](https://www.thethingsnetwork.org/forum/letter_avatar_proxy/v4/letter/z/3be4f8/32.png) [@zeeshan123](https://www.thethingsnetwork.org/forum/u/zeeshan123)\
**Post date:** [October 3, 2024, 6:27pm UTC](https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354/3 "2024-10-03T18:27:34Z")

</div>

Hi, Thank you for the help. I have my STM32L476RG Nucleo board and RFM95 LoRa module only, which I have to interface with my Nucleo board via SPI. Is this library still works for this ? I dont have any extension boards

---

<div class="post-metadata">

**Author:** ![jreiss](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/jreiss/32/46529_2.png) [@jreiss](https://www.thethingsnetwork.org/forum/u/jreiss)\
**Post date:** [October 3, 2024, 7:52pm UTC](https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354/4 "2024-10-03T19:52:47Z")

</div>

RFM95 appears to work like the SX1276

> [@zeeshan123](#):
>
> RFM95 LoRa module

> **[Lorawan Bad uplink signal](https://community.st.com/t5/stm32-mcus-wireless/lorawan-bad-uplink-signal/td-p/68159)**
>
> I am trying to build a custom board with Nucleo L476 , RFM95 (sx1276) and the ICUBE lorawan library. I have build multiple borads, connecting the RFM via jumper cables or on a breakout board. I have tried different antennas but the result is always...

---

<div class="post-metadata">

**Author:** ![descartes](https://www.thethingsnetwork.org/forum/user_avatar/www.thethingsnetwork.org/descartes/32/47220_2.png) [@descartes](https://www.thethingsnetwork.org/forum/u/descartes)\
**Post date:** [October 3, 2024, 10:19pm UTC](https://www.thethingsnetwork.org/forum/t/porting-stm32wl-lorawan-to-stm32l476rg/69354/5 "2024-10-03T22:19:29Z")

</div>

> [@zeeshan123](#):
>
> I have my STM32L476RG Nucleo board and RFM95 LoRa module only

Why? What dictates the choice of the Nucleo board and the rather ancient RFM95 module?

Rather than struggle with less optimal hardware, can you use a Semtech SX126X board - this will allow you to run the soon to be deprecated LoRaMac-node and it’s replacement, LoRa Basic Modem.

Or even do you have to use the Nucleo - there are many other boards around running a variety of LW stacks.
