-1

I'm currently working on a project to be implemented on a Xilinx Zedboard, using Simulink Embedded Coder methodology.

i need to interface an analog sensor (Electret Microphone) with the Zynq,i know that the XADC need to be instanciated in the PL then linked to the PS with the AXI, the DATA will be in the SDRAM that i need in my algorithm, but i don't know how to do it actually.

Thank you

Sami Ben
  • 1
  • 1

2 Answers2

1

Sami, there are many things you have to do. Instantiation of XADC is the first one. Then, you need to instantiate DMA and connect it properly in the FPGA part. Then, you have to write driver for DMA initialization. These isues are described (but not solved anyway) also e.g. here. After these steps you can use Simulink Embedded Coder methodology.

Community
  • 1
  • 1
  • Could you please elaborate more your answer adding a little more description about the solution you provide? – abarisone May 25 '15 at 13:23
0

Check at the PDF with the link, section: 2.5.1 I/O Peripheral (IOP) Interface Routing

http://www.xilinx.com/support/documentation/user_guides/ug585-Zynq-7000-TRM.pdf

Good luck.

  • When you answer to a question by a link, please also summarize all relevants advices. Remember a link can expire soon after you provide it. – AFract Apr 02 '15 at 14:21
  • Hi, Thank you for the response, but my method is completely different, i want to implement it on a Xilinx Zedboard, using Simulink Embedded Coder methodology. like in this tuto http://www.mathworks.com/help/hdlcoder/examples/getting-started-with-axi4-stream-interface-in-zynq-workflow.html but i don't know how to work with the external port ( the sensor ) – Sami Ben Apr 02 '15 at 18:12