Clock synchronization in serial receiver

Discussion in 'General Electronics Chat' started by aliba, Oct 8, 2009.

  1. aliba

    Thread Starter New Member

    Oct 8, 2009
    2
    0
    Hi everyone, and sorry if this question is a repeated one.
    I'm working on a project that a part of it requires converting a serial data to parallel with a synchronous clock. This packet starts with 4bits for synchronization.
    My question is how I'm supposed to synchronize the clock with those 4bits?
    Thx
     
  2. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    What hardware are you using? A usart does it all ( at least the ones rigged for sync data as in many PICs ). At a lower lever use a shift register. Or do you want to work with transistors of low level ttl?

    Further with synchronous data, you just use the clock input, sync. is automatic. One pulse is all it takes ( plus data ).
     
    Last edited: Oct 8, 2009
  3. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    A USART is a "Universal asynchronous receiver/transmitter" ;)
     
  4. russ_hensel

    Well-Known Member

    Jan 11, 2009
    818
    47
    USART chips have both synchronous and asynchronous modes. according to wikipedia, I often get UART and their various different flavors confused, this time I think it happed to you.
     
  5. t06afre

    AAC Fanatic!

    May 11, 2009
    5,939
    1,222
    Well, yeah... [​IMG] Huh, of course i did know that[​IMG]But thanks anyway:D
     
  6. aliba

    Thread Starter New Member

    Oct 8, 2009
    2
    0
    Thank u for your answers. I'm designing it with FPGA with discrete ICs. I also have to mention that this is a synchronous serial transmission and receive.
     
Loading...