I have a PCM signal recording of UART data after high-pass filter. The recording looks like this: PCM

I know baud rate and parity setting beforehand. What algorithm could help me recover actual binary data from the recording automatically?


1 Answer 1


This signal looks pretty good, so that a simple sign decision gives you "low" or "high" periods.

Then, you just start at the beginning, and count samples until you find your start bit.

From the start bit, you just sample your signal in 1 bit period, 2 bit periods, ... and get your transmit data stream. Remember, UART is by definition unsynchronized.


Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.