Question
Enabling UART Idle line interrupt causes program to hang
I'm using STM32L062K08 MCU with HAL library. I found out setting idle line interrupt causes program to hang. It worked when I used for UART2.
__HAL_UART_ENABLE_IT(&huart1, UART_IT_IDLE); // enable idle line interrupt
What could be the possible reason for this issue?