HAL_UARTEx_ReceiveToIdle_IT fails to initialize
Hello There,
I'm using STM32H7A3 and facing a weird issue with HAL_UARTEx_ReceiveToIdle_IT() API.
STM is connected to Cellular Modem via UART. When I turn on the modem via some GPIOs, initially it throws some init data. But when I call HAL_UARTEx_ReceiveToIdle_IT() after modem is turned ON, It fails to do so.
When I tried disconnecting STM32 Uart's Rx line and Modem's Tx line, then initialization was successful.
Any help will be appreciated.
Regards,
Keshav Aggarwal