I'm using an ADSP-21489 EZ-KIT LITE for a project. I am running the DACs and ADC at 8kHz using PCGs and SRCs. I am using the I2S protocol.
As a test I sent a signal to the output port, ran a cable from the output port back to the input port and tried receiving the output signal again. When doing this I noticed there was a significant delay between sending the signal and receiving it again.
I added a plot of the output and input signals when I sent 1 period of a sine to the output port. There is a delay of around 12 ms (about 100 samples at 8kHz) between the output and input signal. This seems like a huge amount of time to me. What is the cause of this delay and is there any way I can reduce it?
I added my project to this post as well, so you can see if I'm making any stupid mistakes. I apologize if my code is sloppy and/or inefficient. I'm quite new to programming.