Hello
I am working on an amplifier circuit, but when I power on and enable the amplifier with no input to the left and right channels. my speakers begin buzzing like a beehive. I have connected the oscilloscope to the speaker and found that the buzzing is at 300kHz which is the same switching frequency as the TPA2012. I have attached a screenshot of the schematic and the layout of the amplifier circuit.
The circuit employs a continuous ground plane and I am routing my analog and digital in separate areas so they should not be crossing with each other. (The Orange outline is my analog power plane) Analog power is being supplied by my DC power supply through a ferrite as a filter.
Here is my oscilloscope waveform
Is this behavior correct due to the PWM used by Class D amplifiers? Is this something that will always happen if the amplifier is enabled with no audio input, or is there something wrong with my circuit that I could improve?