This question already has an answer here:
I am trying to understand UART synchronization. In a UART, the default state is high, and it starts the reception process when it receives a start bit (high-to-low transition)
In some scenarios any spike, noise or interrupt may change the state from high to low, which is enough for the UART to detect it as a start bit. I know that a UART internally handles these scenarios and avoids the process of receiving a full byyr.
Can anyone explain me how a UART handles these spikes?