Differences
This shows you the differences between two versions of the page.
| Next revision | Previous revision | ||
| learn:programmable-logic:tutorials:cmod-a7-gpio-demo:start [2016/07/13 21:56] – created Sam K | learn:programmable-logic:tutorials:cmod-a7-gpio-demo:start [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| - | ==== Features Used ==== | ||
| + | ==== Description ==== | ||
| + | |||
| + | This VHDL project demonstrates the basic use of most of the Cmod-A7' | ||
| + | |||
| + | * The two user LEDs are tied to the two push buttons | ||
| + | * The RGB LED is set to smoothly change colors | ||
| + | * The UART bridge outputs a beginning message and a status message whenever a button is pressed | ||
| + | |||
| + | ==== Features Used ==== | ||
| | ^ Not Used ^ Used ^ | | ^ Not Used ^ Used ^ | ||
| Line 16: | Line 24: | ||
| ^ USB-UART Bridge | ^ USB-UART Bridge | ||
| ^ 512 kB SRAM | X | | | ^ 512 kB SRAM | X | | | ||
| - | |||
| - | |||
| - | ===== Description ===== | ||
| - | |||
| - | This VHDL project demonstrates the basic use of most of the Cmod-A7' | ||
| - | |||
| - | * The two user LEDs are tied to the two push buttons | ||
| - | * The RGB LED is set to smoothly change colors | ||
| - | * The UART bridge outputs a beginning message and a status message whenever a button is pressed | ||
| - | |||
| - | |||
| ------- | ------- | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| - | |||
| - | ===Skills=== | ||
| - | * **Basic familiarity with Vivado** | ||
| - | * //This experience can be found by walking through our " | ||
| ===Hardware=== | ===Hardware=== | ||
| Line 41: | Line 34: | ||
| ===Software=== | ===Software=== | ||
| - | * **Vivado Design Suite 2015.X** | + | * **Vivado Design Suite 2016.4** |
| - | * //Newer/ | + | * //Newer versions can be used, but the procedure may vary slightly// |
| + | * **Digilent Board Support Files for Vivado** | ||
| + | * Follow the [[vivado: | ||
| ----- | ----- | ||
| ===== Downloads ===== | ===== Downloads ===== | ||
| - | Cmod A7 Support Repository -- [[https:// | ||
| - | ------- | + | Cmod A7 15T GPIO Project Repository |
| - | ===== How to... ===== | + | |
| - | ==== 1. Generate the Project ==== | + | Cmod A7 35T GPIO Project Repository -- [[https:// |
| - | >1.1) Download the repository linked in the download section and place it in the location of your choosing. | + | ------- |
| - | >1.2) Generate | + | ===== Download and Launch |
| - | ==== 2. Build the Project ==== | + | > |
| - | + | ||
| - | >2.1) Click **Generate Bitstream** on the left hand menu towards | + | |
| > | > | ||
| - | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, **Run Implementation** | + | ><WRAP round important 660px> |
| + | ===Important=== | ||
| + | Make sure that between the 15T and 35T versions of the project, you download | ||
| + | </ | ||
| + | |||
| + | >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 the board 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. | ||
| > | > | ||
| - | >{{:basys3:buildflow.png?600|}} | + | >{{:learn:programmable-logic: |
| - | ==== 3. Program the Board ==== | + | ------- |
| - | >3.1) Once you have generated your bit file, Click on the hardware manager | + | ===== Using the Cmod A7 GPIO Demo ===== |
| + | |||
| + | ==== 1. LEDs and Buttons ==== | ||
| + | |||
| + | >When a button is pressed, | ||
| > | > | ||
| - | >{{:basys3:device_connected.png?600|}} | + | >{{:learn:programmable-logic: |
| - | >3.2) Click program to load the project onto your Cmod A7. | + | >The RGB LED smoothly transitions between colors. |
| + | > | ||
| + | > | ||
| - | ==== 4. Run the Project | + | ==== 2. UART Messages |
| - | This portion | + | >Connect a terminal program with the settings 9600 baud rate, 8 bits, one stop bit, and no parity bit. On reset, the board will display |
| + | > | ||
| + | > | ||
| + | |||
| + | > | ||
| + | > | ||
| + | > | ||
| - | {{tag> | + | {{tag> |

