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

Create New Application Projects in Vitis

After the build is complete, create a new application project in Vitis. To create a new project, follow these steps:

  1. Right-click the Platform project, go to New, then click Application Project (see Figure 7-1).
    AFE7920 Creating New
                            Application Project Figure 7-1 Creating New Application Project
  2. When the New Application Project window appears (see Figure 7-2), click Next.
    AFE7920 New Application
                            Project Figure 7-2 New Application Project
  3. Select the newly created platform ZCU102ps and click Next (see Figure 7-3).
    AFE7920 Selecting the
                            Application Project Figure 7-3 Selecting the Application Project
  4. Type a new application name. ZCU102ps_SPI was used as an example.
    AFE7920 New Application
                            Project Name Figure 7-4 New Application Project Name
  5. Select standalone on microblaze_0 and click Next (see Figure 7-5).
    AFE7920 Application Project
                            Name Figure 7-5 Application Project Name
  6. Select Hello World from the list of templates and click Finish (see Figure 7-6).
    AFE7920 Selecting
                            Template Figure 7-6 Selecting Template
  7. A fresh C project appears on top where the actual application development can start.