Forum Discussion
Altera_Forum
Honored Contributor
16 years agoThank you to Hawaii! I actually have an HSMC ADC card, the one that comes with the DSP Development board, but there are no examples where sampled data is written from the DAC to the SDRAM.
What I would like to do: 1) I would like to generate a signal on the FPGA and send it to the DAC (this part works fine). 2) I would like to sample the incoming signal and write the data (about 50MB) into the SDRAM 3) I would like to read the contents of the SDRAM into the NIOS2 Processor (inside the same CycloneIII FPGA) and do some signal processing operations on the sampled data. I managed to generate the signal and output it through the DAC and sample the incoming signal with the ADC. I can also read to and write from the SDRAM from the Nios Processor SOPC; I do this with a DDR2 SDRAM HP Controller (as described in AN517). My questions are as follows: How can I write the data from the ADC to the SDRAM, so that I can access it again from within the Nios2? Do I need two controllers for that, one for the Nios2 Interface, and one to interface with the ADC? How do I best interface the "signal generation block" with the NIOS2? The interface of the ADC is a 14 bit parallel output, a clock and an output-enable. The questions here are probably naive or stupid, but it's my first design... apologies. And I just wonder how people start using FPGAs - the first steps were easy, but I cannot find a lot of documentation for "second steps"... thanks in advance for any kind of help! mfrey