I am sending a PN9 sequence from a sender to a receiver and want to compare the received bitstream (RB) to the sent one (SB). I am assuming that the transmission will get distorted and want to somehow correlate RB to SB in order to get a number which helps me to measure the distortion or the quality of the transmission or call it the bit error rate. Hope I have made it clear. If not, please ask. Any ideas or hints for me?
How would you compare both bit streams? On a PC? I could imagine to redirect the stream from the receiver to a PC via UART. If the PN9 which my sender generates is constant (that I assume as for now) the only question would be which tool to use in order to do the autocorrelation. Any other ideas? Maybe on an oscilloscope (I doubt thats easily possible).