USB104 A7 DSPI Demo
This project demonstrates the implementation of DSPI on the USB104A7.
The application running on the microblaze processor emulates some registers to read and write to. Register 0 is tied to the buttons, while register 1 is tied to the LEDs. A console application is used to communicate with the USB104A7 via DSPI. The process of writing a 4 to the LEDs is as follows:
1. Run the console application and program the USB104A7.
2. Send “write led 4” using the console application. Alternatively use “write 1 4”.
- Including a USB A cable and 5V Power Supply
- NOTE: SW1 DDR voltage set to 1.5V
- Vivado Design Suite 2020.1 with Vitis and Digilent Board Support Files installed
- Follow the Installing Vivado, Xilinx SDK, and Digilent Board Files guide on how to install Vivado and Digilent Board Support Files.
- Used to read debug messages from the FPGA. Follow the Serial Terminal Emulator Guide for more information on installing and using Tera Term.
- Basic familiarity with Vivado and Vitis
- This experience can be found by walking through our “Getting Started with Vivado” guide
1. Connect the 5V power supply to the USB104A7. Plug the USB104A7 into the PC using the USB A cable.
Programming the FPGA
1. Download the release files from the git repo releases. This includes the DSPI Console Application, the Vivado project, and the Vitis files.
2. Launch Xilinx Vitis. Select a folder for the workspace.
3. Click File>Import. Select Vitis project exported zip file and select the USB104A7-dspi-sw-*.zip. Check all of the boxes and click finish.
4. Build the project by clicking USB104-dspi_system and then clicking Build→Debug.
5. Program the FPGA by clicking Xilinx>Program FPGA. Click Program.
6. To receive debug messages, open Tera Term and connect to the COM port associated with the USB104A7. Set the baud rate to 115200.
7. Program the Microblaze processor with the elf file. In the Project Explorer view, select the USB104A7_dspi_system project. Click Run>Run (Ctrl+F11).
8. Click Launch on Hardware (System Debugger) and then click OK.
Operating the Demo
1. Extract the USB104A7_dspi_DemoApp-*.zip folder.
2. Run USB104A7_dspi_DemoApp.exe. The application will start up and connect to the USB104A7's DSPI port.
3. Type “write led 3” to turn on LD0 and LD1. The Tera Term window should show debug information from the USB104A7.