04-15-2021 06:48 AM
As my question is very basic, I am using XADC IP catalog in block design. after converting into wrapper my code is mentioned below, I am getting correct value, but I am not sure how can I use my values further in program, I want to control the led's with different values of Analog, Thanks.
04-16-2021 04:32 AM
I think you had an earlier similar question. In your XADC Wizard you will want to enable an interface to read the data internal to the FPGA. You can use the DRP interface and address the register addresses for Vaux7 and Aux14 found the UG : https://www.xilinx.com/support/documentation/user_guides/ug480_7Series_XADC.pdf
04-16-2021 07:27 AM
Thanks a lot for your answer, Yes actually it was the same question but here I wrote with focused problem, I am very new and beginner, I am getting the analog value which I can see by using oscilloscope, I want to control the some output against analog value, but I am not sure how can I use this value further in program?
04-19-2021 03:50 AM
The DRP interface is what you want to use. If you select the DRP Interface you will see the ports on the Wizard.
There are details & examples in the UG on how to control the DRP interface : https://www.xilinx.com/support/documentation/user_guides/ug480_7Series_XADC.pdf
The DADDR are in given in that screenshot I sent previously eg Vaux14 = 1EH.
In the Example Design that is generated with your XADC Wizard you can simulate and see the DRP ports. The value in the DO is the reading of your Aux channel.