Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
learn:programmable-logic:tutorials:zybo-z7-dma-audio-demo:start [2021/10/25 23:20] – [3. Playing to an output] add legacy tag Arthur Brown | learn:programmable-logic:tutorials:zybo-z7-dma-audio-demo:start [2021/10/28 21:22] (current) – Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Zybo Z7 DMA Audio Demo (Legacy) ====== | + | ====== Zybo Z7 DMA Audio Demo (Redirect) ====== |
- | + | ~~REDIRECT>/programmable-logic/ | |
- | <WRAP round tip> | + | ~~NOSEMANTIC~~ |
- | For a version of this demo supporting Vivado and Vitis 2020.1, see [[programmable-logic/ | + | {{tag>redirect}} |
- | </ | + | |
- | + | ||
- | {{: | + | |
- | + | ||
- | + | ||
- | ===== Description ===== | + | |
- | + | ||
- | The audio demo records a 5 second sample from microphone(J6) or line in (J7) and plays it back on headphone out(J5). Recording and playback are started by push buttons. | + | |
- | + | ||
- | ==== Features Used ==== | + | |
- | | ^ Not Used ^ Used ^ | + | |
- | ^ 4 slide switches | + | |
- | ^ 5 LEDs | X | | | + | |
- | ^ 2 RGB LEDs (1*) | + | |
- | ^ 6 push buttons | + | |
- | ^ USB-UART Bridge | + | |
- | ^ Micro SD card connector | + | |
- | ^ HDMI Sink | + | |
- | ^ HDMI Source | + | |
- | ^ Pcam camera connector | + | |
- | ^ Audio codec w/ three 3.5mm jacks | | + | |
- | ^ User EEPROM | + | |
- | ^ 10/100/1000 Ethernet PHY | X | | | + | |
- | ^ 1GB 1066MHz DDR3 Memory | + | |
- | ^ Serial Flash | X | | | + | |
- | ^ 6 Pmod ports (5*) | + | |
- | ^ Pmod for differential analog signals | + | |
- | ^ USB HID Host | X | | | + | |
- | + | ||
- | //*The -7010 variant has several differences that are shown in parenthesis above// | + | |
- | + | ||
- | ===== Prerequisites ===== | + | |
- | + | ||
- | ===Skills=== | + | |
- | * **Basic familiarity with Vivado** | + | |
- | * //This experience can be found by walking through our " | + | |
- | + | ||
- | ===Hardware=== | + | |
- | * **Zybo Z7 Zynq board** | + | |
- | * **Micro-USB cable** | + | |
- | * **Headphones or Speakers** | + | |
- | * **Audio Input device (Aux-In, Guitar, etc.)** | + | |
- | + | ||
- | ===Software=== | + | |
- | * **Vivado Design Suite 2016.X** | + | |
- | * // | + | |
- | * **Digilent Board Support Files for Vivado** | + | |
- | * Follow the [[vivado: | + | |
- | + | ||
- | ===== Downloads ===== | + | |
- | Zybo Z7-10 DMA Audio Project Repository -- [[https:// | + | |
- | + | ||
- | Zybo Z7-20 DMA Audio Project Repository -- [[https:// | + | |
- | + | ||
- | ------ | + | |
- | ===== Download and Launch the Zybo Z7 DMA Audio Demo ===== | + | |
- | + | ||
- | >1) Follow the [[: | + | |
- | + | ||
- | >2) In order to use the demo, you will need to plug in your microphone (MIC) or aux input into the respective jack on your Zybo. Plug your speakers/ | + | |
- | > | + | |
- | > | + | |
- | + | ||
- | >3) Turn on your board and open a serial terminal (such as TeraTerm) on your computer to receive status messages. Setup the serial port to connect to the appropriate port for your board, with a baud rate of 115200. Then return to the Github Project Tutorial to finish programming and running the demo. | + | |
- | > | + | |
- | >< | + | |
- | ===Tip=== | + | |
- | You can connect your serial terminal to your board before the board is programmed, this will make sure that you don't miss any startup messages. If the demo is already running, you can restart the demo in SDK to make sure you get these messages. | + | |
- | </ | + | |
- | > | + | |
- | > | + | |
- | + | ||
- | ===== Using the Zybo Z7 DMA Audio Demo ===== | + | |
- | + | ||
- | ==== 1. Controls ==== | + | |
- | + | ||
- | Audio playback and recording are controlled by push buttons as below. | + | |
- | + | ||
- | ^ Button | + | |
- | ^ BTN0 | no effect | + | |
- | ^ BTN1 | record from mic in | | + | |
- | ^ BTN2 | play on hph out | | + | |
- | ^ BTN3 | record from line in | | + | |
- | + | ||
- | ==== 2. Recording from an input ==== | + | |
- | + | ||
- | To record from the microphone input, press **BTN1**. To record from the line input, press **BTN3**. Once the recording is activated, the message "Start Recording..." | + | |
- | + | ||
- | ==== 3. Playing to an output ==== | + | |
- | + | ||
- | To play to the headphone output, press **BTN2**. Once the playback is activated, the message "Start Playback..." | + | |
- | + | ||
- | {{tag>learn legacy programmable-logic project zybo-z7}} | + |