Jump to content
  • 0

Using Zybo Audio Codec W/base Design


jiseminger

Question

Hi all,

 

I'm trying to get something working with the audio codec on the Zybo board. In the end, I want to sample an electronic musical instrument, do some signal processing, and output the processed signal, but for now I'm trying to get the demo from the base design working. 

 

I can get the demo to work using the supplied bit stream by creating an SDK project with the bitstream provided in the project files. If I open the PL project in a newer version of Vivado (2014.3), upgrade the IP cores, generate a bitstream, and run the demo from the SDK as before, the program hangs and doesn't print anything to the terminal. 

 

I've narrowed down where the program hangs using print statements to when the audio codec is being initialized. In particular, it seems that the code has an issue with the "Xil_Out32()" around line number 146 of the audio_demo.c file. 

 

To me this likely means that there is an issue with the programmable logic, so perhaps when I upgraded the IP cores for the new version of VIvado? I've also tried deleting the generic IP cores in the block design and running the connection automation, but with the same results.

 

I am using an external supply to power the board with 5V and a max of 1A, so that shouldn't be an issue.

 

I'm curious if anybody else has tackled something like this and/or updated the Zybo base design for newer versions of Vivado.

 

-J 

Link to comment
Share on other sites

3 answers to this question

Recommended Posts

All,

 

I've managed to get the audio portion of the Zybo base design working in Vivado 2014.2. I ended up having to build the project from scratch using the base design as a reference for the block diagram. Attached is a screenshot of the block diagram that I ended up with.

 

I'm moving on to trying to get to where I can have the I2S IP core trigger an interrupt in the processor every time it sends a block of samples to memory via DMA. This should allow me to continuously process audio in real time instead of record and playback (at least that's my thinking).

 

-J  

 

 

post-325-0-94096700-1421339589_thumb.png

Link to comment
Share on other sites

All,

 

I've managed to get the audio portion of the Zybo base design working in Vivado 2014.2. I ended up having to build the project from scratch using the base design as a reference for the block diagram. Attached is a screenshot of the block diagram that I ended up with.

 

I'm moving on to trying to get to where I can have the I2S IP core trigger an interrupt in the processor every time it sends a block of samples to memory via DMA. This should allow me to continuously process audio in real time instead of record and playback (at least that's my thinking).

 

-J  

Hi! 

 

I'm a student. I and my teammate decided to create a simple projects on ZYBO board. It is audio processing. 

The problem is too little information and scatches projects with audio codec. 

Could you share your projects for us to learning how it works? 

Link to comment
Share on other sites

On 15.1.2015 at 5:35 PM, jiseminger said:

I'm moving on to trying to get to where I can have the I2S IP core trigger an interrupt in the processor every time it sends a block of samples to memory via DMA. This should allow me to continuously process audio in real time instead of record and playback (at least that's my thinking).

Hey,

If you managed to change your project in order to process audio in real time instead of record and playback, I would be interested in knowing how you did it ! If you can share some files and tips, it would be great :)

Lucile

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...