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

6 visualizzazioni (ultimi 30 giorni)
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

Risposte (2)

rabei shwehdi
rabei shwehdi il 24 Dic 2016
WHY NO ANSWER

Shoumei
Shoumei il 19 Apr 2023
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