Associate II
January 19, 2022
Question
Audio from microphone through headphones
- January 19, 2022
- 1 reply
- 3142 views
I am using a STM32G0C1E-EV board to try to get data from my microphone through the ADC and hear it in real time on my headphones via DAC. I have used a timer in order to get data in 16000 Hz format and I have used DMA circular buffers to get and transmit the data from the ADC to the DAC. The problem is that I only listen noise being outputted even though the data is getting through properly. I am wondering if the configuration I made for the ADC and DMA/Timer is properly done. I am posting the code in case somebody sees the problem.
Thank you in advance.
