Reading from SD – Part 1

It’s been a while since my last post, my apologies for that. Anyways I hope you can find this post useful as me; I used the next information in a project that consisted in perform a grayscale filter to an image using an AXI-Stream IP in the programmable logic part. To do so, I stored the image into the SD then read the raw of the file (which is the data without any compression or file headers) and sent it to the IP using AXI Stream functions at the associated addresses. On this post I am going to show you, how to configure the hardware in order you to do tasks like the mentioned above. So, by the end of this post, you will be able to:

Objectives:

  • Understand how the SD slot is to connect to the Zynq on the Zybo board.
  • Perform the necessary configuration in the Zynq to enable transfer SD to PS.
  • Write a software application which can read and write from/to the SD card, using FATFs library.

Tools and materials:

Main steps:

  • Vivado
    • Create new project
    • Create block design
    • Configure Zynq IP
  • Xilinx SDK
    • Import Xilffs libraries into board support package (BSP)
    • Create new project with the modified BSP
  • Preparing the SD card

Contine reading

Using Standard Pmod in Zybo Zynq-7000 Development Board – Part 2

Go to Part one

Before continue we have to edit some configuration in the Zynq, this configuration are important for set I/O peripherals and correct clock value which are necessary for the Zybo correct function at least with this hardware specification, double click on Zynq7 IP then click on Import XPS Settings then look for the settings file and press ok. we almost done now we have to set constraint.

Contine reading

Using Standard Pmod in Zybo Zynq-7000 Development Board – Part 1

Objetives:

  • To show hardware configuration which is needed to access Pmod connectors in the Zybo Board
  • To make an application using Xilinx SDK which is allowed control external LEDs connected to the standard PMOD (JE) using el BTN0 (R18)

Tools:

You are going to need:

  • Vivado
  • Xilinx SDK

Main steps:

  • Create new project
  • Create block design
  • Configure IPs
  • Set constraints
  • Program software

Contine reading