Differences
This shows you the differences between two versions of the page.
Both sides previous revisionPrevious revisionNext revision | Previous revisionLast revisionBoth sides next revision | ||
programmable-logic:zybo-z7:demos:dma-audio [2021/06/16 23:50] – ↷ Links adapted because of a move operation Arthur Brown | programmable-logic:zybo-z7:demos:dma-audio [2022/09/12 12:40] – changed forum.digilentinc.com to forum.digilent.com Jeffrey | ||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Zybo Z7 DMA Audio Demo ====== | ||
- | <WRAP todo important> | ||
- | == Under Construction == | ||
- | </ | ||
- | |||
- | {{: | ||
- | |||
- | ---- | ||
- | ===== Description ===== | ||
- | |||
- | This demo contains a Vivado IP Integrator project and Vitis projects that control the Zybo Z7's audio codec in order to record and play back audio | ||
- | |||
- | 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. Messages are printed to a connected serial terminal that provide information on the status of the application. | ||
- | |||
- | Additional information on how this demo can be used can be found in appropriate READMEs, linked below. | ||
- | |||
- | ---- | ||
- | ===== Inventory ===== | ||
- | |||
- | * Zybo Z7 with a MicroUSB Programming Cable | ||
- | * Vivado and Vitis installations compatible with the latest release of this demo (2020.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 computer with 3.5mm audio jack, etc | ||
- | |||
- | ---- | ||
- | ===== 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 | 10/ | ||
- | | Zybo Z7-20 | 20/ | ||
- | | Zybo Z7-10 | v2018.2-1 | [[https:// | ||
- | | Zybo Z7-20 | v2018.2-1 | [[https:// | ||
- | |||
- | **Note for Advanced Users:** //All demos for the Zybo Z7 are provided through the [[https:// | ||
- | ---- | ||
- | Instructions on the use of the latest release can be found in this dropdown: | ||
- | |||
- | --> Using the Latest Release # | ||
- | <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 in 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:// | ||
- | |||
- | ---- | ||
- | < |