2025-09-27 5:38 AM
Hi,
I tried to connect a LoRa module to an STM32 controller using LPUART1. I am using HSI as the clock source and have configured PB10 and PB11 as UART RX and TX, respectively. However, I am not receiving any data while using the HAL driver API. In the Arduino IDE, I used the dedicated library for my LoRa module, and it worked.
Could anyone please explain why I am facing this issue and why I cannot replicate the same functionality in STM32CubeIDE?
Note Baud rate is 9600
Thanks.
2025-09-27 6:55 AM
If it's "not working," there's probably a bug in your code somewhere. Nobody has clairvoyance here. You'll need to show enough of what you're doing in order to spot the error.