khanafzaal
New Member
My project needs a 20 bit serial data stream a cLK and OE,
I need to generate this bit stream from another 16 bit stream ,cLK
and OE,i.e. these additional 4 bits to be generated using microcontroller
and to be added at known locations in the 20 bit stream. For eg.
if the available 16 bit stream is
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
then generate c0 c1 c2 c3 and add to above stream to make it look
c0 c1 b0 b2 b3 b4 b5 c3 b6 b7 b8 b9 b10 b11 b12 b13 c3 b14 b15
I haven't use any microcontroller before, I wish to use PIC12C508 for this
purpose,please extend your help ot make this possible.
I need to generate this bit stream from another 16 bit stream ,cLK
and OE,i.e. these additional 4 bits to be generated using microcontroller
and to be added at known locations in the 20 bit stream. For eg.
if the available 16 bit stream is
b0 b1 b2 b3 b4 b5 b6 b7 b8 b9 b10 b11 b12 b13 b14 b15
then generate c0 c1 c2 c3 and add to above stream to make it look
c0 c1 b0 b2 b3 b4 b5 c3 b6 b7 b8 b9 b10 b11 b12 b13 c3 b14 b15
I haven't use any microcontroller before, I wish to use PIC12C508 for this
purpose,please extend your help ot make this possible.