Connecting an STM32WL55 to my ChirpStack server

Hello, I am still an apprentice and have recently started using ChirpStack. Currently, I want to connect my STMicroelectronics microcontroller, the famous STM32WL55, which operates on LoRa. I would appreciate some help on how to program it to connect using the OTAA (Over-The-Air Activation) method.

Thank you in advance for your help.

You can use the combo: Arduino IDE + stm32duino (search github for it) + RadioLib (search github for it).

STM has LoRaWAN implementation too, if you are keen to do coding using their CubeMX.

Hello
Sorry but I am currently using STM32CubeIDE for my case

This is what you need:

https://www.st.com/en/embedded-software/i-cube-lrwan.html#overview

Hello, I am already using the one from this site: STM32CubeWL - STM32Cube MCU Package for STM32WL series (HAL, Low-Layer APIs and CMSIS, File system, RTOS, KMS, Secure Engine, Sub-GHz Phy, LoRaWAN and Sigfox stacks - and examples running on ST boards) - STMicroelectronics.

However, I can’t get my device to join Chirpstack. It keeps showing ‘never seen,’ and I don’t see any Join_Request in the Chirpstack logs :

Please help me, it’s urgent.

Is your device behaving as it should? STM32CubeWL has an advanced trace library. Are you able to access the trace from your device? Have you configured it correctly - region, LoRa version etc?