I want use ADC at FPGA, but honestly i didnt understand to coding at FPGA use VHDL.. my project is to read output from saensor CO, but before go to there.. i want to try coding simple AD with input 5volt and i can see the output from FPGA.. can someone help me? or give me good tutorial.. cause i already search but only get code without good explanation with that code.. thanx so much,
Where are the information? What (kind of) FPGA? What (kind of) Sensor?
my FPGA Spartan 3E.. sensor MQ 7 for Carbon monoksida, but i just want to try read input data 5volt from FPGA..
> but i just want to try read input data 5volt from FPGA. ????? Lets try this way: 1. 2. 3. 4. 5. sensor -> 0..5V -> adc -> serial/SPI/parallel -> fpga 1. http://www.sparkfun.com/products/9403 2. voltage interface 3. unknown 4. unknown 5. S3E > to try coding simple AD with input 5volt You don't want to code an adc. I suppose you simply want to code the interface to the adc... > and i can see the output from FPGA.. Where do ypou want to see the output? A fpga itself has no display or whatsoever...
ok i just want make clear my question. i just want to know how to read ADC from FPGA and i just make example input is 1-5 volt. and the output is biner or hexa? and i want see the output at LED.. so if any1 can help me to explain it im very appreciate it.
Hey vicky, I got a premontion that you want to build a AD-Converter within an fpga. If I'm right, that this is not possible. If you just want to access an existing AD-Converter by using your fpga, than you'll have to follow the links posted an see, how this is could be archieved. Have a nice day, some user.
> i just want to know how to read ADC from FPGA Which ADC? There are thousands of ADCs and a big bunch of possible interfaces. Draw a picture/schematic of your system and/or answer the question i asked already. >> 3. unknown >> 4. unknown > and the output is biner or hexa? binary, octal, hexadecimal or decimal are just different views on the same value. Lets say, you have a value of 100dez this is then binary 001100100 and also 64hex and also 144oct. But its always the very same value! > i just want to know how to read ADC from FPGA Have you previously done such a thing with e.g. a microcontroller? Whats your knowledge level? Beginner? SomeUser wrote: > I got a premontion that you want to build a AD-Converter within an fpga. > If I'm right, that this is not possible. There are FPGAs on the market equipped with an on-chip ad converter. Actel/Microsemi has them...
you have to configure your ADC chip if u r interfacing ADC to FPGA kit by using datasheet of that ADC . You have to write .ucf file for the same and for displaying result you have to use LCD or serial communication. But again for this u have to write code for LCD and serial programming. If you want to use LED for o/p then u have to use switches combination and also see manual for writing ucf file(switches,LED,ADC,clock).
I want to interface ADC to CPLD, but honestly i didnt understand to coding at cpld use VHDL.. i want to try coding simple AD7705 with input 5volt and i can see the output from CPLD XC9572.on swiches(LEDS) can someone help me? or give me good tutorial.. cause i already search but only get code without good explanation with that code.. thanx so much,
Please start an new thread for a new question! And add information about your system, your toolchain. Keep in mind: it's your homework, you should do it yourself. So, show what you have tried so far and tell whats the problem with it. Then we can look for a sloution.