Solving Impedance Matching Problem Connecting TTL Output to Spartan2 FPGA

AI Thread Summary
Connecting a TTL output from a comparator chip to a Spartan II FPGA can be done directly, provided the FPGA inputs are configured correctly for TTL. Issues with signal transitions may arise from voltage differences between grounds or unstable power levels, which should be measured to ensure proper operation. If clean power and correct IOB configuration are confirmed, transmission line effects could be causing problems, particularly at higher frequencies. Implementing a low-pass filter can help reduce noise by slowing the rise time of the signal. Additionally, if the comparator's output is asynchronous, synchronization failures may occur, complicating reliable sampling.
bigzuo
Messages
1
Reaction score
0
if i want to connect a comparator chip's output (TTL) to Spartan2 FPGA board, can i directly do it, do i need to consider the impedance match? when i directly connect them, I will see the transition on the edge of the waveform stored (after FPGA processing, i save the output of FPGA and plot on matlab) but when i terminate some resistors between them, these transition will become less( up to resistor's value), then let's say i found 1 kohm will sort out this problem, but only sometimes, not always, the other time the transition will appear again! i have no idea about this problem, could someone give me a clue. Thanks a lot!
 
Engineering news on Phys.org
I don't know what you mean by "transition," but I gather it's some kind of effect you're looking to avoid.

The Spartan II FPGA inputs can be configured for a wide variety of signalling standards, TTL included. Make sure the inputs are configured properly, and you should have no problem directly connecting a TTL device to it. The impedance of any reasonably good output driver is very low, and the impedance of any reasonably good input is very high. Obviously, you don't want to match them!

- Warren
 
Firstly I recommend following chroot's advice and insure your IOB is really TTL by checking the ISE par pad report.

Next I recommend measuring the voltage difference between the chip grounds. Especially if they are on different evaluation boards or bread boards. They could easily be off by 100s of mV causing the output of the part to near the thresholds VOLmax or VOHmin of the FPGA. While you are there, run your system and measure the power voltages. While the system is running insure you have stable (measure the AC voltage) valid (measure the DC voltage) levels.

If you have clean power and are using a TTL IOB then you may have transmission line problems. The severity of impedances mismatches and the slew of other problem which arise at higher frequencies are all related to the rise time of the signal. Therefore the best and easiest way to make them go away is to add a low pass filter (using resistors and capacitors in the standard way) to the output of the driver and slow the rise time down (i.e. remove the high frequencies of the signal).

Choosing the time constant is the hard part. Basically the bigger you can make the time constant the less noise you will see on the signal. I'd go with 25% of the sample time and look at the signal. If it is still experiencing enough noise to cause a false sampling I would increase rise time by increasing the sample time (aka lower the sample rate).

Of course there are other options, terminations, etc, but they are much more difficult to get right. So it will boil down to how important is the high sample rate really...
 
Oh ya. Is the output of this comparator synchronous? If it is asynchronous, which I bet it is, and you are not synchronizing the output after taking a large number of samples, the probability of synchronization failures occurring is very high.
This article covers the subject in enough detail to get something working...
http://www.edn.com/article/CA310388.html
 
Hi all I have some confusion about piezoelectrical sensors combination. If i have three acoustic piezoelectrical sensors (with same receive sensitivity in dB ref V/1uPa) placed at specific distance, these sensors receive acoustic signal from a sound source placed at far field distance (Plane Wave) and from broadside. I receive output of these sensors through individual preamplifiers, add them through hardware like summer circuit adder or in software after digitization and in this way got an...
I have recently moved into a new (rather ancient) house and had a few trips of my Residual Current breaker. I dug out my old Socket tester which tell me the three pins are correct. But then the Red warning light tells me my socket(s) fail the loop test. I never had this before but my last house had an overhead supply with no Earth from the company. The tester said "get this checked" and the man said the (high but not ridiculous) earth resistance was acceptable. I stuck a new copper earth...
Thread 'Beauty of old electrical and measuring things, etc.'
Even as a kid, I saw beauty in old devices. That made me want to understand how they worked. I had lots of old things that I keep and now reviving. Old things need to work to see the beauty. Here's what I've done so far. Two views of the gadgets shelves and my small work space: Here's a close up look at the meters, gauges and other measuring things: This is what I think of as surface-mount electrical components and wiring. The components are very old and shows how...
Back
Top