Accessing XADC in ZYNQ SOC (Zedboard) using Simulink (or Xilinx System Generator for matlab)

5 次查看(过去 30 天)
Hi,
I need to configure XADC available in ZYNQ SoC using simulink in order to read a DC or AC signal. I am using zedboard for all my demonstrations. Can some one help me with this, I did not find any relevant help on MATLAB or Xilinx webpage.
If UDP Send/Recieve needs to be used then can you please illustrate the assignment of analog pin to UDP send.
Best Regards, Anirudh

回答(2 个)

rabei shwehdi
rabei shwehdi 2016-12-24
WHY NO ANSWER

Shoumei
Shoumei 2023-4-19
As of R2023a, acccesing XADC from Simulink or generated C/HDL code is not supported.
I believe you can do that by customizing device tree file for Xilinx Zynq and rebuiilding Linux Image.
Xilinx Wiki > XADC > Device Tree Setting
HDL Coder Example > Author a Xilinx Zynq Linux Image for a Custom Zynq Board by Using MathWorks Buildroot

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by