CODEC registers
I analyzed the Codec registers and how they get intitialized. This gave me some insights on how to change sampling rate etc. and control audio from the Codec level.
I analyzed the Codec registers and how they get intitialized. This gave me some insights on how to change sampling rate etc. and control audio from the Codec level.
I verified that the first sample that gets to the DSP chip from the codec is the right channel. This is by default in I2S mode but can be changed using different flags.
Thanks to Harman Music Group [title] Vince [lastname], I got in touch with our local Analog Devices representative Jared Bates. He agreed to take the defective board and supply a new one next week.
I encountered a hardware problem. The audio part of my evalution board suddenly died (I could actually hear loud hissing coming out of the codec while I was playing music).
I seperated my left and right channels in my DSP code. Initially the audio signal was interlaced ie. the left and right channels were getting processed in the LRLRLRLR... fashion.
The template C code that manages the I/O traffic on my board processes left and right samples. So, whatever I do the the left channel seems to happen to the right channel as well. However, after talking to DSP engineers Mike and Brandon, I was warned that I might face problems.
Today, I received a response from Analog.com Tech Support regarding the questions I asked on reading and processing audio samples. Looks like my questions made sense to them since I got satisfying answers.
I briefly visited Harman Hardware Engineer Brian Parker to go over the hardware diagrams of my SHARC (DSP chip) and asked about the master clock in CODECs. Learned the following:
I visited HMG engineer Chris Belcher to go over the basic concepts of delay lines.
I successfully created the tremolo effect. This effects modulates the sound with a 1Hz sine wave.
* created a simple C project to calculate a dot product (using the DSP chip) to familarize with the compiler and debugging features
added a sine wave to the code, this slow sine wave will modulate the signal. the problem is that that the counter doesn't work. in the process of debugging.