help needed in shift registers

Discussion in 'The Projects Forum' started by rajaero8, Jul 15, 2008.

  1. rajaero8

    Thread Starter New Member

    Jan 9, 2008
    1
    0
    hi friends i am working on a project in which serial to parallel data conversion is required .But my data transmission speed is in seconds not in milli seconds,so how to control the clock speed according to my requirement.
    and also i need how to identify the first data start and end signal.( i am going to transfer only 16 bit each time).
     
  2. RiJoRI

    Well-Known Member

    Aug 15, 2007
    536
    26
    (1) Use a clocked Serial-to-parallel converter and clock the chip when the data has settled for that byte.
    (2) Use a micro with a built-in timer. You will probably need some type of enable or start signal on a separate line.

    E.g.,
    Code ( (Unknown Language)):
    1.  
    2. Again:
    3.     Counter = 1
    4.     Do Loop
    5.         SecondsTimer = 2
    6.         Start SecondsTimer
    7.         While SecondsTimer > 0
    8.             DoNothing
    9.         Read bit level
    10.         Store bit level
    11.         Increment Counter
    12.         If Counter > 16
    13.             Exit Loop
    14.     End Loop
    15.     Transmit data
    16.     GoTo Again
    17.  
    --Rich
     
Loading...