STM32 Nukleo STM32WL55jc JOIN problem

Hello,

I have a board NUCLEO-WL55JC1 and download a LoRaWAN End-Node Example on it form STM32CubeIDE, but it not join to LoRaWAN network sucessfully.

Debug:

AppKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C
NwkKey: AC:F3:EE:8D:62:23:49:3B:46:1A:B8:B1:41:EC:BE:99
ABP
AppSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C
NwkSKey: 2B:7E:15:16:28:AE:D2:A6:AB:F7:15:88:09:CF:4F:3C
DevEui: 70:B3:D5:7E:D0:xx:xx:xx
AppEui: 01:01:01:01:01:01:01:01
DevAddr: 05:00:xx:xx

0s035:TX on freq 868500000 Hz at DR 0

APP_VERSION: V1.1.0

MW_LORAWAN_VERSION: V2.3.0

= JOIN FAILED

100s040:temp= 22

100s041:VDDA= 254

100s044:TX on freq 868100000 Hz at DR 0

101s530:MAC txDone

106s564:RX_1 on freq 868100000 Hz at DR 0

106s762:IRQ_RX_TX_TIMEOUT

106s762:MAC rxTimeOut

107s564:RX_2 on freq 869525000 Hz at DR 0

107s762:IRQ_RX_TX_TIMEOUT

107s762:MAC rxTimeOut

The Thing Stack Live Console:

There was an error and the event cannt not be displayed The raw event can be displayed by clicking this raw

Raw Data:

{

“name”: “ns.up.join.cluster.fail”,

“time”: “2021-09-27T16:17:26.339931133Z”,

“identifiers”: [

{

 "device_ids": {

   "device_id": "wl55jc1-01",

   "application_ids": {

     "application_id": "wl55jc1"

   }

 }

},

{

 "device_ids": {

   "device_id": "wl55jc1-01",

   "application_ids": {

     "application_id": "wl55jc1"

   },

   "dev_eui": "70B3D57ED004xxxx",

   "join_eui": "0101010101010101"

 }

}

],

“data”: {

“@type”: “type.googleapis.com/ttn.lorawan.v3.ErrorDetails”,

“namespace”: “pkg/joinserver”,

“name”: “mic_mismatch”,

“message_format”: “MIC mismatch”,

“correlation_id”: “46b0ed8d76db4c529c903faea65d9c6a”,

“code”: 3

},

“correlation_ids”: [

“gs:conn:01FGBKBKSE6RB0SV6X9MR24FDM”,

“gs:up:host:01FGBKBKSQGNFE1KA9MM7PDJ1X”,

“gs:uplink:01FGM0QYSVMFD3X629QRW0RHP1”,

“ns:uplink:01FGM0QYSWWNVQSXAGA7EB5Q44”,

“rpc:/ttn.lorawan.v3.GsNs/HandleUplink:01FGM0QYSW29HFS79S0NT50999”

],

“origin”: “ip-10-100-14-45.eu-west-1.compute.internal”,

“context”: {

“tenant-id”: “CgN0dG4=”

},

“visibility”: {

“rights”: [

 "RIGHT_APPLICATION_TRAFFIC_READ",

 "RIGHT_APPLICATION_TRAFFIC_READ"

]

},

“unique_id”: “01FGM0QYT35D14T7E21K4NX0ZZ”

}

Can give somone a hint to solve the problem?

Grettings

E_T

The hint is:

This suggests a problem with either JoinEUI/AppEUI, DeviceEUI or AppKey. Possibly you need to put the bytes in a different order, or triple-check them with the console. JoinEUI and DevEUI look OK, so I would check the app key first.

1 Like

Thank you for the hint!

The solution, it is my first try with this bord, the LORAWAN_APP_KEY in se-identity.h was identical with the AppKey in the TTS-Console, but the LORAWAN_NWK_KEY was differend!

Another little silly thing

Thank you!

Greetings

E_T

This topic was automatically closed 24 hours after the last reply. New replies are no longer allowed.