The application provides a self-synchronous receiving method, device, equipment, medium and program product for UART
asynchronous serial communication, the method comprising: continuously sampling a serial input
signal of a UART receiving pin, and forming a window sequence updated over time according to a preset window length; performing synchronization
pattern detection on the window sequence, and generating a synchronization trigger
signal when the window sequence meets a preset synchronization pattern; performing synchronization hold control when the synchronization trigger
signal is generated, masking a new synchronization trigger during the synchronization hold, and outputting a synchronization enable signal for bit timing based on the synchronization trigger signal; and triggering bit-level resolution of the received serial data and driving receiving state update by using the synchronization enable signal to complete the reception of a frame of data. The application provides a self-synchronous receiving mechanism without fixed
baud rate configuration, high synchronization accuracy and strong robustness, and can maintain reliable communication performance in low-power embedded systems and high-
noise application environments.