pavel-demin / red-pitaya-notes

Notes on the Red Pitaya Open Source Instrument
http://pavel-demin.github.io/red-pitaya-notes/
MIT License
337 stars 209 forks source link

Understanding the project tree and using EMIO GPIO #453

Closed ghost closed 7 years ago

ghost commented 7 years ago

Hello,

I would like to use EMIO GPIO. Where does one begin when opening the project in Vivado (I am using 2016.2)?

Thanks.

pavel-demin commented 7 years ago

I would like to use EMIO GPIO. Where does one begin when opening the project in Vivado (I am using 2016.2)?

Sorry, I don't understand your question.

ghost commented 7 years ago

I am trying to create some more GPIO pins and I would like to do this via the EMIO. I want to send this GPIO output to the other Red Pitaya header. I then want to access these new GPIO pins from the Linux kernel (I would need to update the Device Tree).

What I need to know (as the starting point) is where the RedPitaya Vivado project lives so that I can create the new GPIO lines.

pavel-demin commented 7 years ago

Thanks for more details.

What I need to know (as the starting point) is where the RedPitaya Vivado project lives so that I can create the new GPIO lines.

Here are the commands to create and to open a project:

git clone https://github.com/pavel-demin/red-pitaya-notes
cd red-pitaya-notes
make NAME=led_blinker xpr
vivado tmp/led_blinker.xpr
pavel-demin commented 7 years ago

You can find more details about the project tree and about my toolchain for ZYNQ in my Club Vivado presentation (slides 90-111): http://www.origin.xilinx.com/publications/products/vivado/club_vivado/2016/einhoven-2016-presentations.zip

ghost commented 7 years ago

Thanks Pavel!