My basic idea is to use a powerful dual core ARM processor to implement an audio digital delay using a CODEC chip connected to the processor where the incoming data is stored in the processor's internal RAM and then fed back out to the CODEC up to 10 seconds later, perhaps with various mixes added to implement effects such as echo and reverb. If the audio data is sampled at 16 bits at 44 kHz then it should be possible to store around 10 seconds of audio data inside the processor's 1024 kBytes with a bit of RAM left over for internal variables. My processor is a PSoC6 that has Quad SPI, I2S x 2, PDM, and various other interfaces; the PSoC6 also has internal configurable hardware that might be set up to work with a TI CODEC
I'm looking for a CODEC IC that would meet the following requirements:
- Capable of running the ADC to capture and send serial data to the PSoC6 processor and simultaneously accepting streaming digital data back from the PSoC6 to the CODEC's DAC
- I actually need mono but a CODEC that could do stereo would be a desirable extra for future enhancements
- Is not too expensive (around $5 or less in 1,000s).
The main thing I need to understand is the serial interface, I've worked with I2S before but something like QSPI sounds like it has the most promise. I've been looking through the datasheet for the TLV320AIC24K and it looks like it could meet my needs although it only does 26 ksps (although that would give me longer delay time - as much as 19 seconds) and the SMARTDM interface looks a lot like QSPI, am I right?
Is this a suitable IC or would you suggest another one? I see that there are 'DSP' ICs available but I'm confused what the difference is between CODECs and DSPs.