STM32 UART Idle Interrupt configuration
Hello,
I want to use a UART Idle Interrupt Routine to handle an unknown number of incoming bytes.
I set this up for 2 UARTs right now and it works like a Charm for one of them. The working UART operates at 115200 Baud. The second Uart should work with 9600Baud.
The Problem with my second UART lies on the HW Side. Here I have a LIN Driver which gives me an unwanted echo on my Rx Side.
As you can see the first UART Message is the Echo from the Tx of my STM32 and the second UART Message is the real reply which I want to have.
It wouldn't be a problem to filter out the first response on my IT Service Routine, but the IDLE Interrupt triggerst AFTER the second UART Message resulting in a really long byte array where it sometimes also detects the high signal as '0's. Is there any way to configure the IDLE Timing? I'm using HAL .
