Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

how fpga(spartn6) caputres data in such a interface?

Status
Not open for further replies.

gauz

Junior Member level 3
Joined
Jul 18, 2005
Messages
26
Helped
0
Reputation
0
Reaction score
0
Trophy points
1,281
Activity points
1,537
tlk.jpg
Hi all,



In my design there is a TI transcever tlk2211 interfaces to spartn6, which send data(RD) in ddr mode, and sourced with two inverted clk(RBC0/1) to capture the data in each of the rising edge. the waveform as shown in the attachment,



I'm a little puzzled how should I capture the data and sync to the internal clock?

is there any way to merge the two clock to a signle clock and capture the data with this clock?



Thanks,

Gauz
 

I recognize a K28.5 character. This is typically a sync character to help a CDR (clock and Data Recovery) unit retrieve clock and data from this stream of data

You'll need to design a CDR though.
What datarate are you talking about?
 

The TLK has the CDR built-in, so he won't need to design that.

In answer to original question, you don't want to try to merge the clocks, just use them to extract the data according to the data sheet timing diagram. Combine the data after you have received it. The sync/pass pin tells you when the sync charatcer is detected and from that signal you then know the correct order of the data blocks that follow.

Look here for info on the data combining: http://www.ralf-hildebrandt.de/publication/pdf_dff/pde_dff.pdf

Note that he uses both edges of a single clock, you have two clocks using the same edge, so change your code accordingly.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top