help needed in shift registers

Thread Starter

rajaero8

Joined Jan 9, 2008
1
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).
 

RiJoRI

Joined Aug 15, 2007
536
(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.,
Rich (BB code):
Again:
    Counter = 1
    Do Loop
        SecondsTimer = 2
        Start SecondsTimer
        While SecondsTimer > 0
            DoNothing
        Read bit level
        Store bit level
        Increment Counter
        If Counter > 16
            Exit Loop
    End Loop
    Transmit data
    GoTo Again
--Rich
 
Top