Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to interface FPGA and DAC?

Status
Not open for further replies.

daniel488

Newbie level 5
Joined
Jan 16, 2010
Messages
9
Helped
1
Reputation
2
Reaction score
1
Trophy points
1,283
Location
Poland
Activity points
1,351
Hi ,

could you tell me how can I interface ARM® Cortex™-M1–Enabled ProASIC3L
Development Kit
and DAC AD9706. I have vhdl code which generate sine wave and I would like to see this sine onoscilloscope. I set data ports but I dont know what should be on the others.
Header of FPGA board:
**broken link removed**
Header of DAC:
**broken link removed**
What else is neccesary?
 

Connect all the digital signals on the DAC to the FPGA and the write an FPGA controller to send the data based on the timing of the DAC and you will see the proper signal coming out.

The issue with the AD9706 is that you need to change the setting of the DAC via SPI, you can do that either by adding a SPI controller to your FPGA and let the Coretx-M1 processor handle the configuration or do this in VHDL/Verilog (much more difficult and not so good).

Cheers,
/Farhad Abdolian
 

If I understand properly I can set frequency of sine wave with divider in vhdl and send samples to proper ports, oui?
 

The frequency of your sinewave depends on 2 things, the first is the number of sample your VHDL is generating for each cycle and the second one is the frequency of the clock that writes to the DAC.

Say, you have 256 steps for your sine wave, and your clock frequency is 25.6 MHz, you will get a sinewave signals that is 100 KHz.
 

Status
Not open for further replies.

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top