Forum Discussion
4 Replies
- Altera_Forum
Honored Contributor
I suppose you could if the conditions were right. You would be restricted to the limitations of the device as far as the voltage levels.
Look at the datasheet for the device you intend to use. For example, here is the datasheet for Stratix IV: http://www.altera.com/literature/hb/stratix-iv/stx4_5v4_01.pdf Page 1-10 gives the differential IO standards specifications. So for example, if you look at LVDS, the minimum Vid (differential input voltage) is 10mV. Anything less than that and it would not be able to "compare". Also note that you must obey the Vcm (common mode voltage) of the device. This is where I think the usefulness as a comparator breaks down. Jake - Altera_Forum
Honored Contributor
thanks,i've see the data sheet, and the working condition is within the diff io feature. i'm going to test the differental io pins by some analog signals like sin or triangle, to see if it works.
- Altera_Forum
Honored Contributor
there is an IEEE paper on abusing FPGA I/O as sigma delta converters:
http://ieeexplore.ieee.org/xpl/freeabs_all.jsp?arnumber=1328388 - Altera_Forum
Honored Contributor
that was kind of a half baked thought. i should add, you may be able to get some ideas from the IEEE paper to use the I/O as a comparator rather than a full ADC.