Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
learn:programmable-logic:tutorials:cmod-a7-user-demo:start [2020/03/16 16:21] – [Downloads] Marthalearn:programmable-logic:tutorials:cmod-a7-user-demo:start [2023/03/31 20:31] (current) Arthur Brown
Line 1: Line 1:
- +====== Cmod A7 Out-of-Box Demo (Redirect) ====== 
-====== Cmod A7 Out of Box Demo ====== +~~NOSEMANTIC~~ 
- +~~REDIRECT>/programmable-logic/cmod-a7/demos/oob~~ 
-{{:cmod_a7:cmod_a7-obl-600.png?300|}} +{{tag>redirect}}
- +
-===== Overview ===== +
- +
-==== Description ==== +
- +
-This simple User Demo project is a Microblaze project that tests the SRAM on the Cmod A7 and features the basic I/O on the device. +
-  +
-  * The SRAM is tested and the results can be seen through the UART port. +
-  * The RGB LED cycles through different colors while BTN1 is pressed. +
-  * The User LEDs display a 2 bit binary counter while BTN1 is pressed. +
- +
-------- +
- +
-==== Features Used ==== +
- +
-|              ^ Not Used             ^ Used        ^ +
-^ 2 user LEDs                        |      X  | +
-^ 1 tri-color LED                    |      X  | +
-^ 2 User Push Buttons                |      X  | +
-^ 48 GPIO Pins                        X  |     | +
-^ 1 Pmod port                        |  X  |     | +
-^ Pins for XADC signals              |  X  |     | +
-^ USB-UART Bridge                    |      X  | +
-^ 512 kB SRAM                        |      X  | +
- +
-===== Prerequisites ===== +
- +
-===Hardware=== +
-  * **Cmod A7 FPGA board** +
-  * **Micro-USB cable**  +
- +
-===Software=== +
-  * **Vivado Design Suite 2016.4**  +
-    * //Newer or older versions can be used, but the procedure may vary// +
-    * Xilinx SDK 2016.4 must be included in the installation +
-  * **Digilent Board Support Files for Vivado**  +
-    * Follow the [[vivado:boardfiles|Vivado Board Files for Digilent 7-Series FPGA Boards]] guide on how to install Board Support Files for Vivado. +
- +
------ +
- +
-===== Downloads ===== +
-Cmod A7 15T OOB Project Repository -- [[https://github.com/Digilent/Cmod-A7-15T-OOB/releases/download/v2016.4-1/Cmod-A7-15T-OOB-2016.4-1.zip|ZIP Archive]] [[https://github.com/Digilent/Cmod-A7-15T-OOB|GIT Repo]] +
- +
-Cmod A7 35T OOB Project Repository -- [[https://github.com/Digilent/Cmod-A7-35T-OOB/releases/download/v2018.2-1/Cmod-A7-35T-OOB-2018.2-1.zip +
-|ZIP Archive]] [[https://github.com/Digilent/Cmod-A7-35T-OOB|GIT Repo]] +
-------- +
- +
- +
-===== Download and Launch the Cmod A7 Out of Box Demo ===== +
- +
->1Follow the [[:learn:programmable-logic:tutorials:github-demos:start:|Using Digilent Github Demo Projects]] Tutorial. Since this is a Vivado SDK Project, you can either directly launch SDK and import the hardware handoff, or you can generate a bitstream in Vivado before launching SDK. Select the hardware handoff options in the tutorial if you don't want to modify the project block design later. Return to this guide when prompted to check for additional hardware requirements and setup. +
-+
-><WRAP round important 660px> +
-===Important=== +
-Make sure that between the 15T and 35T versions of the project, you download the version that applies to your Cmod A7. +
-</WRAP> +
- +
->2) In order to fully use the demo, you will need to connect a serial terminal to your Cmod A7. Plug your board into your computer with a Micro USB cable and make sure it has power. Then open a serial terminal (such as TeraTerm) on your computer. In the terminal application setup the serial port to connect to the appropriate port for your board, with a baud rate of 9600. Then return to the Github Projects Tutorial to finish programming and running the demo. +
-+
->{{:learn:programmable-logic:tutorials:cmod-a7-user-demo:tera-setup.png?300|}} {{:learn:programmable-logic:tutorials:cmod-a7-user-demo:setup.png?300|}} +
- +
- +
-===== Using the Cmod A7 Out of Box Demo ===== +
- +
-==== 1. Observing the LEDs ==== +
- +
->For this demo, every time **BTN1** is pressed, the LED state changes. The user LEDs create a 2 bit binary counter that increments every time the button is pressed. The RGB LED changes color every time the button is pressed. +
-+
->{{:cmod_a7:user_led0.jpg?200|}}{{:cmod_a7:user_led1.jpg?200|}}{{:cmod_a7:user_led2.jpg?200|}}{{:cmod_a7:user_led3.jpg?200|}} +
- +
- +
-==== 2. UART Messages ==== +
- +
->Whenever the demo is started from Vivado SDK, the board will go through a memory test and will print out the result. If the memory is working, the following message will appear. +
-+
->{{:cmod_a7:user_uart1.jpg?500|}} +
- +
->Whenever a button is pressed, the message "Button Pressed" is sent over UART. +
-+
->{{:cmod_a7:user_uart2.jpg?200|}} +
- +
-{{tag>learn programmable-logic project cmod-a7}} +
- +