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

4 ビュー (過去 30 日間)
Anirudh  Acharya
Anirudh Acharya 2015 年 9 月 30 日
回答済み: Shoumei 2023 年 4 月 19 日
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