STM32F4 DAC Audio configuration
Hello Everyone,
I have a custom board with STM32F4xx chipset DAC_OUT pin connected to audio amplifier.
I am configuring DAC with DMA and TIM6 trigger for Audio playback.
With the attached configuration code, I hear a initial click sound as I start playing audio file.
After the initial click sound, the audio file is getting played fine.
Below are the observations:
• The click is heard every time we initiate playback.
• The click is independent of the file being played.
• The click is not caused by noise on the line.
• The line is noise free before and after playback.
• The click waveform does not look analog in nature.
• The click is observable at the DAC output.
• The click is observable across multiple boards, multiple MCUs (405/446), and multiple generations of boards and electrical layouts.
Can anyone help me figuring out if there is any configuration issue or is this a known DAC issue ?
Thanks,
Ravi