Hi :
We use the TAS5717 as the Audio DSP & AMP, and there has the noise (sound like the current noise, fix frequency), the earphone and speaker both have.
The attachment is the schematic and register map, pls take a review them have any wrong or not.
The below is the method that we have been verify and no any effect:
1. Use the external power to supply the power of AVDD(Pin 8 & 13);
2. Change the capacitor C31 from 0.1uF to 1uF;
3. Cut the data line of I2S input, no any effect, but if cut the Bclk of I2S input, earphone will be works well without noise;
4. I2S configure: 32bit, LRCLK: 48K; Bclk: 3.072MHz, MCLK: 24.576MHz;
5. below the pic is the waveform when don't has the noise, test point : nearly the earphone jack, after CE19.
6. below the pic is the waveform when has the noise, test point : nearly the earphone jack, after CE19.
{1B,00} {46,00,02,00,03} {1B,00} {03,80} {11,B8} {12,60} {13,A0} {14,48} {1C,07} {0A,30} {0E,F1} {50,0F,70,80,10} {25,01,02,13,45} {70,00,80,00,00} {71,00,00,00,00} {74,00,80,00,00} {75,00,00,00,00} {46,00,02,06,23} {05,40} {56,00,40,00,00} {57,00,02,00,00} {07,03,FF} {40,0D,48,00,00,09,09,FF,FF} {07,03,FF} {07,03,FF} {3B,00,20,00,00,00,40,00,00} {07,03,FF} {07,03,FF} {3C,00,00,10,00,FF,FF,FF,FD} {07,03,FF} {07,03,FF} {43,0D,48,00,00,04,38,87,4E} {07,03,FF} {07,03,FF} {3E,00,00,10,00,00,7F,FF,00} {07,03,FF} {07,03,FF} {3F,00,00,10,00,FF,FF,FF,FD} {07,03,FF} {51,00,80,00,00,00,00,00,00} {52,00,80,00,00,00,00,00,00} {58,00,7C,7E,7B,0F,07,03,0A,00,7C,7E,7B,00,F8,E4,62,0F,86,EA,75} {59,00,7C,7E,7B,0F,07,03,0A,00,7C,7E,7B,00,F8,E4,62,0F,86,EA,75} {5A,00,00,0C,4A,00,00,18,94,00,00,0C,4A,00,F8,E4,62,0F,86,EA,75} {5B,00,00,0C,4A,00,00,18,94,00,00,0C,4A,00,F8,E4,62,0F,86,EA,75} {26,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {30,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {73,00,80,00,00} {72,00,80,00,00} {76,00,80,00,00} {77,00,80,00,00} {4F,00,00,00,06} {6A,00,0C,CC,CC,00,73,33,34} {27,00,7F,A2,BC,0F,00,BA,87,00,7F,A2,BC,00,FF,44,4A,0F,80,B9,58} {28,00,80,1E,2C,0F,01,4C,B4,00,7E,A1,B2,00,FE,B3,4C,0F,81,40,22} {29,00,7E,C2,5B,0F,0C,D1,59,00,75,2C,CC,00,F3,2E,A7,0F,8C,10,D8} {2A,00,80,27,B2,0F,00,C4,FD,00,7F,17,D9,00,FF,3B,03,0F,80,C0,75} {2B,00,75,BC,60,00,00,00,00,00,43,F9,8E,00,00,00,00,0F,C6,4A,11} {2C,00,82,22,AE,0F,63,BB,31,00,5A,DC,A9,00,9C,44,CF,0F,A3,00,A8} {2D,00,7D,89,68,0F,24,44,99,00,6A,82,8F,00,DB,BB,67,0F,97,F4,09} {2E,00,7F,D2,3E,0F,00,EC,2E,00,7F,5C,AA,00,FF,13,D2,0F,80,D1,18} {2F,00,7F,1C,B1,0F,02,79,88,00,7E,6A,47,00,FD,86,78,0F,82,79,08} {31,00,7F,A2,BC,0F,00,BA,87,00,7F,A2,BC,00,FF,44,4A,0F,80,B9,58} {32,00,80,1E,2C,0F,01,4C,B4,00,7E,A1,B2,00,FE,B3,4C,0F,81,40,22} {33,00,7E,C2,5B,0F,0C,D1,59,00,75,2C,CC,00,F3,2E,A7,0F,8C,10,D8} {34,00,80,27,B2,0F,00,C4,FD,00,7F,17,D9,00,FF,3B,03,0F,80,C0,75} {35,00,75,BC,60,00,00,00,00,00,43,F9,8E,00,00,00,00,0F,C6,4A,11} {36,00,82,22,AE,0F,63,BB,31,00,5A,DC,A9,00,9C,44,CF,0F,A3,00,A8} {37,00,7D,89,68,0F,24,44,99,00,6A,82,8F,00,DB,BB,67,0F,97,F4,09} {38,00,7F,D2,3E,0F,00,EC,2E,00,7F,5C,AA,00,FF,13,D2,0F,80,D1,18} {39,00,7F,1C,B1,0F,02,79,88,00,7E,6A,47,00,FD,86,78,0F,82,79,08} {07,03,FF} {58,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {59,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {5A,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {5B,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {5C,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {5D,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {5E,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {5F,00,80,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00,00} {51,00,00,00,00,00,80,00,00} {52,00,00,00,00,00,80,00,00} {11,AC} {12,54} {13,AC} {14,54} {3E,00,08,00,00,ff,f8,00,00} {3F,00,00,88,40,ff,ff,fc,96} {3B,00,08,00,00,ff,f8,00,00} {43,06,E4,00,00} {07,00,48} {05,00}