Capture I2S data from FPGA board to MATLAB or Simulink

17 visualizzazioni (ultimi 30 giorni)
Hi, I am using the Xilinx FPGA development board ZYBO 7020 to do the MEMS microphone project.
I can already get the signal from the microphones. And I want to do some post-processing after that.
One question I have is that how do I transfer my signal data the MATLAB, thanks.

Risposte (3)

Walter Roberson
Walter Roberson il 14 Ago 2020
SoC Blockset Support Package for Xilinx Devices has
If I read specifications correctly, the ZYBO 7020 does have an I2C interface on it.
However, the SOC support as shipped is for Zynq-7000 ZC706 and Zedboard, both of which are older systems than the 7020, so the implication is that it is possible that the 7020 is not supported. There is, however, https://www.mathworks.com/help/supportpkg/xilinxsoc/board-support.html which offers tools to add support. But I might be misreading; see https://forums.xilinx.com/t5/AI-Engine-DSP-IP-and-Tools/compatibility-zynq-7020-and-matlab-hdl-coder-and-embedded/td-p/848540

Kiran Kintali
Kiran Kintali il 14 Ago 2020
Audio System on a Zynq Board
The example shows how to build a reference design to run an audio algorithm and access audio input and output on a Zynq® board. It shows how to create a reference design which receives audio input from Zedboard, performs some processing on it and transmits the processed audio data out of Zedboard. You also generate IP cores for peripheral interfaces using HDL Workflow Advisor available in HDL Coder.
Two protocols for audio processing on Zedboard discussed in the demo
  1. I2C to configure the ADAU1761 audio codec chip on Zedboard.
  2. I2S to stream the digitized audio data between the codec chip and zynq fabric.
  1 Commento
Walter Roberson
Walter Roberson il 14 Ago 2020
https://www.mathworks.com/help/supportpkg/xilinxsoc/ref/adau1761codec.html indicates that Zedboard is the only supported board that has the ADAU1761 audio codec chip.
Zedboard appears to use SoC XC7Z020-CLG484-1 according to http://zedboard.org/sites/default/files/product_briefs/5066-PB-AES-Z7EV-7Z020-G-V3c%20%281%29_0.pdf . It appears to be an AVNET product.
The user indicates they have ZYBO 7020 which is shown at https://store.digilentinc.com/zybo-z7-zynq-7000-arm-fpga-soc-development-board/ and appears to be a Digilent product based on XC7Z020-1CLG400C . You can see from the pictures that it is not the same board: the zedboard has a radial arrangement of chips around a CPU but the ZYBO does not have that radial arrangement.
Therefore even though both boards feature an XC7Z020-* and that board has an I2C interface, the ZYBO is not supported by the material linked to here.
The ZYBO does not have an ADAU1761: it has an Analog Devices SSM2603 Audio Codec .

Accedi per commentare.


Kiran Kintali
Kiran Kintali il 15 Ago 2020
Modificato: Kiran Kintali il 17 Ago 2020
This example shows how to build a reference design to run an audio algorithm and access audio input and output on ZYBO board.

Tag

Community Treasure Hunt

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

Start Hunting!

Translated by