Skip to main content
ELeit.3
Associate
May 15, 2022
Question

Nucleo-L073RZ + I-nucleo-lrwan1 sg-sm-42 to work as an end node

  • May 15, 2022
  • 3 replies
  • 1971 views

Hi in 2020 I bought P-NUCLEO-LRWAN2 and now I started programming. In none of the examples provided in the expansion pack, I can't get Nucleo-L073RZ + I-nucleo-lrwan1 sg-sm-42 to work as an end node. Any solution?

This topic has been closed for replies.

3 replies

JCOUP
Visitor II
May 18, 2022

​Hello,   If I well understood you problem you do not find the right project to run on a Nucleo-L073RZ.

The last expansion package published in 2021 (V2.1) on st.com provides the AT_Master project.

\Projects\NUCLEO-L073RZ\Applications\LoRaWAN\LoRaWAN_AT_Master.

Regards

Andrew Neil
Super User
May 18, 2022

You need to give full details of what, exactly, you've done and what, exactly, is "not working", and what debugging you've done to find the problem.

As @JCOUP​ says, you need the AT_Master project from the I-Cube-LRWAN package:

https://www.st.com/content/st_com/en/products/embedded-software/mcu-mpu-embedded-software/stm32-embedded-software/stm32cube-expansion-packages/i-cube-lrwan.html

v2.1.0 is the latest version.

In this example, the USI module on the I-NUCLEO-LRWAN1 board is programmed as an AT-Command modem, and the STM32 on the NUCLEO-L073RZ board is acting as the "Host" (or "Master") for that modem - that's why you need the "AT-Master" loaded on the Nucleo.

Note also that the serial connection to the ST-Link virtual COM port on the Nucleo base board is disconnected - because that is used for the AT Command connection to the modem.

A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
Andrew Neil
Super User
May 18, 2022
A complex system that works is invariably found to have evolved from a simple system that worked.A complex system designed from scratch never works and cannot be patched up to make it work.
ELeit.3
ELeit.3Author
Associate
May 22, 2022

Hi @Andrew Neil​ and @JCOUP​ ! Thanks for reply! I try the solutions above but only show in Teraterm Otaa

DeviceEUI and others all blank.I try with V2.1.0

I give up and tried to use I-NUCLEO-LRWAN standalone with tutorial found on

https://github.com/USIWP1Module/USI_I-NUCLEO-LRWAN1/tree/master/I-CUBE-LRWAN_patchs/I-CUBE-LRWAN%201.2.2

Its works! With package V1.2.2, but when enable the sensors and only temperature and humidity, there was FLASH overflowed 9680 bytes :(

0693W00000NqQX2QAN.pngThe size optimization is enable and debug disable. Any susgestions? I noticed

the package v2.1.0 dos not have the solution. of this board.

Tesla DeLorean
Guru
May 22, 2022

The USI board was generally panned several years ago, the LRWAN-DISCO using the Murata module was much better received having a newer SX1276 radio, and a larger 192KB FLASH L072 part, and a more open software stack. Many of us, including the FAE's, just reprogrammed the USI parts, having patched the LRWAN code ourselves. The patching mainly relates to the pining of the SX1272, and the RF side RX/TX switching gate. If v2.1.0 is too bulky to fit, you might need to make alternate choices.

For Cortex-M0(+) parts there is the free version of Keil, which can likely build the firmware much more tightly, including link-time-optimization (LTO)

https://www2.keil.com/stmicroelectronics-stm32/mdk

Tips, Buy me a coffee, or three.. PayPal Venmo (See Profile) Up vote any posts that you find helpful, it shows what's working..