STM32WL Join Failed

Hi
I´m trying to connect the STM32WL Nucleo board to the TTN using the example software provided by STM (using the CubeMX and Cube IDE) and OTAA activation but only get “JOIN Failed” messages from the ST Nucleo Board.
I´ve tried the “Endnode” example and the “AT Slave” one but it´s always the same. As i can see the blue LED flashing on the Nucleo, i get a message from TTN (also prompted on the serial port) but no acknoledge.
I´ve checked and also changed the keys a few times, tried different settings in the TTN console, and varied the distance between the node and the gateway with no difference. The Messages in the TTN Console don´t show an error or i am not able to figure it out.
I´ve done a few scrennshots of the used settings and the messages on the TTN console. The used gateway is the “The things indoor gateway” which seems to work fine.

Keys on the Nucleo Board
Settings_Nucleo

Settings (AT+JN1DL: Join delay on RX window 1/2, AT+RX1DL: Delay of the received window 1/2)

Settings_Nucleo_2

Try to join the network
Nucleo_Join

And the response in the TTN console
TTN_Console

Please help me troubleshoot my join problem.
Has anyone successfully tried to connect the STM32WL to TTN using the example software?

Thanks in advance!

Can you share a link to the codebase? Did you use
GitHub - ARMmbed/mbed-os-example-lorawan: Simple LoRaWAN example application for mbed OS ?

I have a nucleo-wl55jc1 (ordered in january, received in august!) and I could give it a try.
Did not yet have time to try it so gave me a good reason :stuck_out_tongue:

Hi
I used the original Code from ST provided for the STM32wl devices. You can find it here

This is the software package including many examples for STM32WL dual core devices (single core, dual core, end node, AT command slave, and also an Firmware update over the air example. But i havent tried them all yet).

The Problem in my case seems to be the LoRaWAN Version. With V1.1 i was not able to get my end device joined to the things network. When i choose V1.0.3 it´s joining TTN without any problems now. My mistake was, that in V1.0.3 versus V1.1. the LoRaWAN APP Key and the LoRawanNWKKey are changed/different.
So after changing the Version to 1.0.3 and correcting the Keys it´s working fine.
The Software Package is also included into the STM32CubeMX Firmware (use the latest Version!).
There you can type the keys and settings really easy, but CubeMX seems to use the V1.1 names of the keys.
image
So you sould consider this

image

Hope this could help you

1 Like