Click after power on

Designing hardware and software for systems that use the VS1010 MP3 Audio DSP Microcontroller.
Post Reply
Senior User
Posts: 108
Joined: Thu 2016-09-01 10:58

Click after power on

Post by Arek » Tue 2018-10-09 11:29


Immediately after switching on, I hear two clicks.
Start_VS_AudioOutput_ProgStart.png (17.29 KiB) Viewed 583 times
Above picture is taken from my scope: yellow: Audio (L+R), green shows when my programm start.
At the beginning, after I/O definitions follow:
setVolume(50); // practically nothing to hear
AmpDemute(); // Switching audio amplifier on,
LED_GN_ON; // Point, where green line in above picture goes hi

and then, after approx. 150ms

Q: Any tips how can I reduce the second peak in the audio line?

Many thanks

User avatar
VLSI Staff. Currently on holiday.
Posts: 2734
Joined: Tue 2010-06-22 13:43

Re: Click after power on

Post by Panu » Thu 2018-10-11 14:12


Hmm, maybe initializing the audio fully before switching on your amplifier might be a solution...

The easiest way you could test it, perhaps, would be to play R:HELLO.MP3 before starting your application, this could be done from the config.txt file. Can you test if it makes any difference?

Also, can you show an oscilloscope trace that has the GPIO0_0/PWM signal? It should go high after the audio is first inited.

Info: Line In and Line Out, VS1000 User interface, Overlay howto, Latest VSIDE, MCU Howto, Youtube
Panu-Kristian Poiksalo, VLSI Solution Oy

Post Reply