cancel
Showing results for 
Search instead for 
Did you mean: 

STM32G0C1E-EV demo audio from microphone to headphones directly

Ander Susperregui
Associate III

I am using the demonstration program of the STM32G0C1E-EV board. I have changed the wave_recorder.c program in order to introduce the DAC with DMA in the same parte to be able to transmit the data from the microphone to the headphones directly instead of going through the SD card. I have confugured the DAC with DMA, it doesn't give me any problem but the audio isn't transmitted through the headphones, there is no sound at all. How should I approach the problem?

PD: I will link th wave_recorder.c with the changes if somebody can take a look

2 REPLIES 2

Debug the transmission alone, from a buffer which you've filled by an easily observable waveform, e.g. sawtooth.

If that works flawlessly, then add the reception.

JW

Ander Susperregui
Associate III

I have tried proving the ADC works fine and it receives the same data of a .wav I have stored by a demo, which works properly. However, I dont know how to transfer the data of the ADC to the DAC in order to hear my voice properly. Any idea?