I am using 12bit ADC (AD7476)and cyclone-1 FPGA. input analog value need to read in FPGA and display through RS232 .Kindly help me in VHDL coding.
pall wrote: > Kindly help me in VHDL coding. Show what you have and describe the problems you encounter with that. Then maybe one is able to help you. But no one will do your job/homework for free. A little hint: you may use a SPI master and connect it in a clever manner to a RS232 TX engine. Maybe in between you must scale the ADCs values and translate the binary values to BCD or to ASCII... To get an idea what to do have a look there (its German): http://www.lothar-miller.de/s9y/categories/45-SPI-Master http://www.lothar-miller.de/s9y/archives/76-BCD-nach-ASCII.html http://www.lothar-miller.de/s9y/archives/93-Binaer-nach-ASCII-Hexadezimaldarstellung.html http://www.lothar-miller.de/s9y/archives/84-Binaer-nach-BCD-mit-1-Takt-pro-Stelle.html http://www.lothar-miller.de/s9y/categories/42-RS232 And to controll that all you will additionally need a FSM with a few states...