SBAU412A November   2022  – May 2024 AFE7900 , AFE7903 , AFE7906 , AFE7920 , AFE7921 , AFE7950

 

  1.   1
  2.   Abstract
  3.   Trademarks
  4. Introduction
  5. Prerequisites
  6. Typical Bare-Metal Design Flow
  7. Background
  8. Add Microblaze and SPI IP for Use in Vitis for Embedded Development
  9. Create New Platforms in Vitis
  10. Create New Application Projects in Vitis
  11. Build Application Projects
  12. Generate SPI Log for AFE79xx EVM
    1. 9.1 Generating the LMK SPI Log
    2. 9.2 Generating the AFE SPI Log
    3. 9.3 Converting SPI Logs to Format for Vitis
  13. 10AFE79xxEVM Board Modifications
  14. 11Configure the AXI GPIO
    1. 11.1 Initializing the GPIO
    2. 11.2 Setting the Direction
    3. 11.3 Setting High or Low for Corresponding Bits
  15. 12Configure the AXI SPI
  16. 13Set Up and Power on Hardware
  17. 14Set up ZCU102 Board Interface for VADJ_FMC
  18. 15Debug Application Projects and Set up Vitis Serial Terminal
  19. 16Execute the Application
  20. 17Revision History

Introduction

This user guide is a walk-through of complete hardware and software flow to bring up SPI and GPO in a AFE79xx system along with a Xilinx FPGA. The hardware in this case refers to a Xilinx Microblaze processor based block design along with AXI SPI, AXI GPIO and other required peripherals.

The specific step-wise objectives are as follows:

  • Instantiate a block design with SPI IP in a Vivado project.
  • Map the required signals of block design to FPGA IOs.
  • Import hardware design and building a new Vitis application project for software development.
  • Compile, link, and download C program to processor along with bit file for FPGA.