Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revision | |||
programmable-logic:zybo-z7:demos:dma-audio [2022/09/12 12:40] – changed forum.digilentinc.com to forum.digilent.com Jeffrey | programmable-logic:zybo-z7:demos:dma-audio [2023/08/25 00:18] (current) – Move to direct file links for downloads Arthur Brown | ||
---|---|---|---|
Line 1: | Line 1: | ||
+ | ====== Zybo Z7 DMA Audio Demo ====== | ||
+ | {{: | ||
+ | |||
+ | ---- | ||
+ | ===== Description ===== | ||
+ | |||
+ | This demo contains Vivado IP Integrator and Vitis projects that control the Zybo Z7's audio codec in order to record and play audio | ||
+ | |||
+ | The audio demo records a 5-second sample from the microphone (J6) or line in (J7) port and plays it back on the headphone out (J5) port. Recording and playback are started by push buttons. Messages providing information on the status of the application are printed to a connected serial terminal. | ||
+ | |||
+ | ---- | ||
+ | ===== Inventory ===== | ||
+ | |||
+ | * Zybo Z7 with a MicroUSB Programming Cable | ||
+ | * Vivado and Vitis installations compatible with the latest release of this demo (2022.1) | ||
+ | * //See [[programmable-logic: | ||
+ | * Serial Terminal application to receive messages printed by the demo | ||
+ | * //See [[programmable-logic: | ||
+ | * Headphones or Speakers | ||
+ | * Audio Input Device - such as a microphone or a computer with 3.5mm audio jack and an audio cable | ||
+ | |||
+ | ---- | ||
+ | ===== Download and Usage Instructions ===== | ||
+ | |||
+ | First and foremost, releases - consisting of a set of files for download - are only compatible with a specific version of the Xilinx tools, as specified in the name of the release (referred to as a //release tag//). In addition, releases are only compatible with the specified variant of the board. For example, a release tagged " | ||
+ | |||
+ | The latest release version for this demo is highlighted in green. | ||
+ | |||
+ | **Note:** //Releases for FPGA demos from before 2020.1 used a different git structure, and used a different release tag naming scheme.// | ||
+ | |||
+ | ^ Board Variant | ||
+ | | Zybo Z7-10 | @#C0EEBD: 10/ | ||
+ | | Zybo Z7-20 | @#C0EEBD: 20/ | ||
+ | | Zybo Z7-10 | 10/ | ||
+ | | Zybo Z7-20 | 20/ | ||
+ | | Zybo Z7-10 | 10/ | ||
+ | | Zybo Z7-20 | 20/ | ||
+ | | Zybo Z7-10 | v2018.2-1 | ||
+ | | Zybo Z7-20 | v2018.2-1 | ||
+ | |||
+ | **Note for Advanced Users:** //GitHub sources for this demo can be found in the [[https:// | ||
+ | ---- | ||
+ | Instructions on the use of the latest release can be found in this dropdown: | ||
+ | |||
+ | --> Using the Latest Release #^ | ||
+ | <WRAP group> | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | --> Build a Vitis Application # | ||
+ | <WRAP group> | ||
+ | {{page> | ||
+ | </ | ||
+ | <-- | ||
+ | |||
+ | --> Set up the Zybo Z7 # | ||
+ | <WRAP group> | ||
+ | <WRAP group>< | ||
+ | Plug the Zybo Z7 into the computer via the microUSB programming cable. | ||
+ | |||
+ | Plug your microphone or aux input into the appropriate jack on your Zybo (MIC IN or LINE IN, respectively). Plug your speakers/ | ||
+ | </ | ||
+ | {{: | ||
+ | </ | ||
+ | </ | ||
+ | ---- | ||
+ | <-- | ||
+ | |||
+ | {{page> | ||
+ | |||
+ | At this point, the demo is now running on your board. Refer to the [[# | ||
+ | ---- | ||
+ | Additional steps beyond here present how you can use the other archive provided in the release, containing the hardware project, to rebuild the Vivado project, and use a newly exported XSA file to update the platform in Vitis. | ||
+ | ---- | ||
+ | {{page> | ||
+ | |||
+ | |||
+ | </ | ||
+ | <-- | ||
+ | |||
+ | ---- | ||
+ | ==== 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 | | ||
+ | |||
+ | === Recording from an Input === | ||
+ | |||
+ | To record from MIC IN, press **BTN1**. To record from LINE IN, press **BTN3**. Once the recording is activated, the message "Start Recording..." | ||
+ | ---- | ||
+ | === Playing to an Output === | ||
+ | |||
+ | To play to HPH OUT, press **BTN2**. Once the playback is activated, the message "Start Playback..." | ||
+ | |||
+ | ---- | ||
+ | ===== Additional Resources ===== | ||
+ | |||
+ | All materials related to the use of the Zybo Z7 can be found on its [[..: | ||
+ | |||
+ | For a walkthrough of the process of creating a simple baremetal software project in Vivado and Vitis, see [[programmable-logic: | ||
+ | |||
+ | For technical support, please visit the [[https:// | ||
+ | |||
+ | ---- |