2025-11-21 2:29 AM
I’m using HAL_UART_Receive_IT() on an STM32F103 to receive serial data asynchronously. The UART initialization appears correct, and I can send data successfully, but the HAL_UART_RxCpltCallback() function never gets triggered. I’ve confirmed the interrupt is enabled in NVIC and the buffer size is correct.
Is there something I might be missing in configuration or code structure that prevents the callback from firing?
Any sample code or debugging steps would be greatly appreciated. Thanks!
2025-11-21 2:59 AM
What UART interrupts do you configure, and do they fire ?
Assuming RxNE, set a corresponding breakpoint in the interrupt handler.
Do you see any signal on the Rx pin when the other side transmits ?
2025-11-21 3:06 AM
Welcome to the forum.
Please see How to write your question to maximize your chances to find a solution for best results.
@timdavid0812 wrote:Is there something I might be missing
We can't see your code, so we can't say what might be missing or incorrect!
See: How to insert source code.