Saturday, 28 February 2015

Clock Synchronization Problem

After testing the whole circuit and it is working as expected by using the same clock for both transmitter and receiver. But the biggest problem is that when I separate the two pieces apart and using different separate clock the problem occurred because the two clocks were not in sync both transmitter and receiver. But the system still transmitting and receiving data perfectly fine, when they are in sync I can hear the music when they are not I've got this jitter noise. Found out that the problem was the frame clock since the frame clock trigger the PCM transmitter and receiver. Therefore, the frame clock must be absolutely in sync. Since the PCM receiver need to know when the information is being sent and this can be achieve by using structure called frame. The beginning of the frame consists of repeated copies of a special bit pattern called a frame marker. So the frame markers are repeated several times to allow time for bit synchronization to be achieved before the arrival of the information bits. And then the frame markers are followed by a stare of message marker which is another special bit pattern, to mark the start of the information bits. Therefore, in order to solve this problem I need to do a lot research on how to recovery the frame clock from the transmitter so both transmitter and receiver clock are in sync.

No comments:

Post a Comment