F
Frank Buss
Guest
krunal wrote:
the ADC should be very similar, because both chips on the Spartan3E starter
kit uses the SPI protocol and are from the same company.
For some code to output something on the DAC, see this VHDL code:
http://www.frank-buss.de/SignalGenerator/vhdl/spartan3e_test.vhd
The DAC parts needs about 30 lines. Reading the LTC1407 ADC and controlling
the LTC6912 amplifier is very similar. Maybe you can save some LUTs, if you
are using the Picoblaze.
Another interesting idea would be to implement some kind of very simple
microcode to define which bytes needs to be transfered to which SPI ports
and then using some BRAM (as ROM) to control it. But the Spartan 3E has
many free LUTs, so you can do it in pure VHDL (but use functions and
procedures to make the code less redundant).
--
Frank Buss, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de
Where do you have problems with the ADC? If you have already done the DAC,I want to interface on board ADC to spartan 3E startkit.
Actually I am developing digital filter in FPGA for that I need ADC
and DAC interface with Spartan 3E. I have done with DAC but now I want
to interface amplifier and ADC which are on board in Spartan 3E
starter kit .........If any one have it's VHDL or Verilog code please
give me..........Even I have find a document for implementing
amplifier and ADC usign picoblaze but I don't want it........So please
help me...............
the ADC should be very similar, because both chips on the Spartan3E starter
kit uses the SPI protocol and are from the same company.
For some code to output something on the DAC, see this VHDL code:
http://www.frank-buss.de/SignalGenerator/vhdl/spartan3e_test.vhd
The DAC parts needs about 30 lines. Reading the LTC1407 ADC and controlling
the LTC6912 amplifier is very similar. Maybe you can save some LUTs, if you
are using the Picoblaze.
Another interesting idea would be to implement some kind of very simple
microcode to define which bytes needs to be transfered to which SPI ports
and then using some BRAM (as ROM) to control it. But the Spartan 3E has
many free LUTs, so you can do it in pure VHDL (but use functions and
procedures to make the code less redundant).
--
Frank Buss, fb@frank-buss.de
http://www.frank-buss.de, http://www.it4-systems.de