2022-01-19 12:16 AM
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
2022-01-19 03:46 AM
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
2022-01-19 07:07 AM
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?