2024-10-28 07:53 AM - last edited on 2024-10-28 08:02 AM by Andrew Neil
Hello ST Community,
I’m currently working on a project using the RAK3172 Evaluation Board that integrates the STM32WLE5 chipset. I successfully tested the default example (LORAWAN_AT_SLAVE), and it works well on the evaluation board. I’m able to communicate using AT commands as expected.
In my project, I need to:
The STM32WLE5 in the RAK3172 module has three UART peripherals, but only two can be used simultaneously. Here’s my current setup:
This configuration leaves me without a dedicated UART for LoRaWAN communication. Since I can’t use a third UART, I’ve tried sharing UART2 between debugging and LoRaWAN communication.
I’ve hardcoded the AT commands in the code itself to configure and join the LoRaWAN network, so they’re not being entered manually. However, after configuring the LoRaWAN module, I’m unable to join the network server:
I’m looking for advice on:
Any insights would be greatly appreciated!
Thank you for your time and assistance!
Solved! Go to Solution.
2024-10-28 08:01 AM
@PrathamSalunkhe wrote:The STM32WLE5 in the RAK3172 module has three UART peripherals, but only two can be used simultaneously.
Could you explain that? Is it a limitation of available pins?
@PrathamSalunkhe wrote:
- UART2: Used for debugging.
I presume you mean printf-style debug?
Rather than use up a hardware UART just for printf, maybe:
2024-10-28 08:01 AM
@PrathamSalunkhe wrote:The STM32WLE5 in the RAK3172 module has three UART peripherals, but only two can be used simultaneously.
Could you explain that? Is it a limitation of available pins?
@PrathamSalunkhe wrote:
- UART2: Used for debugging.
I presume you mean printf-style debug?
Rather than use up a hardware UART just for printf, maybe: