2025-11-26 4:27 PM
Hello ST experts,
I’m working with an STM32WLE5CC using the LoRaWAN stack in STM32CubeIDE. Even though AU915 is selected as the active region, the device always transmits on the default sub-band AU915_CH0_7, while my gateway is configured for AU915_CH8_15.
UART log example:
###### AppKey: F1:11:B1:A0:A5:CE:4A:4C:1E:3B:E3:46:94:ED:8F:56
###### NwkKey: F1:11:B1:A0:A5:CE:4A:4C:1E:3B:E3:46:94:ED:8F:56
###### 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: CB:59:4B:0E:2D:2F:9D:D5
###### AppEUI: 40:20:93:67:C4:C4:5F:AF
###### DevAddr: 06:6A:AA:FE
0s029:TX on freq 916600000 Hz at DR 2
0s401:MAC txDone
5s384:RX_1 on freq 927500000 Hz at DR 10
5s433:IRQ_RX_TX_TIMEOUT
5s433:MAC rxTimeOut
6s396:RX_2 on freq 923300000 Hz at DR 8
6s461:IRQ_RX_TX_TIMEOUT
6s461:MAC rxTimeOut
The node never receives the Join-Accept because it is transmitting on the wrong sub-band.
Question:
Where do I configure the AU915 sub-band so that the stack uses AU915_CH8_15 instead of AU915_CH0_7?
I cannot find any option in CubeMX or in the generated project to change the sub-band.
Thank you.