Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| learn:programmable-logic:tutorials:arty-z7-hdmi-in-demo [2017/03/22 10:12] – [Downloads] Monica Ignat | learn:programmable-logic:tutorials:arty-z7-hdmi-in-demo [2022/10/04 11:38] (current) – external edit 127.0.0.1 | ||
|---|---|---|---|
| Line 4: | Line 4: | ||
| {{: | {{: | ||
| ===== Overview ===== | ===== Overview ===== | ||
| + | |||
| + | ==== Description ==== | ||
| + | |||
| + | The Arty Z7 HDMI In project demonstrates the usage of the HDMI in and out ports on the Arty Z7 board. There are two projects, one for each variant of the board: Arty Z7-10 and Arty Z7-20. | ||
| + | The behavior is as follows: | ||
| + | |||
| + | * Video data streams in through the HDMI in port and out through the HDMI out port. | ||
| + | * A UART interface is available to configure what is output through HDMI. | ||
| + | * There are 3 display frame buffers that the user can choose to display or write to. | ||
| ==== Features Used ==== | ==== Features Used ==== | ||
| Line 23: | Line 32: | ||
| ^ USB HID Host | ^ USB HID Host | ||
| + | ------- | ||
| - | ==== Description ==== | ||
| - | |||
| - | The Arty Z7 HDMI In project demonstrates the usage of the HDMI in and out ports on the Arty Z7 board. There are two projects, one for each variant of the board: Arty Z7-10 and Arty Z7-20. | ||
| - | The behavior is as follows: | ||
| - | |||
| - | * Video data streams in through the HDMI in port and out through the HDMI out port. | ||
| - | * A UART interface is available to configure what is output through HDMI. | ||
| - | * There are 3 display frame buffers that the user can choose to display or write to. | ||
| - | |||
| - | ------- | ||
| ===== Prerequisites ===== | ===== Prerequisites ===== | ||
| Line 52: | Line 52: | ||
| ===== Downloads ===== | ===== Downloads ===== | ||
| Arty Z7-10 Hdmi In Project Repository -- [[https:// | Arty Z7-10 Hdmi In Project Repository -- [[https:// | ||
| + | |||
| + | Arty Z7-20 Hdmi In Project Repository -- [[https:// | ||
| ------- | ------- | ||
| - | Arty Z7-20 Hdmi In Project Repository -- [[https:// | + | ===== Download and Launch the Arty Z7 HDMI Input Demo ===== |
| - | ------- | + | |
| - | ===== How to..===== | + | |
| - | ==== 1. Generate | + | >1) Follow |
| - | >1.1) Download | + | >2) Plug one end of the HDMI cable into a video monitor |
| - | + | ||
| - | >1.2) Generate | + | |
| - | ==== 2. Build the Project ==== | + | |
| - | + | ||
| - | >2.1) Click **Generate Bitstream** on the left hand menu towards the bottom. Vivado will run through both Run Synthesis | + | |
| > | > | ||
| - | >Note: If you want, you can click each step by itself in the order of **Run Synthesis**, | + | >{{:learn:programmable-logic: |
| - | > | + | |
| - | >{{:basys3:buildflow.png?600|}} | + | |
| - | ==== 3. Export to SDK ==== | + | |
| - | >3.1) Export the microblaze project by going to **File> | + | > |
| > | > | ||
| - | >{{:zybo:exporthw.jpg?500|}} | + | >{{:learn:programmable-logic: |
| - | ==== 4. Import the SDK files ==== | + | |
| - | >4.1) In your project Explorer window on the left side, click **File> | ||
| - | > | ||
| - | > | ||
| - | ==== 5. Program the FPGA ==== | ||
| - | >5.1) Click **Xilinx Tools> | + | ===== Using the Arty Z7 HDMI Input Demo ===== |
| - | > | + | |
| - | > | + | |
| - | ==== 6. Program the Microblaze Processor | + | ==== HDMI Display Options |
| - | >6.1) Click on the **hdmi_in** folder and click the Green **Run System Debugger on Local videodemo.elf** button. The microblaze program will be programmed onto your Arty Z7 board. | + | > 1 - Change |
| - | > | + | |
| - | {{: | + | |
| - | ==== 7. Run the Project ==== | + | |
| - | This portion will help you run the demo and observe all its features. | + | > 2 - Change |
| - | >7.1) Setup | + | > 3/4 - Store a test pattern in the chosen video frame buffer - color bar or blended. |
| > | > | ||
| - | >Plug one end of the HDMI cable into a video source and the other into the ZYBO HDMI port. Plug one end of your other HDMI cable into the HDMI Out port of the Arty Z7 and the other into your HDMI monitor. | + | >{{: |
| - | > | + | |
| - | >{{: | + | |
| - | >7.2) Setting up UART communications | + | > 5 - Start/Stop streaming video data from HDMI to the chosen video frame buffer. |
| - | > | + | |
| - | >To see the UART communication channel, open a terminal program on your computer set to 112500 baud rate, 8 data bits, no parity bit and 1 stop bit. On startup, | + | |
| - | > | + | |
| - | > | + | |
| - | >7.3) HDMI display | + | > 6 - Change the video frame buffer that HDMI data is streamed into. |
| + | |||
| + | > 7 - Invert and store the current video frame into the next video frame buffer and display | ||
| > | > | ||
| - | > 1 - Changes the resolution of the HDMI output to the monitor. | ||
| - | > 2 - Changes the frame buffer to display on the HDMI monitor. | ||
| - | > 3/4 - Stores a test pattern in the chosen Video Frame buffer - color bar or blended. | ||
| - | > | ||
| - | > 5 - Starts/ | ||
| - | > 6 - Changes the video buffer that HDMI data is streamed into. | ||
| - | > 7 - Inverts and stores the current video frame into the next video frame buffer and displays it. | ||
| > | > | ||
| - | > 8 - Scales | + | |
| - | > | + | > 8 - Scale the current video frame to the display resolution, store it into the next video frame buffer, |
| - | {{tag> | + | |
| + | {{tag> | ||

