STM32WL - 1st microcontroller SoC with LoRa

Discussion and questions about boards that can run MicroPython but don't have a dedicated forum.
Target audience: Everyone interested in running MicroPython on other hardware.
User avatar
rcolistete
Posts: 350
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

STM32WL - 1st microcontroller SoC with LoRa

Post by rcolistete » Mon Dec 07, 2020 6:27 am

STM32WL - 1st microcontroller SoC family with LoRa, was announced in January 2020 :
https://www.st.com/en/microcontrollers- ... eries.html
https://www.st.com/content/st_com/en/pr ... 2wlex.html
https://blog.st.com/stm32wl/
https://www.st.com/resource/en/datashee ... wle5jc.pdf
It doesn't have WiFi, neither Bluetooth, only SX126x LoRa transceiver, so it will be useful as LoRa(Wan) node. The STM32WLE5 is a low power MCU, with low frequency (48 MHz), up to 64KB of RAM, up to 256 kB of internal flash, with many low power modes :
- deepsleep : 31 nA (shutdown), 360 nA (standby with RTC), 1.07 µA (stop2 with RTC);
- < 72 µA/MHz without LoRa, x 48 MHz = 3,456 mA;
- 5.4 mA in LoRa RX;
- 15-87 mA in LoRa TX (10-20 dBm).
- MCU runs @ 2 MHz consuming 0.6-0.7 mA;
- it has LPRun (Low Power Run) mode, @ 2 MHz consumes 0.22 mA, while @ 0,4 MHz consumes only 52 uA.

Since November 2020 there is a LoRa-E5 STM32WLE5JC module from SeeedStudio, US$9.90 (first batch of the module is sold out, now it is again in pre-order).

So let us share the MicroPython port efforts in this topic. There was already some MicroPython community interest since January 2020 Melbourne MicroPython Meetup.
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
mattyt
Posts: 367
Joined: Mon Jan 23, 2017 6:39 am

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by mattyt » Mon Dec 07, 2020 1:50 pm

Unfortunately the Nucleo-WL55JC development board for this chip just doesn't seem available (at least the JC1 variant I'd need in Australia). If it were I'd be very keen to work on a MicroPython port! I just don't have time to design/build my own board...

User avatar
rcolistete
Posts: 350
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by rcolistete » Wed Dec 09, 2020 5:06 am

The SeeedStudio LoRa-E5 module seems to be simple to use (just few components to make a board using it). But I haven't succeded to buy one from 1st batch.

I hope that it is just a matter of time to have some development boards with STM32WL available (in 2021).
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

micado2
Posts: 2
Joined: Fri Dec 11, 2020 10:50 am

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by micado2 » Fri Dec 11, 2020 10:57 am

Hello guys,
Nucleo with WL seems available for all countries --> https://www.st.com/en/evaluation-tools/ ... sample-buy
I'm also very interested by a FW for STM32WL nucleo board!

User avatar
mattyt
Posts: 367
Joined: Mon Jan 23, 2017 6:39 am

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by mattyt » Sun Dec 13, 2020 12:10 am

micado2 wrote:
Fri Dec 11, 2020 10:57 am
Nucleo with WL seems available for all countries --> https://www.st.com/en/evaluation-tools/ ... sample-buy
The JC2's are available but unfortunately I can't find a distributor for a JC1 variant (which I need for Australian use). That STM32 page suggests Rutronik have them...but JC1's aren't listed there.

If anyone can find a Nucleo-WL55JC1 I'd be very keen to get my hands on one!

User avatar
rcolistete
Posts: 350
Joined: Thu Dec 31, 2015 3:12 pm
Location: Brazil
Contact:

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by rcolistete » Fri Mar 05, 2021 8:33 pm

3 new boards from SeeedStudio with LoRa-E5 module (using STM32WLE5JE SoC) :
https://us11.campaign-archive.com/?u=0c ... 85c63e18b6

- LoRa-E5 Development Kit, US$24.90 :
https://www.seeedstudio.com/LoRa-E5-Dev-Kit-p-4868.html
Image

- LoRa-E5 mini, US$19.90 :
https://www.seeedstudio.com/LoRa-E5-min ... -4869.html
Image

- Grove - LoRa-E5 (STM32WLE5JC), EU868/US915, US$16.90 :
https://www.seeedstudio.com/Grove-LoRa- ... -4867.html
Image

Any news about MicroPython port efforts for STM32WL family ?
My "MicroPython Samples". My "MicroPython Firmwares" with many options (double precision, ulab, etc).

User avatar
mattyt
Posts: 367
Joined: Mon Jan 23, 2017 6:39 am

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by mattyt » Fri Mar 05, 2021 11:41 pm

rcolistete wrote:
Fri Mar 05, 2021 8:33 pm
Any news about MicroPython port efforts for STM32WL family ?
Nothing official yet (but I know that Damien has booted a REPL on the Nucleo WL55!).

I've already ordered one each of the dev kit and the mini - those Seeed boards looked interesting!

And, yes, I was able to purchase a JC1 a month or two back from an Australian supplier (that was out of stock the next day).

User avatar
Jacky
Posts: 3
Joined: Sun May 02, 2021 4:03 pm
Location: Shenzhen China

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by Jacky » Mon May 03, 2021 3:28 am

mattyt wrote:
Fri Mar 05, 2021 11:41 pm
rcolistete wrote:
Fri Mar 05, 2021 8:33 pm
Any news about MicroPython port efforts for STM32WL family ?
Nothing official yet (but I know that Damien has booted a REPL on the Nucleo WL55!).

I've already ordered one each of the dev kit and the mini - those Seeed boards looked interesting!

And, yes, I was able to purchase a JC1 a month or two back from an Australian supplier (that was out of stock the next day).
I am planning to port mpy to my own design evaluation board(same STM32WLE5JC as JC1 of ST) for STM & Tencent (base on Tencent OS Tiny and ST, Smtech stack).

Image

The code under ports/stm32 did not include STM32WL, there is no STM32WL HAL libs, etc. A lot of error, when making. I am still trying.
Anyone are interested ?

User avatar
mattyt
Posts: 367
Joined: Mon Jan 23, 2017 6:39 am

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by mattyt » Tue May 04, 2021 7:16 am

Hot off the press: Damien has raised a PR to cover support for the STM32WLxx.

I've built from this PR though I haven't yet had a chance to deploy to the Seeed devices and test (I received both the LoRa-E5 and E5-mini).

Note that this doesn't yet have support to control the LoRa radio, it currently only covers the micro.

User avatar
Jacky
Posts: 3
Joined: Sun May 02, 2021 4:03 pm
Location: Shenzhen China

Re: STM32WL - 1st microcontroller SoC with LoRa

Post by Jacky » Thu May 06, 2021 3:11 pm

Today, success port to my own stm32wle5 board , base on bare metal port. :D . Using ST HAL driver which was not support 2 days ago.
UART can output correct. Lora radio not yet started.
Good to STM32WL is now supported.

Post Reply