Hi all,
I am trying to access PMODs which are connected to PL. Which header files am I suppose to include in Xilinx SDK 14.2? Any other header files should I look? I will appericiate any other information regarding accessing PMODs.
Hi all,
I am trying to access PMODs which are connected to PL. Which header files am I suppose to include in Xilinx SDK 14.2? Any other header files should I look? I will appericiate any other information regarding accessing PMODs.
The default hardware platform built into the Xilinx tools for ZedBoard does not include any Pmod information. Given the diversity of available Pmods out there, it's a bit unpredictable as to what people might plug in. To add a Pmod to ZedBoard will require you to modify the hardware platform with IP in the PL to interface to the Pmod of your choice. You will also need to modify the UCF. After doing this, when you export the new hardware platform, it will include the drivers in the BSP for the new Pmod peripheral assuming you have either used a built-in IP or properly added your custom driver to the project.
Do you have a particular Pmod in mind? I'm curious what you would find useful. Perhaps we would add this to the list of example projects we are creating.
Bryan
Hi Bryan,
I am thinking either JA1 or JB1. All I want to do is to use a simple LED module and make it work on either of those 2 PMODs. All PMODs are included in UCF file. I need to map PMODs in XPS and then after exporting hardware to SDK I just need to include correct header files(I'm guessing xgpio.h and xparameters.h) and write a C code. Am I right? I don't have any tutorial or some reference on how to do this.
The I/Os on JA1 and JB1 come from the PL. The hardware to drive an LED is a GPIO. Here is the process to do what you want. I would highly recommend you go through the Zynq Intro course that we have posted on this website. It goes through this process nearly identically with the exception that the GPIO gets tied to on-board LEDs and push-buttons. Starting from the design provided in the Intro, you would just need to change the pin mapping in the UCF for the LEDs to be the Pmod I/Os rather than the on-board LEDs.
If you have a basic "Hello World" platform up and running, here are the steps to add an LED controllable by the ARM:
Hopefully that helps. Again, the Intro training goes through all of this step-by-step. The only exception would be you would change the LED mapping in the UCF to the Pmod, and modify the software.
Bryan
Hello,
was just wondering if you could post a demo with 4 PMOD MICs on a zedboard with the ADC linked to the PL and PS.
Thanks