2022-05-14 09:12 PM
2022-05-18 01:13 AM
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
2022-05-18 01:41 AM
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:
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.
2022-05-18 02:13 AM
There's been a thread on this before, but the search here is dire. :pouting_face:
Found it at last in this thread:
This stupid forum doesn't allow me to link to the specific post in the thread:
That link goes to:
And, eventually, how to get comms directly to the USI module:
https://community.st.com/s/question/0D53W00000DHlVaSAL/i-want-to-get-pnucleolrwan2-gateway-source
Or just connect a USB-to-UART directly to the USI board...
2022-05-22 01:51 PM
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
Its works! With package V1.2.2, but when enable the sensors and only temperature and humidity, there was FLASH overflowed 9680 bytes :(
The size optimization is enable and debug disable. Any susgestions? I noticed
the package v2.1.0 dos not have the solution. of this board.
2022-05-22 02:51 PM
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
2022-05-23 02:23 AM
@ELeit.3 So you've fixed the problem of getting the LoRaWAN to work as an End Node?
If so, please mark the solution (see below).
Getting the sensors working is a separate issue...
I would second the recommendation from @Community member that you move to the B-L072Z-LRWAN1 board instead. :thumbs_up:
@ELeit.3
2022-05-31 08:32 AM
@Andrew Neil @Community member Thank you to reply, I found another way to solve the issues. I used RAK3172 based STM32WL5CC6 with the code bellow.
https://github.com/danak6jq/RAK3172
@Community member Could you lend me the improved code of LRWAN1? Cause I need to use the sensors on the shield.
2022-05-31 08:39 AM
The code for B-L072Z-LRWAN1 is all included in the I-Cube-LRWAN package.
2022-05-31 09:53 AM
The I-nucleo-lrwan1 / sg-sm-42 I worked on perhaps 5+ years ago, on the older 1.0.x or 1.1.x forks.
The patches were materially similar to the ones subsequently posted by USI. @Alec BATH was also using these parts, and I think I published several posts to the forum related to pins used internally.
https://community.st.com/s/question/0D50X00009XkgY5SAJ/inucleolrwan1
https://community.st.com/s/question/0D50X00009XkgxiSAB/usi-wmsgsm42-point-to-point-communiation
http://edworks.co.kr/wp-content/uploads/2020/12/WM-SG-SM-42_Product-SPEC_Rev05_20180322.pdf