Capturing data from a PMOD

Post a reply

Confirmation code
Enter the code exactly as it appears. All letters are case insensitive.
Smilies
:D :) ;) :( :o :shock: :? 8-) :lol: :x :P :oops: :cry: :evil: :twisted: :roll: :!: :?: :idea: :arrow: :| :mrgreen: :geek: :ugeek:
BBCode is ON
[img] is ON
[flash] is OFF
[url] is ON
Smilies are ON
Topic review
   

Expand view Topic review: Capturing data from a PMOD

Re: Capturing data from a PMOD

Post by support »

Hello,

The PMODs, as well as several other I/Os (push buttons etc.) go to pins that are routed to the PL (FPGA) part of the device. In out-of-the-box Xillinux, these pins are routed further to the PS (ARM processor's) GPIO pins.

Please refer to the xillydemo.ucf file for which physical pin goes to which GPIO.

This allows a very low-rate read/write access to these pins, using Linux' standard GPIO API. An example is shown on this page, incidentally demonstrating how to access PMOD B:

http://billauer.co.il/blog/2014/07/bash-gpio-xillinux/

Note that Linux also supports a function API, which is significantly faster.

If the GPIO interface isn't fast enough, it's possible to modify the FPGA part, and route these pins to logic, which ends up interacting with Xillybus' IP core for capturing the data. In this case, common FPGA design techniques apply. For this case, please refer to section 5.4 of the Getting started with Xillinux for Zynq-7000 EPP guide (available at Xillybus' site's doc section) for avoiding possible problems.

Regards,
Eli

Capturing data from a PMOD

Post by Guest »

Hello,

I am working on a Zybo with Xilinux and I have difficulties understanding how the capturing works. I found in the documentations the part about implementing data acquisition and I understand the principle, what I don't get is how can I access a specific pmod header, like for example JB? Can you help me, please?

Top