Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
learn:programmable-logic:tutorials:zybo-dma-audio-demo:start [2017/05/25 18:32] – [Download and Launch the Zybo DMA Audio Demo] Arthur Brownlearn:programmable-logic:tutorials:zybo-dma-audio-demo:start [2019/03/12 17:22] (current) Arthur Brown
Line 5: Line 5:
 ----- -----
 ===== Overview ===== ===== Overview =====
 +===== Description =====
 +
 +The audio demo records a 5 second sample from microphone(J6) or line in (J7) and plays it back on a headphone out(J5). Recording and playback are started by push buttons.
 +
 ==== Features Used ==== ==== Features Used ====
  
Line 23: Line 27:
 ^ Pmod for XADC signals            |    X      |       | ^ Pmod for XADC signals            |    X      |       |
 ^ USB HID Host                        X      |       | ^ USB HID Host                        X      |       |
- 
-===== Description ===== 
- 
-The audio demo records a 5 second sample from microphone(J6) or line in (J7) and plays it back on a headphone out(J5). Recording and playback are started by push buttons. 
  
 ===== Prerequisites ===== ===== Prerequisites =====
Line 35: Line 35:
  
 ===Hardware=== ===Hardware===
-  * **Zybo FPGA board**+  * **Zybo Zynq board**
   * **Micro-USB cable**   * **Micro-USB cable**
   * **Headphones or Speakers**   * **Headphones or Speakers**
Line 41: Line 41:
  
 ===Software=== ===Software===
-  * **Vivado Design Suite 2016.X**  +  * **Vivado Design Suite 2016.4**
-    * //Newer/older versions can be used, but the procedure may vary slightly//+
   * **Digilent Board Support Files for Vivado**    * **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.     * Follow the [[vivado:boardfiles|Vivado Board Files for Digilent 7-Series FPGA Boards]] guide on how to install Board Support Files for Vivado.
  
 ===== Downloads ===== ===== Downloads =====
-Zybo DMA Audio Project Repository -- [[https://github.com/Digilent/Zybo-DMA/releases/download/v2016.4-3/Zybo-DMA-2016.4-3.zip|ZIP]] [[https://github.com/Digilent/Zybo-DMA|GIT Repo]]+Zybo DMA Audio Project Repository -- [[https://github.com/Digilent/Zybo-DMA/releases/download/v2016.4-3/Zybo-DMA-2016.4-3.zip|ZIP Archive]] [[https://github.com/Digilent/Zybo-DMA|GIT Repo]]
  
 ------ ------
 ===== Download and Launch the Zybo DMA Audio Demo ===== ===== Download and Launch the Zybo DMA Audio Demo =====
  
->1) Follow 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 for additional hardware requirements and setup.+>1) Follow 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.
  
 >2) In order to use the demo, you will need to plug in your microphone or aux input into the respective jack on your Zybo. Plug your speakers/headphones into the Line out jack. >2) In order to use the demo, you will need to plug in your microphone or aux input into the respective jack on your Zybo. Plug your speakers/headphones into the Line out jack.
Line 59: Line 58:
  
 >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. >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.
 +>
 +><WRAP round tip 660px> 
 +===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.
 +</WRAP>
 > >
 >{{:playground:dma-tera.png?400|}} >{{:playground:dma-tera.png?400|}}
Line 83: Line 87:
 To play to the headphone output, press **BTN2**. Once the playback is activated, the message "Start Playback..." will be sent over UART and the demo will play 5 seconds of audio. If any buttons are pressed during the playback, the message "Still Playing..." will be sent over UART. To play to the headphone output, press **BTN2**. Once the playback is activated, the message "Start Playback..." will be sent over UART and the demo will play 5 seconds of audio. If any buttons are pressed during the playback, the message "Still Playing..." will be sent over UART.
  
-{{tag>learn programmable-logic tutorial Zybo}}+{{tag>learn programmable-logic project Zybo}}