I am using zedboard zynq-7000.
Actually I tried using Pmod IP cores approach before. When I use the library from github: https://github.com/Digilent/vivado-library/tree/master/ip/Pmods/PmodAD1_v1_0
When I added this Pmod it looks like this in vivado:
Since from my understanding , the AD1 has CS,D0,D1,CLK,VCC and GND as output and A0,A1, Gnd and Vcc as input pin , I dont quite understand how to connect it to zedboard in IP block...
This is totally different from what I understand about AD1, also , what is the different between Pmod_out_pin1_o , Pmod_out_pin1_i and Pmod_out_pin1_t ?
Since I get very confuse in IP core approach , I changed to use VHDL and because I originally designed to get value from AD1 and do some calculation using C program, so I need to export to SDK. However , after reading some tutorial about using SPI on zedboard , I am still confuse about it. For the future development of my project , there still a chance that I need to do it on IP core approach. Is there any tutorial about getting data from AD1 using SPI?
Btw the example you gave it quite helpful on using VHDL on AD1