Hello,
I am new in this LoRa world, but I want to setup an example from ST.
It is based on stm32wl-nucleo64-board for end device and “STMicroelectronics NUCLEO-F746ZG Nucleo board and RisingHF LRWAN_GS_HF1 expansion board with antenna” for gateway.
Examples are from the following pages (from ST site):
Now: I set all things, based on the youtube video material (https://www.youtube.com/watch?v=vuc6914B0KM, this is first from a series of 6 videos) and all was good; until this Friday, since I haven’t received data in the application console.
The situation persisted all day on Saturday and Sunday. During this time, I set the gateway and the end-device again, several times, all without success.
My question is the following: is there any problem with sending data from the Gateway to the End-device (any internal problem of the TTN server)? Is there a problem with the free account?
I use this server to send data from gateway to TTN: eu1.cloud.thethings.network
I need an answer because I dont understand why, if the gateway receive some data from my end-device, and all is set as in the manufacturez example, few days ago works and now not working…
1.What do you see in the console of the gateway and the application?
2. If your node is trying to connect, you will see activity in the gateway console.
3. Are your gateway connected to the network? (If you got it connected once it’s bad practice to delete and recreate it)
4. Sorry, most important newbie question, how far apparat are your node and gateway?
I flashed the end-defive several time and this is the serial console:
APPLICATION_VERSION: V1.3.0
MW_LORAWAN_VERSION: V2.5.0
MW_RADIO_VERSION: V1.3.0
L2_SPEC_VERSION: V1.0.4
RP_SPEC_VERSION: V2-1.0.1
NVM DATA RESTORED
10s035:VDDA: 254
10s035:temp: 12
10s041:TX on freq 867100000 Hz at DR 5
10s043:SEND REQUEST
10s111:MAC txDone
15s091:RX_1 on freq 867100000 Hz at DR 5
15s138:IRQ_RX_TX_TIMEOUT
15s138:MAC rxTimeOut
16s097:RX_2 on freq 869525000 Hz at DR 3
16s157:IRQ_RX_TX_TIMEOUT
16s157:MAC rxTimeOut
========== MCPS-Confirm =============
20s044:VDDA: 254
20s044:temp: 12
20s048:TX on freq 868300000 Hz at DR 5
20s051:SEND REQUEST
20s118:MAC txDone
25s098:RX_1 on freq 868300000 Hz at DR 5
25s145:IRQ_RX_TX_TIMEOUT
25s145:MAC rxTimeOut
26s104:RX_2 on freq 869525000 Hz at DR 3
26s164:IRQ_RX_TX_TIMEOUT
26s164:MAC rxTimeOut
========== MCPS-Confirm =============
the gateway is connected to network, see picture from pct. 1;
I tested with a distance between end device and gateway from 1 meter to 5-6 meters, with the same result.
I used the example from ST. I did not change anything else than in the video tutorial. Moreover, with the settings from video tutorial, everything worked from the first try until this Friday.
Then, I re-flashed everything, I re-set everything as in the tutorial without success…
Maybe the end-device is broken…
I used only STM32Cube IDE for flashing.
The distance between end-device and gateway is the same as the first try…
Hello,
i changed the keys in the code, I re-register the end node, but the issue is still present: the gateway received data but in application live data, the data are not present.
Any other ideas?
The fact that you set a DevAddr (and an ‘experimental node’ one at that) suggests using ABP - is that how you have configured as part of your device registration? Have you tried running as OTA?
If ABP have you reset fcount in console? Cleared/Reset DevNonce for re-use? (Joining via OTA should take care of all for you…)
I solved the issue.
Somehow, the end-device, stm32wl-nucleo64-board, even was flashed everytime from STM32CUBE IDE, can not re-join to the network.
My solutios for this issue is: erase the chip using standalone STM32CubeProgrammer and then flash the chip (again) using STM32CUBE IDE. After that, the end device join to the network and the data are displayed in the end device live data window.