Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| programmable-logic:usb104a7:dspi [2022/09/12 15:30] – changed forum.digilentinc.com to forum.digilent.com fsoares | programmable-logic:usb104a7:dspi [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| + | ====== USB104A7 DSPI Demo ====== | ||
| + | ===== Overview ===== | ||
| + | This project demonstrates the implementation of DSPI on the USB104A7. | ||
| + | |||
| + | ---- | ||
| + | ===== Description ===== | ||
| + | |||
| + | The simplified block diagram of the system implemented for this demo is shown below: | ||
| + | {{ : | ||
| + | |||
| + | 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". | ||
| + | |||
| + | ===== Inventory===== | ||
| + | |||
| + | ===Hardware=== | ||
| + | * [[start|USB104A7]] | ||
| + | * Including a **USB A cable** and **5V Power Supply** | ||
| + | * NOTE: SW1 DDR voltage set to 1.5V | ||
| + | |||
| + | ===Software=== | ||
| + | * **Vivado Design Suite 2020.1** with **Vitis** and **Digilent Board Support Files** installed | ||
| + | * Follow the [[vivado: | ||
| + | * [[software/ | ||
| + | * [[https:// | ||
| + | * Used to read debug messages from the FPGA. Follow the [[programmable-logic: | ||
| + | |||
| + | ===Skills=== | ||
| + | * **Basic familiarity with Vivado and Vitis** | ||
| + | * //This experience can be found by walking through our " | ||
| + | |||
| + | ===== Downloads ===== | ||
| + | |Vivado Project Repository |[[https:// | ||
| + | |Vivado Project Repository |[[https:// | ||
| + | |||
| + | ------ | ||
| + | ===== Demo Setup ===== | ||
| + | |||
| + | ==== Hardware Setup ==== | ||
| + | 1. Connect the 5V power supply to the USB104A7. Plug the USB104A7 into the PC using the USB A cable. | ||
| + | |||
| + | ==== Software Setup ==== | ||
| + | |||
| + | === Programming the FPGA === | ||
| + | |||
| + | 1. Download the release files from the git repo [[https:// | ||
| + | |||
| + | 2. Launch Xilinx Vitis. Select a folder for the workspace. | ||
| + | |||
| + | 3. Click **File> | ||
| + | |||
| + | 4. Build the project by clicking USB104-dspi_system and then clicking Build-> | ||
| + | |||
| + | 5. Program the FPGA by clicking **Xilinx> | ||
| + | |||
| + | 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> | ||
| + | |||
| + | 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' | ||
| + | |||
| + | 3. Type "write led 3" to turn on LD0 and LD1. The Tera Term window should show debug information from the USB104A7. | ||
| + | |||
| + | ---- | ||
| + | ===== Final Notes ===== | ||
| + | |||
| + | For more guides and example projects for your USB104A7, please visit its [[programmable-logic: | ||
| + | |||
| + | For technical support, please visit the [[https:// | ||
| + | |||
| + | {{tag> | ||

