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

조회 수: 6 (최근 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