Hi folks,
I'm new to TI DSPs (until now we used AVRs).
I were able to compile and run the examples (blinking LED etc.) and also have programmed the OLED which now works fine.
But I have much trouble programming the AIC to my needs.
My project is:
Implementing a simple ring buffer for two microphones I connected so that a sample of the AD converter is written to RAM and after a delay is given back to the AIC to output them. So I want to program this: "convert the current analog voltage to one sample, take this sample via I2S (if I understand it right, this is the only data connection for fast transfer) to the TMS, then store it to RAM, increment ring buffer pointer and if the wished delay is reached, take the value again, push it via I2S to the AIC and directly convert it for my hearphone"
(My final intention is to control the sound volume via "phase cancellation")
I had a look to the filter examples but all these work with blocks of data transferred via DMA, not single AD values. But with this, a fine delay setting is quite impossible, I think ... (or?)
Or would it be possible to set the DMA to one byte? Well, not very efficient I think ...
(I am also totally new to DMA stuff, so it would be great if someone could explain the rough flow of data)
Is there no library including functions like "AIC_set_volume_right channel (unsigned int gain)" or "Get_current_AD_value (channel)"?
Can someone give me a hint which way is the right one to get my DSP running?
Best regards from Germany,
Chris