I'm an acoustical engineer and I have an active noise control project to do. My goal is to implement an active noise reduction algorithm by using a MCU. Someone introduced STM32F407 Discovery which has an audio codec and Chibi RTOS in order to program it more easily. So I have just started working on it recently
In order to achieve this implementation, firstly I have to receive noise with a microphone and transmit it to the STM32F4. I managed to do this purpose by using ADC test which is provided in ChibiOS testhal. After processing the digitized noise, I have to transfer it to the audio codec unit (CS43L22) and play the produced anti noise to cancel the primary noise. Unfortunately I couldn't find any references regarding configuration of audio codec.
So is there any chance that someone has used this audio codec? If it's yes, would you please let me know how to set it's configuration? Consider it that I just want to play a signal via the audio codec.
Thanks