SBAU412 November   2022 AFE7900 , AFE7903 , AFE7906 , AFE7920 , AFE7950

 

  1.   Abstract
  2.   Trademarks
  3. Introduction
  4. Prerequisites
  5. Typical Bare-Metal Design Flow
  6. Background
  7. AFE SPI IP Container Pinout
  8. TI AFE SPI IP Container
  9. Create Block Designs With TI AFE SPI IP
  10. Create New Platforms in Vitis
  11. Create New Application Projects in Vitis
  12. 10Build Application Projects
  13. 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
  14. 12Configure the AXI SPI
  15. 13Create Boot Images to Run on SD Card
  16. 14Set up and Power on Hardware
  17. 15Set up ZCU102 Board Interface for VADJ_FMC
  18. 16Debug Application Projects and Set up Vitis Serial Terminal
  19. 17Execute the Application

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 9-1).
    GUID-20220914-SS0I-GNR1-KS6G-KNL59CSGKF3V-low.pngFigure 9-1 Creating New Application Project
  2. When the New Application Project window appears (see Figure 9-2), click Next.
    GUID-20220914-SS0I-KNLM-LDB4-RFTCFRLCGJFM-low.pngFigure 9-2 New Application Project
  3. Select the newly created platform ZCU102ps and click Next (see Figure 9-3).
    GUID-20220914-SS0I-NVF2-HGGH-TJNHGC030WP4-low.pngFigure 9-3 Selecting the Application Project
  4. Type a new application name. ZCU102ps_SPI was used as an example.
    GUID-20220914-SS0I-XP7K-BNZ6-H4L0NSMMX70Q-low.pngFigure 9-4 New Application Project Name
  5. Select standalone on microblaze_0 and click Next (see Figure 9-5).
    GUID-20220914-SS0I-NNRG-VZBK-PDWRC0PSPSMP-low.pngFigure 9-5 Application Project Name
  6. Select Hello World from the list of templates and click Finish (see Figure 9-6).
    GUID-20220914-SS0I-7K1D-CT1T-H4TVG1VX1Z1D-low.pngFigure 9-6 Selecting Template
  7. A fresh C project appears on top where the actual application development can start.