I've built a guitar amp with STA540, I'm trying to make it work now and I need some hints on how to continue debugging.

I'm getting no sound on the speaker, not even clicking, or anything.

I've tried putting a 1kHz sine wave to the input and connecting headphones to various parts of the circuit and it looks that the signal gets to the STA540 input, but there is nothing on the speaker output.

The schematic looks like this: schematic input coming from the left, Vcc is 12V This is mostly copied from the datasheet example, only stby and in1 and in2 are grounded instead of being left as inputs (the 100 ohm resistors are left over from some experimenting).

Does anyone have any idea what I could try next to get this to play? I'm all out of inspiration :-)

  • there's no volume control? also, try 1 & 2 as outputs. And dont ground the outputs. try that. – Tim Spriggs Mar 27 '16 at 22:41
  • Instead of grounding IN1/2 directly, let them float (add a series capacitor). Also, add some more decoupling and recheck your connections. Probe around and make sure all the pins are at the voltages you expect. – uint128_t Mar 27 '16 at 22:59
up vote 1 down vote accepted

You explained that the design...

is mostly copied from the datasheet example

Personally, when starting to use an unfamiliar chip, I would often begin by completely copying a simple datasheet example circuit before any experiments or customisations :-) That allows us to confirm that our specific chip is working OK, and gives us a known-good "starting point" we can go back to, if things stop working during our experiments.

The biggest issue I see is where your design is different from the datasheet examples - your use of pin 7 (ST-BY) is not in accordance with the STA540 datasheet I found here:


Check Figure 19 on page 14 - by pulling pin 7 to Gnd (0V - left side of the x-axis of the graph), you will have maximum attenuation so no sound! That fits exactly with your problem that...

there is nothing on the speaker output.

Also note that you must follow the specific requirements for driving pin 7 (ST-BY) as explained in sections 6.4 and 6.5 in that datasheet:

Some precautions need to be taken when designing the driving circuit for pin 7, ST-BY. For instance, the pin cannot be directly driven by a voltage source having a current capability higher than 5 mA. In practical cases a series resistance must be inserted, giving it the double purpose of limiting the current at pin 7 and to smooth down the standby on/off transitions. And, when done in combination with a capacitor, prevents output pop.

A capacitor of at least 100 nF from pin 7 to S-GND, with no resistance in between, is necessary to ensure correct turn-on.

See the example circuits in the datasheet for suitable RC values if you want to be able to control ST-BY externally, or use a 100nF capacitor only (no resistor) between pin 7 and S-Gnd as explained in the above quote from the datasheet, to at least get the chip out of standby mode. That would be my next step in troubleshooting (although there could be other problems e.g. regarding the wiring between P-Gnd and S-Gnd which we can't tell from just a schematic).

I hope the current circuit hasn't damaged your chip... Good luck!

Added: Sparkfun produce a kit using the STA540 and their schematic is available here, for you to see a known-working example:


  • Thanks for the answer! I'm pretty sure that the standby is the cause of my problems. I can't believe I've read the datasheet wrong :-) R20 and R21 used to be 100nF caps, but a friend suggested I try resistors there. I'll try it later today. – cube Mar 28 '16 at 7:29
  • 1
    So I replaced the capacitors and added a 10k resistor to Vcc to standby pin and it works. Thanks again. – cube Mar 28 '16 at 15:55
  • That's excellent news, thanks for confirming the result :-) Have fun with the amplifier! – SamGibson Mar 28 '16 at 16:24

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.