Good evening,
I am using LPUART1 in LPUART_WriteBlocking and LPUART_ReadBlocking mode. I need it to exit the wait mode if my UART does not receive anything within a certain number of seconds. I have noticed that there is a parameter called UART_RETRY_TIMES that can be used to set a timeout. However, when I set this parameter, I notice that a timeout is not set, but the UART no longer works correctly. Could you tell me how I can exit blocking mode with a timeout?
Thank you.
Best regards