Get data from AD (parallel), is possible?
Show older comments
Hi. I'm new to matlab. I'm a hobbyst, not a company or anything like this. I brought MATLAB personal with some modules and I'll use to learn FPGA with ZedBoard + AD9361. I know that this board (both) are supported by simulink and I'll test/learn using simulink and block-design. My plan is to make an FM transmitter (for start) when my boards arrive (already brought, still waiting delivery). After that, my plan is to make an receiver and then, do the same receiver, but using another frontend (including ADC). So my question is: imagine that I have plugged in another ADC into my ZedBoard (let's say AD9226), is possible to read this ADC in simulink, like AD9361 does? If yes, how? Where can I find any article or tutorial about this?
Even further: if I want to generate HDL code in the future (using HDL Coder), how can I integrate this 'custom' AD for code generation?
PS: I know that I can't buy HDL Coder for personal. My plan is to use trial for testing, since I'm using just for learning.
Thank you.
Accepted Answer
More Answers (2)
Noam Levine
on 15 Nov 2019
0 votes
With the Zedboard (and likely other Zynq-based systems), the converter may be connected to pins tied to programmable logic (PL), but the host interface is typically connected through the processing system (PS) on Zynq, through an Ethernet link to the PC, so something needs to manage the data flow to the host, and the data flow over the AXI interface in the Zynq between the PL and PS. That something is typically Linux, and if you plan to use MATLAB and Simulink to generate code for the Zynq, eventually, the IP core generation workflow assumes that there is a Linux OS running on the PS. Even for just data I/O into MATLAB and Simulink, our hardware support packages use a Linux libIIO framework to manage hardware-to-host communications. Check-out the Analog Devices Wiki for an good intorduction to libIIO.
If there's no PMOD board, or FMC card for the ADC you want to use, how do you plan to connect it to the ZedBoard, or are you planning to build your own board? Do you have already have an HDL design from which you can generate a bitstream for the Zynq to configure it to talk to the ADC (generate the right clocks, ensure it meets timing, etc)?
1 Comment
Jonis Maurin Ceará
on 15 Nov 2019
arash arash
on 4 Mar 2020
0 votes
hello friends
thank you if anyone has simulated this article
Categories
Find more on Analog Devices ADALM1000 Support from Data Acquisition Toolbox in Help Center and File Exchange
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!