Altera_Forum
Honored Contributor
13 years agoA/D converter-FPGA-USB
Hello, can anybody provide some basic idea to get digital data from A/D converter(HSMC) into cyclone IVE fpga and pass it into computer via USB port. Thanks in advance
Hi, As output from 14 bit ADC is in 2's complement form having 1 volt reference voltage. and I am trying to convert it into Sign Magnitude in following way:
process (CLOCK_50) begin if rising_edge(CLOCK_50) then if (ADC_DA(13)='1') then --for -ve value calculation<=ADC_DA-1; calculation<=NOT(calculation); calculation(13)<= '1'; LEDR <= calculation; else LEDR<=ADC_DA; --for +ve value end if; end if; end process; but not getting desired output in signal tap anyser for LEDR here. Am I missing something??