2012-11-28 10:38 AM
hello
Does any one know how to send sound data to headphone DAC on CS43L22 ? main goal is to read data from mic, that use convolution with my low pass filter coefficients, and then send data to headphones. Somehow i was unable to generate any frequency to CS43L22. I have function for 16b sinus (int)(32767+32767*sinf(0.1*i)) if any one know how to send it to headphones would be very helpful. And if some one knows how to read mic data, that would be supper .2012-11-28 11:17 AM
''Does any one know how to send sound data to headphone DAC on CS43L22?''
2012-11-28 11:37 AM
I really don't what to rewrite all program from scratch.
it should be very easy function to do that. i know that in NXP LPC4330 read data from mic and send to dac takes only 4 lines of c code.left = (LPC_I2S0->RXFIFO);
right = (LPC_I2S0->RXFIFO);
LPC_I2S0->TXFIFO = left;
LPC_I2S0->TXFIFO = right;
it should be something similar here, but i just can't find it