Forum Discussion
Altera_Forum
Honored Contributor
13 years agoUsing CML or DQS transceiver pins as LVDS possible in Stratix V DSP Dev Kit?
Hi,
Forgive me if the question is basic. I am new to the field of FPGAs. I give a short version of the question. And a long version of the question. For those interested :). Note: Requirement is Rx only. No Tx. Half the problem doesn't exist. All pins discussed below are with reference to input pins. :) Short version: CML and LVDS are two high-speed differential signaling standards. FGPA Development Kit 1 has pins on a port supporting CML differential I/O according to the kit reference manual. The actual FPGA on the Development Kit supports LVDS on those pins according to the FPGA manual. But the reference manual of the Dev Kit doesn't indicate support of LVDS on that port. Is it possible to configure the actual pins of the FPGA to take an LVDS input instead of CML. Long version: Altera Stratix V DSP Development Kit. (Supports CML and LVDS on PortA) connected to Altera Stratix III Development Kit. (Supports LVDS only) Basically we want more LVDS lines on the Stratix V to receive input from the DE3 on a wider bus between the FPGAs. So looking for additional pins. Port A of the KIT has CML Rx receivers that could be configured as LVDS on the FPGA. Port B of the KIT has some differential DQS compatible pins that could be configured as LVDS on the FPGA. In both cases, the reference manual of the kit does not indicate that the pins on the port are compatible to LVDS. The FPGA itself supports LVDS input according to the device handbook. The connecter and cable between the boards will be based around Samtec EPLSP A possible work around would be AC coupling between CML/LVDS Using an IC by TI sn65cml100 I'd like some guidance on going about such a task and whether its possible or not? Cheers. Thanks for reading till here. - Zubair p.s. I can't post real hyperlinks cause I just joined the forum. I had links pasted in at every statement pointing to pdfs ..21 Replies
- Altera_Forum
Honored Contributor
--- Quote Start --- The DE3 setup already exists. Along with a version of the custom ADC Front-end daughter cards. --- Quote End --- Ok. I just wanted to throw a couple of ideas out there to see if they were useful. --- Quote Start --- Currently, we are upgrading the capability of the entire setup by adding a Stratix V behind 2 DE3s. Hopefully, in the next iteration, we'll have ADC's with the JEDEC standard. And we'll be able to directly connect a lot of ADCs with one FPGA kit. Indeed, that would simplify stuff a lot :). --- Quote End --- Given that the ADC data is multiplexed onto a pair of lanes, I suspect there will be enough transitions that you could interface a single lane to the CDR unit of a transceiver. However, I think you'd encounter a lot of problems trying to 'recover' your 6-bits of data out of that data stream, since the frame clock you would use for an LVDS application would not really be available for the transceiver channel (keep in mind that each receiver CDR PLL will have an arbitrary phase shift relative to any of the LVDS receive channels or any PLL locked to the frame clock). My advice would be to steer clear of the transceiver channels for ADC interfacing. However, you could consider them as communications interfaces for transferring ADC data between boards. For example, ADC-to-DE3 interface via LVDS, and then DE3-to-Stratix V data transport using transceivers (and possibly Stratix V to Stratix V transport via transceivers if needed). Cheers, Dave - Altera_Forum
Honored Contributor
It was actually wonderful of you to throw some ideas. Throughout our brainstorming sessions, none of us found out about the upcoming JEDEC standard..
Thanks for the heads up. Embedding the frame clock within the signal could be tricky in that case. Lets hope the IC manufacturers handle these issues. The main benefit of using ADCs designed for a specific purpose is this. They cater the common configurations and problems faced in that specifc application within the IC. Like the phase shifts you mention. Vendors usually cater for common clocks and daisy chain configurations of IC's which ensures (to a reasonable extent of accuracy) the phase margins between the signals. AD9671, an 8-channel ADC for Ultrasound applications is coming soon. The preview page shows : "the ADC contains several features designed to maximize flexibility and minimize system cost, such as a programmable clock, data alignment, and programmable digital test pattern generation. The digital test patterns include built-in fixed patterns, built-in pseudo random patterns, and custom user-defined test patterns entered via the serial port interface." The DE3(Stratix III) does not have any transceivers. Would have simplified a lot of things if it did.. Thanks, Zubair - Altera_Forum
Honored Contributor
--- Quote Start --- It was actually wonderful of you to throw some ideas. Throughout our brainstorming sessions, none of us found out about the upcoming JEDEC standard.. --- Quote End --- Glad to hear that it helped. --- Quote Start --- Thanks for the heads up. Embedding the frame clock within the signal could be tricky in that case. --- Quote End --- Yeah, I think it would be more trouble than its worth at this point. --- Quote Start --- AD9671, an 8-channel ADC for Ultrasound applications is coming soon. The preview page shows : "the ADC contains several features designed to maximize flexibility and minimize system cost, such as a programmable clock, data alignment, and programmable digital test pattern generation. The digital test patterns include built-in fixed patterns, built-in pseudo random patterns, and custom user-defined test patterns entered via the serial port interface." --- Quote End --- Alas, you often find a better part out there, or proposed ... usually after it is too late for the current project :) --- Quote Start --- The DE3(Stratix III) does not have any transceivers. Would have simplified a lot of things if it did.. --- Quote End --- Why not obtain a couple of DE4's then, or perhaps Stratix IV GX Development kits? The University Program might have an affordable option. You'll need to tradeoff how much effort it'll take to get data from the DE3 to the Stratix V. You might find its easier to use the HSMC connectors on the Stratix IV kit to get ADC data into the FPGA, and then use the transceivers on the PCIe edge connector to get over to the Stratix V. Samtec have PCIe edge-connector to SMA breakout cables (I have some). I can give you the part numbers if you need them. Cheers, Dave - Altera_Forum
Honored Contributor
The DE4/Stratix IV Dev kit only have 38 or 36 LVDS pairs. You gain transceivers but loose ADC channels per board.
Also, we already have DE3 boards with us. :) "Alas, you often find a better part out there, or proposed ... usually after it is too late for the current project " Indeed! After the project, you always have a dozen ideas on how to do it better. Next time :p Thanks, Zubair - Altera_Forum
Honored Contributor
--- Quote Start --- The DE4/Stratix IV Dev kit only have 38 or 36 LVDS pairs. You gain transceivers but loose ADC channels per board. --- Quote End --- Yeah, I see; clk+17-bits RX per HSMC. I guess the DE3 has a couple of extra HSMC connectors you can use. --- Quote Start --- Also, we already have DE3 boards with us. :) --- Quote End --- Having hardware in-hand always helps push the decision making :) Good luck with your project. Feel free to ping me anytime you feel the need for a discussion. Cheers, Dave - Altera_Forum
Honored Contributor
--- Quote Start --- Yeah, I see; clk+17-bits RX per HSMC. I guess the DE3 has a couple of extra HSMC connectors you can use. Having hardware in-hand always helps push the decision making :) Good luck with your project. Feel free to ping me anytime you feel the need for a discussion. --- Quote End --- Indeed. I'll try not to bother with small stuff :). Thanks a lot for the help. Regards Zubair - Altera_Forum
Honored Contributor
--- Quote Start --- My advice would be to steer clear of the transceiver channels for ADC interfacing. However, you could consider them as communications interfaces for transferring ADC data between boards. For example, ADC-to-DE3 interface via LVDS, and then DE3-to-Stratix V data transport using transceivers (and possibly Stratix V to Stratix V transport via transceivers if needed). --- Quote End --- Hi Dave, I stumbled upon this thread as I'm currently working on a project using a Stratix IV GX device for the first time (EP4SGX70HF35) while interfacing with 16-bit ADCs. My dilemma right now is trying to figure out the best way to get the data into the FPGA. What's the main reason you advised staying away from the transceivers when interfacing with the ADCs? If I am using the transceivers, do I need to use the ALTGX megafunction in order to get data in/out or can I treat them like regular I/O pins? Thanks. You seem quite knowledgeable. -Mike - Altera_Forum
Honored Contributor
I believe he meant that aligning samples from the ADC could pose a problem with transceivers.
If your requirement is such that samples from each channel of the ADC have to be in sync, then it might pose a problem knowing which sample was which. This shouldn't be much of a problem if there are only 3 ADC channels. The case I was discussing had 96 channels :) Although, only he can properly answer your question. This was my understanding of it. I guess it would also depend on the ADC in question.. Which part are you using? Hope this helps. - Zubair - Altera_Forum
Honored Contributor
--- Quote Start --- I believe he meant that aligning samples from the ADC could pose a problem with transceivers. If your requirement is such that samples from each channel of the ADC have to be in sync, then it might pose a problem knowing which sample was which. This shouldn't be much of a problem if there are only 3 ADC channels. The case I was discussing had 96 channels :) Although, only he can properly answer your question. This was my understanding of it. I guess it would also depend on the ADC in question.. Which part are you using? Hope this helps. - Zubair --- Quote End --- Thanks Zubair, I started a new thread for this since my reply to this thread was getting hung up in the approval process. Dave answered my question in the other thread. I have a lot of channels too (16 x 3 ADCs) that I need to get into the FPGA so the transceivers do not seem like the right solution. I'm using the AD9650. -Mike - Altera_Forum
Honored Contributor
Ok.
Great :) - Zubair