• 0
samikhan0105

Interfacing DA2 with zybo Board

Question

Hello Everyone,

Is there any good resource or tutorial to interface DAC with Zybo board, i would like to interface the DA2 pmod with zybo by making a custom ip in Vivado (VHDL) and accessing that in Xilinx SDK.

If anyone have experience let me know.

Share this post


Link to post
Share on other sites

5 answers to this question

Recommended Posts

  • 1

Hi samikhan0105,

Here is the resource page for the PmodDA2 which has vhdl, verilog and microcontroller examples. Here is a link to creating a custom IP for the zybo. Here is another tutorial for making custom IP. You can use the DA2RefComp with a few changes to make it work as an IP.

cheers,

Jon

Edited by jpeyron

Share this post


Link to post
Share on other sites
  • 0

Than Jpeyron for your response.

Can you please help me in one more thing.

I like to send random digital values to DA2 and in response wants the equivalent voltages from the output of DA2 (which can be verify from Multimeter.) by making a custom IP. Do you have any idea how to do this.

For this I will be making an ip for DA2 to interface with zybo over SPI communication.

Share this post


Link to post
Share on other sites
  • 0

Hi samikhan0105,

Just to confirm you are looking to make an IP that will work with the ZYNQ architecture? Otherwise the verilog code provided in the link below will work in vivado on the zybo with only a one change, using an xdc for the zybo instead of a xdc for the Nexys 4. Here is a basic step by step process for making a custom ip from existing VHDL/Verilog code.  

1) make an empty project in Vivado for the zybo

2) add the code verilog/vhdl code to the project(in this case adjusting the DA2RefComp code from the veriloge example and DA2.vhd for the VHDL example here ) 

3) go to tools and select create and package IP

4) select package your current project

5) select where you want the ip to be made and keep include .xci file selected

6) click on compatibility and select the family of fpga you would like it to work on or select all of them if you would like, life cycle beta.

7) click on review and package and click on package IP, click yes

and at this point you have made a custom ip! 

Edited by jpeyron

Share this post


Link to post
Share on other sites
  • 0

Hi samikhan0105,

Unfortunately we do not have an IP for the PmodDA2. It is on the list to have an IP made for it. Currently, I would not be able to give you an ETA for it being made. On the above comments i have posted links to making custom IP's as well as a very basic step by step of the process of making the IP in vivado. 

thank you,

Jon

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now