02-09-2016 01:13 PM
I bought zedboard 7000. I have been trying to do a very simple implementation using the simulink but I was not successful. here is my problem:
I want to send an analog signal to zeboard and configuring the related interface in matlab simulink and apply a gain in simulink and receive it as analog or digital at the load (say led). through this circuit, I want to change the amout of gain and see the response on the loard. this part should not be a big deal but connection and configuration of interface in matlab simulink is my problem. I would appreciate, if anyone can help me in this matter.
02-09-2016 11:41 PM
@barzegaran Not sure if you have gone through the videos 1-4 on how to run Simulink on your zedboard.
If not, would be worth to check it out
02-10-2016 12:35 PM
Certainly checking out the tutorial videos is a good place to start.
The base Zynq Support Packages (one for Embedded Coder and one for HDL Coder) enable the hardware/software codesign workflow using MATLAB and Simulink, including scripting Vivado in the background to automate bitstream generation and communication with the board. The base support package gives you access to the LEDs on the ZedBoard and a bunch of the GPIO pins, but does not include peripheral drivers for the on-board CODEC.
Integrating a CODEC interface is one of the modules in the Programming Zynq with MATLAB and Simulink Training Class and requires the user to create their own custom reference design, which is based on the Hardware support package, but needs to take into account the CODEC interface programming
My recommendations for getting started with Zynq are:
You can also contact firstname.lastname@example.org for additional information.
05-26-2016 08:50 AM
i think i have the same issue. I'm also new to the system and the hints given by @noamlevine were really helpful. Until now i have just programmed spartan3 fpga using vhdl and now i have a hard time to understand the workflow needed for the zynq family.
The fist goal is to design a filter using Matlab/Simulink, generate Bitstream with workflow advisor and load it to the zedboard.
I've already done the mentioned totorial to let the leds blink using simulink. Also have i done the tutorial from http://www.zynqbook.com/ where 'c' is used to get the codec working. Maybe someone can answer some simple questions to get a better understanding of the system.
a) What exactly is loaded to the sdcard in the initializing process in Matlab?
b) In the blinking leds example: how is the ethernet and uart communication organized?
c) If i need a own reference design to make the codec work. What reference design is used to make the leds blink?
I really hope anybody can help me here to get a little push in the right direction.
Have a nice day