Hi, I am working on a project using the PT8211, and running into an issue where I am seeing a pronounced ~2kHz noise on the output of the chip. This happens even when I write super stripped down audio code that completely zeros the output, and disable all other electronic functionality on my PCB.
Any idea what might be causing this and how I can fix this?
Here is the relevant section of my schematic (all functionality outside the PT8211 is disabled for testing) and the noise I am seeing on my scope (measured at both PT8211 output pins, before and after decoupling caps), as well as the code snippet I am using to test:
Any idea what might be causing this and how I can fix this?
Here is the relevant section of my schematic (all functionality outside the PT8211 is disabled for testing) and the noise I am seeing on my scope (measured at both PT8211 output pins, before and after decoupling caps), as well as the code snippet I am using to test:
Code:
#include <Audio.h>
AudioSynthWaveformSine test_sine;
AudioOutputPT8211 pt8211;
AudioConnection pc1 (test_sine, 0, pt8211, 0);
AudioConnection pc2 (test_sine, 0, pt8211, 1);
void setup() {
AudioMemory(256);
test_sine.amplitude(0);
test_sine.frequency(200);
}
void loop() {
}